#8F2DAE#8F2DAE

#8F2DAE is a mid, highly saturated purple. Relative luminance 0.108; OKLCH L 50.2% C 0.202 H 316.6°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#8F2DAE
RGBrgb(143, 45, 174)
HSLhsl(286, 59%, 43%)
HSVhsv(286, 74%, 68%)
CMYKcmyk(17.8%, 74.1%, 0%, 31.8%)
CIE-LABlab(39.20, 59.01, -49.34)
CIE-LCHlch(39.20, 76.92, 320.10°)
OKLaboklab(50.2% 0.1469 -0.1389)
OKLCHoklch(50.2% 0.202 316.6)
XYZxyz(19.9049, 10.7732, 41.0671)
Luminance0.1077 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2DAE #4CAE2D
analogous
#4E2DAE #8F2DAE #AE2D8D
triadic
#8F2DAE #AE8F2D #2DAE8F
tetradic
#8F2DAE #AE4E2D #4CAE2D #2D8DAE
square
#8F2DAE #AE4E2D #4CAE2D #2D8DAE
split-complementary
#8F2DAE #8DAE2D #2DAE4E
monochromatic
#3F144D #67207D #8F2DAE #AF48D0 #C479DC

Accessibility & contrast

On white

6.66
#8F2DAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#8F2DAE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F2DAE
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2DAE#FFFFFF#000000##FFFFFF
##8F2DAE1.006.663.156.66
#FFFFFF6.661.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B2
Deuteranopia (green-blind)
#2E5FAB
Tritanopia (blue-blind)
#8D486B
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8f2dae;
/* rgb */ color: rgb(143, 45, 174);
/* oklch */ color: oklch(50.2% 0.202 316.6);
Tailwind
colors: {
  custom: {
    50: '#b470c7',
    500: '#8f2dae',
    950: '#000000',
  },
}
SCSS
$custom: #8f2dae;
$custom-light: #b470c7;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2dae",
  "rgb": {
    "r": 143,
    "g": 45,
    "b": 174
  },
  "hsl": {
    "h": 285.581,
    "s": 58.904,
    "l": 42.941
  },
  "oklch": {
    "l": 0.50197,
    "c": 0.20218,
    "h": 316.6
  },
  "luminance": 0.10772
}

Semantic roles & 50–950 ramp

primary
#8F2DAE
secondary
#86C472
accent
#E2466B
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #8F2DAE

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

Preview Lab → · Contrast checker → · Palette generator →

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