#8A42E2

A medium, vivid purple closely aligning with Darkorchid.

About #8A42E2

When working with digital screens, the color #8A42E2 is rendered by mixing light. It is closely associated with the named CSS color Darkorchid. To achieve this exact tint on a monitor, you would use an RGB mix of 138, 66, and 226.

While screens use RGB, printing presses rely on Cyan, Magenta, Yellow, and Key (black). The color uses 39% Cyan, 71% Magenta, 0% Yellow, and 11% Black. This makes it a relatively light color when applied to physical surfaces.

Ensuring your text is legible against this background is a key part of web design. Because it is a medium color, it is generally recommended to use #FFFFFF text. You can view the detailed AAA and AA pass/fail metrics in the table below.

Color Space Conversions

HEX#8A42E2
RGB138, 66, 226
HSL267.0°, 73.4%, 57.3%
CMYK39%, 71%, 0%, 11%
HSV267.0°, 70.8%, 88.6%
LAB45.3, 60.8, -69.6
XYZ26.2, 14.8, 73.4
Decimal9061090

Color Harmonies

Complementary

Analogous

Triadic

Tints, Shades & Tones

Tints (Adding White)

Shades (Adding Black)

WCAG Contrast Accessibility

5.31:1
Text on #FFFFFF
AA
3.96:1
Text on #000000
AA Large
5.07:1
Text on #F8FAFC
AA
3.36:1
Text on #0F172A
AA Large

CSS Implementation

.bg-color { background-color: #8A42E2; }
.text-color { color: #8A42E2; }
.border-color { border: 2px solid #8A42E2; }

Similar Colors

Darkorchid
#9932CC