#8E209C#8E209C

#8E209C is a mid, vivid purple. Relative luminance 0.092; OKLCH L 47.8% C 0.200 H 322.8°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#8E209C
RGBrgb(142, 32, 156)
HSLhsl(293, 66%, 37%)
HSVhsv(293, 79%, 61%)
CMYKcmyk(9%, 79.5%, 0%, 38.8%)
CIE-LABlab(36.34, 59.78, -43.13)
CIE-LCHlch(36.34, 73.72, 324.19°)
OKLaboklab(47.76% 0.1592 -0.1206)
OKLCHoklch(47.76% 0.2 322.8)
XYZxyz(17.6720, 9.1852, 32.2881)
Luminance0.0918 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E209C #2E9C20
analogous
#50209C #8E209C #9C206C
triadic
#8E209C #9C8E20 #209C8E
tetradic
#8E209C #9C5020 #2E9C20 #206C9C
square
#8E209C #9C5020 #2E9C20 #206C9C
split-complementary
#8E209C #6C9C20 #209C50
monochromatic
#320B36 #601669 #8E209C #BC2ACF #CE59DD

Accessibility & contrast

On white

7.40
#8E209C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#8E209C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E209C
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E209C#FFFFFF#000000##FFFFFF
##8E209C1.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E9F
Deuteranopia (green-blind)
#355A99
Tritanopia (blue-blind)
#90395E
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8e209c;
/* rgb */ color: rgb(142, 32, 156);
/* oklch */ color: oklch(47.8% 0.200 322.8);
Tailwind
colors: {
  custom: {
    50: '#b36aba',
    500: '#8e209c',
    950: '#000000',
  },
}
SCSS
$custom: #8e209c;
$custom-light: #b36aba;
$custom-dark: #000000;
JSON
{
  "hex": "#8e209c",
  "rgb": {
    "r": 142,
    "g": 32,
    "b": 156
  },
  "hsl": {
    "h": 293.226,
    "s": 65.957,
    "l": 36.863
  },
  "oklch": {
    "l": 0.47764,
    "c": 0.19974,
    "h": 322.8
  },
  "luminance": 0.09184
}

Semantic roles & 50–950 ramp

primary
#8E209C
secondary
#63C157
accent
#E93F52
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110712
muted
#807A81

Preview Lab

Preview with #8E209C

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#8E209C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva