#8F2D9B#8F2D9B

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

Color values

HEX#8F2D9B
RGBrgb(143, 45, 155)
HSLhsl(293, 55%, 39%)
HSVhsv(293, 71%, 61%)
CMYKcmyk(7.7%, 71%, 0%, 39.2%)
CIE-LABlab(37.99, 55.37, -39.87)
CIE-LCHlch(37.99, 68.23, 324.24°)
OKLaboklab(48.95% 0.1484 -0.1112)
OKLCHoklch(48.95% 0.185 323.2)
XYZxyz(18.1819, 10.0840, 31.9927)
Luminance0.1008 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2D9B #399B2D
analogous
#582D9B #8F2D9B #9B2D70
triadic
#8F2D9B #9B8F2D #2D9B8F
tetradic
#8F2D9B #9B582D #399B2D #2D709B
square
#8F2D9B #9B582D #399B2D #2D709B
split-complementary
#8F2D9B #709B2D #2D9B58
monochromatic
#37113C #631F6C #8F2D9B #B83EC7 #CA6ED5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8F2D9B#FFFFFF#000000##FFFFFF
##8F2D9B1.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)
#08529E
Deuteranopia (green-blind)
#3E5D98
Tritanopia (blue-blind)
#914061
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8f2d9b;
/* rgb */ color: rgb(143, 45, 155);
/* oklch */ color: oklch(49.0% 0.185 323.2);
Tailwind
colors: {
  custom: {
    50: '#b36fb9',
    500: '#8f2d9b',
    950: '#000000',
  },
}
SCSS
$custom: #8f2d9b;
$custom-light: #b36fb9;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2d9b",
  "rgb": {
    "r": 143,
    "g": 45,
    "b": 155
  },
  "hsl": {
    "h": 293.455,
    "s": 55,
    "l": 39.216
  },
  "oklch": {
    "l": 0.48954,
    "c": 0.18538,
    "h": 323.2
  },
  "luminance": 0.10083
}

Semantic roles & 50–950 ramp

primary
#8F2D9B
secondary
#71BC68
accent
#DE495A
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8F2D9B

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

Preview Lab → · Contrast checker → · Palette generator →

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