#8F2DA2#8F2DA2

#8F2DA2 is a mid, vivid purple. Relative luminance 0.103; OKLCH L 49.4% C 0.192 H 320.6°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#8F2DA2
RGBrgb(143, 45, 162)
HSLhsl(290, 57%, 41%)
HSVhsv(290, 72%, 64%)
CMYKcmyk(11.7%, 72.2%, 0%, 36.5%)
CIE-LABlab(38.42, 56.68, -43.41)
CIE-LCHlch(38.42, 71.39, 322.56°)
OKLaboklab(49.4% 0.148 -0.1215)
OKLCHoklch(49.4% 0.192 320.6)
XYZxyz(18.7869, 10.3260, 35.1790)
Luminance0.1032 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2DA2 #40A22D
analogous
#542DA2 #8F2DA2 #A22D7B
triadic
#8F2DA2 #A28F2D #2DA28F
tetradic
#8F2DA2 #A2542D #40A22D #2D7BA2
square
#8F2DA2 #A2542D #40A22D #2D7BA2
split-complementary
#8F2DA2 #7BA22D #2DA254
monochromatic
#3A1242 #652072 #8F2DA2 #B442CA #C772D8

Accessibility & contrast

On white

6.85
#8F2DA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8F2DA2
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2DA2#FFFFFF#000000##FFFFFF
##8F2DA21.006.853.076.85
#FFFFFF6.851.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054A5
Deuteranopia (green-blind)
#395E9F
Tritanopia (blue-blind)
#904365
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8f2da2;
/* rgb */ color: rgb(143, 45, 162);
/* oklch */ color: oklch(49.4% 0.192 320.6);
Tailwind
colors: {
  custom: {
    50: '#b36fbe',
    500: '#8f2da2',
    950: '#000000',
  },
}
SCSS
$custom: #8f2da2;
$custom-light: #b36fbe;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2da2",
  "rgb": {
    "r": 143,
    "g": 45,
    "b": 162
  },
  "hsl": {
    "h": 290.256,
    "s": 56.522,
    "l": 40.588
  },
  "oklch": {
    "l": 0.49398,
    "c": 0.19151,
    "h": 320.6
  },
  "luminance": 0.10325
}

Semantic roles & 50–950 ramp

primary
#8F2DA2
secondary
#79BF6C
accent
#E04861
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8F2DA2

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

Preview Lab → · Contrast checker → · Palette generator →

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