#8F2EAE#8F2EAE

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

Color values

HEX#8F2EAE
RGBrgb(143, 46, 174)
HSLhsl(285, 58%, 43%)
HSVhsv(285, 74%, 68%)
CMYKcmyk(17.8%, 73.6%, 0%, 31.8%)
CIE-LABlab(39.33, 58.63, -49.13)
CIE-LCHlch(39.33, 76.49, 320.04°)
OKLaboklab(50.29% 0.146 -0.1383)
OKLCHoklch(50.29% 0.201 316.6)
XYZxyz(19.9435, 10.8504, 41.0800)
Luminance0.1085 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2EAE #4DAE2E
analogous
#4F2EAE #8F2EAE #AE2E8D
triadic
#8F2EAE #AE8F2E #2EAE8F
tetradic
#8F2EAE #AE4F2E #4DAE2E #2E8DAE
square
#8F2EAE #AE4F2E #4DAE2E #2E8DAE
split-complementary
#8F2EAE #8DAE2E #2EAE4F
monochromatic
#3F144D #67217E #8F2EAE #AF4ACF #C47ADC

Accessibility & contrast

On white

6.62
#8F2EAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#8F2EAE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F2EAE
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2EAE#FFFFFF#000000##FFFFFF
##8F2EAE1.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B2
Deuteranopia (green-blind)
#2F5FAB
Tritanopia (blue-blind)
#8D496C
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #8f2eae;
/* rgb */ color: rgb(143, 46, 174);
/* oklch */ color: oklch(50.3% 0.201 316.6);
Tailwind
colors: {
  custom: {
    50: '#b470c7',
    500: '#8f2eae',
    950: '#000000',
  },
}
SCSS
$custom: #8f2eae;
$custom-light: #b470c7;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2eae",
  "rgb": {
    "r": 143,
    "g": 46,
    "b": 174
  },
  "hsl": {
    "h": 285.469,
    "s": 58.182,
    "l": 43.137
  },
  "oklch": {
    "l": 0.5029,
    "c": 0.20106,
    "h": 316.6
  },
  "luminance": 0.1085
}

Semantic roles & 50–950 ramp

primary
#8F2EAE
secondary
#87C474
accent
#E1466C
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #8F2EAE

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

Preview Lab → · Contrast checker → · Palette generator →

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