#8F2EA1#8F2EA1

#8F2EA1 is a mid, vivid purple. Relative luminance 0.104; OKLCH L 49.4% C 0.189 H 320.9°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#8F2EA1
RGBrgb(143, 46, 161)
HSLhsl(291, 56%, 41%)
HSVhsv(291, 71%, 63%)
CMYKcmyk(11.2%, 71.4%, 0%, 36.9%)
CIE-LABlab(38.49, 56.11, -42.69)
CIE-LCHlch(38.49, 70.50, 322.74°)
OKLaboklab(49.43% 0.1471 -0.1194)
OKLCHoklch(49.43% 0.189 320.9)
XYZxyz(18.7370, 10.3678, 34.7256)
Luminance0.1037 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2EA1 #40A12E
analogous
#552EA1 #8F2EA1 #A12E79
triadic
#8F2EA1 #A18F2E #2EA18F
tetradic
#8F2EA1 #A1552E #40A12E #2E79A1
square
#8F2EA1 #A1552E #40A12E #2E79A1
split-complementary
#8F2EA1 #79A12E #2EA155
monochromatic
#3A1342 #652071 #8F2EA1 #B443C9 #C773D7

Accessibility & contrast

On white

6.83
#8F2EA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#8F2EA1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F2EA1
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2EA1#FFFFFF#000000##FFFFFF
##8F2EA11.006.833.076.83
#FFFFFF6.831.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054A4
Deuteranopia (green-blind)
#3B5E9E
Tritanopia (blue-blind)
#904364
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8f2ea1;
/* rgb */ color: rgb(143, 46, 161);
/* oklch */ color: oklch(49.4% 0.189 320.9);
Tailwind
colors: {
  custom: {
    50: '#b370bd',
    500: '#8f2ea1',
    950: '#000000',
  },
}
SCSS
$custom: #8f2ea1;
$custom-light: #b370bd;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2ea1",
  "rgb": {
    "r": 143,
    "g": 46,
    "b": 161
  },
  "hsl": {
    "h": 290.609,
    "s": 55.556,
    "l": 40.588
  },
  "oklch": {
    "l": 0.4943,
    "c": 0.18943,
    "h": 320.9
  },
  "luminance": 0.10367
}

Semantic roles & 50–950 ramp

primary
#8F2EA1
secondary
#79BE6C
accent
#DF4960
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8F2EA1

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

Preview Lab → · Contrast checker → · Palette generator →

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