#8E1985#8E1985

#8E1985 is a mid, vivid purple. Relative luminance 0.081; OKLCH L 45.9% C 0.188 H 331.8°. Best body text is #FFFFFF at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#8E1985
RGBrgb(142, 25, 133)
HSLhsl(305, 70%, 33%)
HSVhsv(305, 82%, 56%)
CMYKcmyk(0%, 82.4%, 6.3%, 44.3%)
CIE-LABlab(34.27, 57.85, -32.31)
CIE-LCHlch(34.27, 66.26, 330.82°)
OKLaboklab(45.85% 0.1658 -0.0891)
OKLCHoklch(45.85% 0.188 331.8)
XYZxyz(15.7366, 8.1408, 22.9283)
Luminance0.0814 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1985 #198E22
analogous
#5C198E #8E1985 #8E194B
triadic
#8E1985 #858E19 #19858E
tetradic
#8E1985 #8E5C19 #198E22 #194B8E
square
#8E1985 #8E5C19 #198E22 #194B8E
split-complementary
#8E1985 #4B8E19 #198E5C
monochromatic
#260724 #5A1054 #8E1985 #C222B6 #DE43D2

Accessibility & contrast

On white

7.99
#8E1985 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#8E1985 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1985
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1985#FFFFFF#000000##FFFFFF
##8E19851.007.992.637.99
#FFFFFF7.991.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B4688
Deuteranopia (green-blind)
#425682
Tritanopia (blue-blind)
#942950
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8e1985;
/* rgb */ color: rgb(142, 25, 133);
/* oklch */ color: oklch(45.9% 0.188 331.8);
Tailwind
colors: {
  custom: {
    50: '#b366a9',
    500: '#8e1985',
    950: '#000000',
  },
}
SCSS
$custom: #8e1985;
$custom-light: #b366a9;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1985",
  "rgb": {
    "r": 142,
    "g": 25,
    "b": 133
  },
  "hsl": {
    "h": 304.615,
    "s": 70.06,
    "l": 32.745
  },
  "oklch": {
    "l": 0.4585,
    "c": 0.18821,
    "h": 331.8
  },
  "luminance": 0.08139
}

Semantic roles & 50–950 ramp

primary
#8E1985
secondary
#44BF4D
accent
#ED493B
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8E1985

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

Preview Lab → · Contrast checker → · Palette generator →

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