#8F2EAD#8F2EAD

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

Color values

HEX#8F2EAD
RGBrgb(143, 46, 173)
HSLhsl(286, 58%, 43%)
HSVhsv(286, 73%, 68%)
CMYKcmyk(17.3%, 73.4%, 0%, 32.2%)
CIE-LABlab(39.26, 58.44, -48.64)
CIE-LCHlch(39.26, 76.03, 320.23°)
OKLaboklab(50.22% 0.1461 -0.1368)
OKLCHoklch(50.22% 0.2 316.9)
XYZxyz(19.8464, 10.8116, 40.5685)
Luminance0.1081 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2EAD #4CAD2E
analogous
#502EAD #8F2EAD #AD2E8B
triadic
#8F2EAD #AD8F2E #2EAD8F
tetradic
#8F2EAD #AD502E #4CAD2E #2E8BAD
square
#8F2EAD #AD502E #4CAD2E #2E8BAD
split-complementary
#8F2EAD #8BAD2E #2EAD50
monochromatic
#3F144C #67217D #8F2EAD #AF49CF #C47ADC

Accessibility & contrast

On white

6.64
#8F2EAD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#8F2EAD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F2EAD
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2EAD#FFFFFF#000000##FFFFFF
##8F2EAD1.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B1
Deuteranopia (green-blind)
#305FAA
Tritanopia (blue-blind)
#8D486B
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8f2ead;
/* rgb */ color: rgb(143, 46, 173);
/* oklch */ color: oklch(50.2% 0.200 316.9);
Tailwind
colors: {
  custom: {
    50: '#b470c6',
    500: '#8f2ead',
    950: '#000000',
  },
}
SCSS
$custom: #8f2ead;
$custom-light: #b470c6;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2ead",
  "rgb": {
    "r": 143,
    "g": 46,
    "b": 173
  },
  "hsl": {
    "h": 285.827,
    "s": 57.991,
    "l": 42.941
  },
  "oklch": {
    "l": 0.50222,
    "c": 0.20015,
    "h": 316.9
  },
  "luminance": 0.10811
}

Semantic roles & 50–950 ramp

primary
#8F2EAD
secondary
#86C473
accent
#E1476B
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8F2EAD

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

Preview Lab → · Contrast checker → · Palette generator →

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