#8F2B9D#8F2B9D

#8F2B9D is a mid, vivid purple. Relative luminance 0.100; OKLCH L 48.9% C 0.189 H 322.5°. Best body text is #FFFFFF at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#8F2B9D
RGBrgb(143, 43, 157)
HSLhsl(293, 57%, 39%)
HSVhsv(293, 73%, 62%)
CMYKcmyk(8.9%, 72.6%, 0%, 38.4%)
CIE-LABlab(37.85, 56.50, -41.31)
CIE-LCHlch(37.85, 69.99, 323.82°)
OKLaboklab(48.89% 0.1503 -0.1154)
OKLCHoklch(48.89% 0.189 322.5)
XYZxyz(18.2768, 10.0028, 32.8598)
Luminance0.1000 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2B9D #399D2B
analogous
#562B9D #8F2B9D #9D2B72
triadic
#8F2B9D #9D8F2B #2B9D8F
tetradic
#8F2B9D #9D562B #399D2B #2B729D
square
#8F2B9D #9D562B #399D2B #2B729D
split-complementary
#8F2B9D #729D2B #2B9D56
monochromatic
#37113D #631E6D #8F2B9D #B83CCA #CA6CD7

Accessibility & contrast

On white

7.00
#8F2B9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#8F2B9D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F2B9D
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2B9D#FFFFFF#000000##FFFFFF
##8F2B9D1.007.003.007.00
#FFFFFF7.001.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A0
Deuteranopia (green-blind)
#3C5D9A
Tritanopia (blue-blind)
#914061
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8f2b9d;
/* rgb */ color: rgb(143, 43, 157);
/* oklch */ color: oklch(48.9% 0.189 322.5);
Tailwind
colors: {
  custom: {
    50: '#b36eba',
    500: '#8f2b9d',
    950: '#000000',
  },
}
SCSS
$custom: #8f2b9d;
$custom-light: #b36eba;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2b9d",
  "rgb": {
    "r": 143,
    "g": 43,
    "b": 157
  },
  "hsl": {
    "h": 292.632,
    "s": 57,
    "l": 39.216
  },
  "oklch": {
    "l": 0.48889,
    "c": 0.18949,
    "h": 322.5
  },
  "luminance": 0.10002
}

Semantic roles & 50–950 ramp

primary
#8F2B9D
secondary
#71BD66
accent
#E0485A
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8F2B9D

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

Preview Lab → · Contrast checker → · Palette generator →

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