#8F2E9E#8F2E9E

#8F2E9E is a mid, vivid purple. Relative luminance 0.103; OKLCH L 49.2% C 0.187 H 322.0°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#8F2E9E
RGBrgb(143, 46, 158)
HSLhsl(292, 55%, 40%)
HSVhsv(292, 71%, 62%)
CMYKcmyk(9.5%, 70.9%, 0%, 38%)
CIE-LABlab(38.31, 55.54, -41.18)
CIE-LCHlch(38.31, 69.14, 323.45°)
OKLaboklab(49.24% 0.1472 -0.115)
OKLCHoklch(49.24% 0.187 322)
XYZxyz(18.4756, 10.2633, 33.3490)
Luminance0.1026 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2E9E #3D9E2E
analogous
#572E9E #8F2E9E #9E2E75
triadic
#8F2E9E #9E8F2E #2E9E8F
tetradic
#8F2E9E #9E572E #3D9E2E #2E759E
square
#8F2E9E #9E572E #3D9E2E #2E759E
split-complementary
#8F2E9E #759E2E #2E9E57
monochromatic
#39123F #64206F #8F2E9E #B641C8 #C871D6

Accessibility & contrast

On white

6.88
#8F2E9E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#8F2E9E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F2E9E
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2E9E#FFFFFF#000000##FFFFFF
##8F2E9E1.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0253A1
Deuteranopia (green-blind)
#3D5E9B
Tritanopia (blue-blind)
#914263
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8f2e9e;
/* rgb */ color: rgb(143, 46, 158);
/* oklch */ color: oklch(49.2% 0.187 322.0);
Tailwind
colors: {
  custom: {
    50: '#b370bb',
    500: '#8f2e9e',
    950: '#000000',
  },
}
SCSS
$custom: #8f2e9e;
$custom-light: #b370bb;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2e9e",
  "rgb": {
    "r": 143,
    "g": 46,
    "b": 158
  },
  "hsl": {
    "h": 291.964,
    "s": 54.902,
    "l": 40
  },
  "oklch": {
    "l": 0.4924,
    "c": 0.18678,
    "h": 322
  },
  "luminance": 0.10262
}

Semantic roles & 50–950 ramp

primary
#8F2E9E
secondary
#76BD6B
accent
#DE4A5D
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8F2E9E

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

Preview Lab → · Contrast checker → · Palette generator →

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