#8F2E99#8F2E99

#8F2E99 is a mid, vivid purple. Relative luminance 0.101; OKLCH L 48.9% C 0.182 H 323.9°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#8F2E99
RGBrgb(143, 46, 153)
HSLhsl(294, 54%, 39%)
HSVhsv(294, 70%, 60%)
CMYKcmyk(6.5%, 69.9%, 0%, 40%)
CIE-LABlab(38.01, 54.61, -38.63)
CIE-LCHlch(38.01, 66.89, 324.72°)
OKLaboklab(48.93% 0.1473 -0.1076)
OKLCHoklch(48.93% 0.182 323.9)
XYZxyz(18.0539, 10.0946, 31.1283)
Luminance0.1009 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2E99 #38992E
analogous
#5A2E99 #8F2E99 #992E6E
triadic
#8F2E99 #998F2E #2E998F
tetradic
#8F2E99 #995A2E #38992E #2E6E99
square
#8F2E99 #995A2E #38992E #2E6E99
split-complementary
#8F2E99 #6E992E #2E995A
monochromatic
#37123B #63206A #8F2E99 #B93FC5 #CA6ED3

Accessibility & contrast

On white

6.96
#8F2E99 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#8F2E99 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F2E99
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2E99#FFFFFF#000000##FFFFFF
##8F2E991.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#10529C
Deuteranopia (green-blind)
#405D96
Tritanopia (blue-blind)
#924060
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8f2e99;
/* rgb */ color: rgb(143, 46, 153);
/* oklch */ color: oklch(48.9% 0.182 323.9);
Tailwind
colors: {
  custom: {
    50: '#b370b7',
    500: '#8f2e99',
    950: '#000000',
  },
}
SCSS
$custom: #8f2e99;
$custom-light: #b370b7;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2e99",
  "rgb": {
    "r": 143,
    "g": 46,
    "b": 153
  },
  "hsl": {
    "h": 294.393,
    "s": 53.769,
    "l": 39.02
  },
  "oklch": {
    "l": 0.48929,
    "c": 0.18242,
    "h": 323.9
  },
  "luminance": 0.10094
}

Semantic roles & 50–950 ramp

primary
#8F2E99
secondary
#70BB68
accent
#DD4B58
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8F2E99

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

Preview Lab → · Contrast checker → · Palette generator →

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