#8F2EAA#8F2EAA

#8F2EAA is a mid, vivid purple. Relative luminance 0.107; OKLCH L 50.0% C 0.197 H 317.8°. Best body text is #FFFFFF at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#8F2EAA
RGBrgb(143, 46, 170)
HSLhsl(287, 57%, 42%)
HSVhsv(287, 73%, 67%)
CMYKcmyk(15.9%, 72.9%, 0%, 33.3%)
CIE-LABlab(39.06, 57.85, -47.17)
CIE-LCHlch(39.06, 74.64, 320.81°)
OKLaboklab(50.02% 0.1464 -0.1325)
OKLCHoklch(50.02% 0.197 317.8)
XYZxyz(19.5594, 10.6968, 39.0568)
Luminance0.1070 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2EAA #49AA2E
analogous
#512EAA #8F2EAA #AA2E87
triadic
#8F2EAA #AA8F2E #2EAA8F
tetradic
#8F2EAA #AA512E #49AA2E #2E87AA
square
#8F2EAA #AA512E #49AA2E #2E87AA
split-complementary
#8F2EAA #87AA2E #2EAA51
monochromatic
#3E144A #66217A #8F2EAA #B048CD #C578DA

Accessibility & contrast

On white

6.69
#8F2EAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#8F2EAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F2EAA
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2EAA#FFFFFF#000000##FFFFFF
##8F2EAA1.006.693.146.69
#FFFFFF6.691.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056AD
Deuteranopia (green-blind)
#335FA7
Tritanopia (blue-blind)
#8E4769
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8f2eaa;
/* rgb */ color: rgb(143, 46, 170);
/* oklch */ color: oklch(50.0% 0.197 317.8);
Tailwind
colors: {
  custom: {
    50: '#b470c4',
    500: '#8f2eaa',
    950: '#000000',
  },
}
SCSS
$custom: #8f2eaa;
$custom-light: #b470c4;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2eaa",
  "rgb": {
    "r": 143,
    "g": 46,
    "b": 170
  },
  "hsl": {
    "h": 286.935,
    "s": 57.407,
    "l": 42.353
  },
  "oklch": {
    "l": 0.5002,
    "c": 0.19746,
    "h": 317.8
  },
  "luminance": 0.10696
}

Semantic roles & 50–950 ramp

primary
#8F2EAA
secondary
#83C371
accent
#E14769
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8F2EAA

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

Preview Lab → · Contrast checker → · Palette generator →

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