#8F2D9E#8F2D9E

#8F2D9E is a mid, vivid purple. Relative luminance 0.102; OKLCH L 49.1% C 0.188 H 322.1°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#8F2D9E
RGBrgb(143, 45, 158)
HSLhsl(292, 56%, 40%)
HSVhsv(292, 72%, 62%)
CMYKcmyk(9.5%, 71.5%, 0%, 38%)
CIE-LABlab(38.17, 55.93, -41.39)
CIE-LCHlch(38.17, 69.58, 323.49°)
OKLaboklab(49.14% 0.1483 -0.1156)
OKLCHoklch(49.14% 0.188 322.1)
XYZxyz(18.4370, 10.1861, 33.3361)
Luminance0.1018 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2D9E #3C9E2D
analogous
#562D9E #8F2D9E #9E2D75
triadic
#8F2D9E #9E8F2D #2D9E8F
tetradic
#8F2D9E #9E562D #3C9E2D #2D759E
square
#8F2D9E #9E562D #3C9E2D #2D759E
split-complementary
#8F2D9E #759E2D #2D9E56
monochromatic
#39123F #641F6E #8F2D9E #B640C9 #C86FD6

Accessibility & contrast

On white

6.91
#8F2D9E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#8F2D9E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F2D9E
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2D9E#FFFFFF#000000##FFFFFF
##8F2D9E1.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A1
Deuteranopia (green-blind)
#3C5E9B
Tritanopia (blue-blind)
#914162
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8f2d9e;
/* rgb */ color: rgb(143, 45, 158);
/* oklch */ color: oklch(49.1% 0.188 322.1);
Tailwind
colors: {
  custom: {
    50: '#b36fbb',
    500: '#8f2d9e',
    950: '#000000',
  },
}
SCSS
$custom: #8f2d9e;
$custom-light: #b36fbb;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2d9e",
  "rgb": {
    "r": 143,
    "g": 45,
    "b": 158
  },
  "hsl": {
    "h": 292.035,
    "s": 55.665,
    "l": 39.804
  },
  "oklch": {
    "l": 0.49142,
    "c": 0.188,
    "h": 322.1
  },
  "luminance": 0.10185
}

Semantic roles & 50–950 ramp

primary
#8F2D9E
secondary
#75BD69
accent
#DF495D
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8F2D9E

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

Preview Lab → · Contrast checker → · Palette generator →

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