#8F2E97#8F2E97

#8F2E97 is a mid, vivid purple. Relative luminance 0.100; OKLCH L 48.8% C 0.181 H 324.6°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#8F2E97
RGBrgb(143, 46, 151)
HSLhsl(295, 53%, 39%)
HSVhsv(295, 70%, 59%)
CMYKcmyk(5.3%, 69.5%, 0%, 40.8%)
CIE-LABlab(37.89, 54.24, -37.60)
CIE-LCHlch(37.89, 66.00, 325.27°)
OKLaboklab(48.81% 0.1474 -0.1046)
OKLCHoklch(48.81% 0.181 324.6)
XYZxyz(17.8902, 10.0291, 30.2657)
Luminance0.1003 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2E97 #36972E
analogous
#5A2E97 #8F2E97 #972E6A
triadic
#8F2E97 #978F2E #2E978F
tetradic
#8F2E97 #975A2E #36972E #2E6A97
square
#8F2E97 #975A2E #36972E #2E6A97
split-complementary
#8F2E97 #6A972E #2E975A
monochromatic
#361139 #632068 #8F2E97 #BA3EC4 #CB6DD2

Accessibility & contrast

On white

6.99
#8F2E97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#8F2E97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F2E97
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2E97#FFFFFF#000000##FFFFFF
##8F2E971.006.993.016.99
#FFFFFF6.991.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#14529A
Deuteranopia (green-blind)
#425D94
Tritanopia (blue-blind)
#923F5F
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8f2e97;
/* rgb */ color: rgb(143, 46, 151);
/* oklch */ color: oklch(48.8% 0.181 324.6);
Tailwind
colors: {
  custom: {
    50: '#b370b6',
    500: '#8f2e97',
    950: '#000000',
  },
}
SCSS
$custom: #8f2e97;
$custom-light: #b370b6;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2e97",
  "rgb": {
    "r": 143,
    "g": 46,
    "b": 151
  },
  "hsl": {
    "h": 295.429,
    "s": 53.299,
    "l": 38.627
  },
  "oklch": {
    "l": 0.48807,
    "c": 0.18068,
    "h": 324.6
  },
  "luminance": 0.10028
}

Semantic roles & 50–950 ramp

primary
#8F2E97
secondary
#6DBA67
accent
#DD4B56
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8F2E97

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

Preview Lab → · Contrast checker → · Palette generator →

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