#8F2A93#8F2A93

#8F2A93 is a mid, vivid purple. Relative luminance 0.096; OKLCH L 48.2% C 0.182 H 326.3°. Best body text is #FFFFFF at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#8F2A93
RGBrgb(143, 42, 147)
HSLhsl(298, 56%, 37%)
HSVhsv(298, 71%, 58%)
CMYKcmyk(2.7%, 71.4%, 0%, 42.4%)
CIE-LABlab(37.12, 55.05, -36.40)
CIE-LCHlch(37.12, 66.00, 326.53°)
OKLaboklab(48.18% 0.1516 -0.101)
OKLCHoklch(48.18% 0.182 326.3)
XYZxyz(17.4218, 9.6033, 28.5341)
Luminance0.0960 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2A93 #2E932A
analogous
#5A2A93 #8F2A93 #932A63
triadic
#8F2A93 #938F2A #2A938F
tetradic
#8F2A93 #935A2A #2E932A #2A6393
square
#8F2A93 #935A2A #2E932A #2A6393
split-complementary
#8F2A93 #63932A #2A935A
monochromatic
#320F34 #611C63 #8F2A93 #BD38C3 #CF65D3

Accessibility & contrast

On white

7.19
#8F2A93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#8F2A93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F2A93
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2A93#FFFFFF#000000##FFFFFF
##8F2A931.007.192.927.19
#FFFFFF7.191.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#134F96
Deuteranopia (green-blind)
#425C90
Tritanopia (blue-blind)
#933B5C
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8f2a93;
/* rgb */ color: rgb(143, 42, 147);
/* oklch */ color: oklch(48.2% 0.182 326.3);
Tailwind
colors: {
  custom: {
    50: '#b36eb3',
    500: '#8f2a93',
    950: '#000000',
  },
}
SCSS
$custom: #8f2a93;
$custom-light: #b36eb3;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2a93",
  "rgb": {
    "r": 143,
    "g": 42,
    "b": 147
  },
  "hsl": {
    "h": 297.714,
    "s": 55.556,
    "l": 37.059
  },
  "oklch": {
    "l": 0.48177,
    "c": 0.18219,
    "h": 326.3
  },
  "luminance": 0.09602
}

Semantic roles & 50–950 ramp

primary
#8F2A93
secondary
#63B960
accent
#DF494F
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8F2A93

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

Preview Lab → · Contrast checker → · Palette generator →

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