#8E0F82#8E0F82

#8E0F82 is a mid, vivid purple. Relative luminance 0.077; OKLCH L 45.1% C 0.193 H 333.0°. Best body text is #FFFFFF at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#8E0F82
RGBrgb(142, 15, 130)
HSLhsl(306, 81%, 31%)
HSVhsv(306, 89%, 56%)
CMYKcmyk(0%, 89.4%, 8.5%, 44.3%)
CIE-LABlab(33.36, 59.55, -31.88)
CIE-LCHlch(33.36, 67.55, 331.84°)
OKLaboklab(45.15% 0.1721 -0.0878)
OKLCHoklch(45.15% 0.193 333)
XYZxyz(15.3555, 7.7055, 21.7934)
Luminance0.0770 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E0F82 #0F8E1B
analogous
#5A0F8E #8E0F82 #8E0F42
triadic
#8E0F82 #828E0F #0F828E
tetradic
#8E0F82 #8E5A0F #0F8E1B #0F428E
square
#8E0F82 #8E5A0F #0F8E1B #0F428E
split-complementary
#8E0F82 #428E0F #0F8E5A
monochromatic
#1F031D #57094F #8E0F82 #C515B5 #E92ED7

Accessibility & contrast

On white

8.27
#8E0F82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#8E0F82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E0F82
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E0F82#FFFFFF#000000##FFFFFF
##8E0F821.008.272.548.27
#FFFFFF8.271.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#024385
Deuteranopia (green-blind)
#41547F
Tritanopia (blue-blind)
#95224C
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8e0f82;
/* rgb */ color: rgb(142, 15, 130);
/* oklch */ color: oklch(45.1% 0.193 333.0);
Tailwind
colors: {
  custom: {
    50: '#b363a7',
    500: '#8e0f82',
    950: '#000000',
  },
}
SCSS
$custom: #8e0f82;
$custom-light: #b363a7;
$custom-dark: #000000;
JSON
{
  "hex": "#8e0f82",
  "rgb": {
    "r": 142,
    "g": 15,
    "b": 130
  },
  "hsl": {
    "h": 305.669,
    "s": 80.892,
    "l": 30.784
  },
  "oklch": {
    "l": 0.45146,
    "c": 0.19322,
    "h": 333
  },
  "luminance": 0.07704
}

Semantic roles & 50–950 ramp

primary
#8E0F82
secondary
#36C343
accent
#F74331
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#12060F
muted
#817A7F

Preview Lab

Preview with #8E0F82

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

Preview Lab → · Contrast checker → · Palette generator →

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