#8F2EA0#8F2EA0

#8F2EA0 is a mid, vivid purple. Relative luminance 0.103; OKLCH L 49.4% C 0.189 H 321.3°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#8F2EA0
RGBrgb(143, 46, 160)
HSLhsl(291, 55%, 40%)
HSVhsv(291, 71%, 63%)
CMYKcmyk(10.6%, 71.2%, 0%, 37.3%)
CIE-LABlab(38.43, 55.92, -42.19)
CIE-LCHlch(38.43, 70.05, 322.97°)
OKLaboklab(49.37% 0.1471 -0.1179)
OKLCHoklch(49.37% 0.189 321.3)
XYZxyz(18.6491, 10.3327, 34.2630)
Luminance0.1033 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2EA0 #3FA02E
analogous
#562EA0 #8F2EA0 #A02E78
triadic
#8F2EA0 #A08F2E #2EA08F
tetradic
#8F2EA0 #A0562E #3FA02E #2E78A0
square
#8F2EA0 #A0562E #3FA02E #2E78A0
split-complementary
#8F2EA0 #78A02E #2EA056
monochromatic
#3A1341 #652070 #8F2EA0 #B542C9 #C772D6

Accessibility & contrast

On white

6.85
#8F2EA0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#8F2EA0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F2EA0
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2EA0#FFFFFF#000000##FFFFFF
##8F2EA01.006.853.076.85
#FFFFFF6.851.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054A3
Deuteranopia (green-blind)
#3B5E9D
Tritanopia (blue-blind)
#904364
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8f2ea0;
/* rgb */ color: rgb(143, 46, 160);
/* oklch */ color: oklch(49.4% 0.189 321.3);
Tailwind
colors: {
  custom: {
    50: '#b370bd',
    500: '#8f2ea0',
    950: '#000000',
  },
}
SCSS
$custom: #8f2ea0;
$custom-light: #b370bd;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2ea0",
  "rgb": {
    "r": 143,
    "g": 46,
    "b": 160
  },
  "hsl": {
    "h": 291.053,
    "s": 55.34,
    "l": 40.392
  },
  "oklch": {
    "l": 0.49367,
    "c": 0.18854,
    "h": 321.3
  },
  "luminance": 0.10332
}

Semantic roles & 50–950 ramp

primary
#8F2EA0
secondary
#78BE6C
accent
#DF495F
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8F2EA0

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

Preview Lab → · Contrast checker → · Palette generator →

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