#8F2B9A#8F2B9A

#8F2B9A is a mid, vivid purple. Relative luminance 0.099; OKLCH L 48.7% C 0.187 H 323.6°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#8F2B9A
RGBrgb(143, 43, 154)
HSLhsl(294, 56%, 39%)
HSVhsv(294, 72%, 60%)
CMYKcmyk(7.1%, 72.1%, 0%, 39.6%)
CIE-LABlab(37.67, 55.94, -39.79)
CIE-LCHlch(37.67, 68.65, 324.58°)
OKLaboklab(48.7% 0.1505 -0.1109)
OKLCHoklch(48.7% 0.187 323.6)
XYZxyz(18.0238, 9.9016, 31.5274)
Luminance0.0990 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2B9A #369A2B
analogous
#572B9A #8F2B9A #9A2B6D
triadic
#8F2B9A #9A8F2B #2B9A8F
tetradic
#8F2B9A #9A572B #369A2B #2B6D9A
square
#8F2B9A #9A572B #369A2B #2B6D9A
split-complementary
#8F2B9A #6D9A2B #2B9A57
monochromatic
#36103A #631E6A #8F2B9A #BA3AC8 #CB6AD5

Accessibility & contrast

On white

7.05
#8F2B9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#8F2B9A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F2B9A
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2B9A#FFFFFF#000000##FFFFFF
##8F2B9A1.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#03519D
Deuteranopia (green-blind)
#3E5D97
Tritanopia (blue-blind)
#913E60
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8f2b9a;
/* rgb */ color: rgb(143, 43, 154);
/* oklch */ color: oklch(48.7% 0.187 323.6);
Tailwind
colors: {
  custom: {
    50: '#b36eb8',
    500: '#8f2b9a',
    950: '#000000',
  },
}
SCSS
$custom: #8f2b9a;
$custom-light: #b36eb8;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2b9a",
  "rgb": {
    "r": 143,
    "g": 43,
    "b": 154
  },
  "hsl": {
    "h": 294.054,
    "s": 56.345,
    "l": 38.627
  },
  "oklch": {
    "l": 0.487,
    "c": 0.18692,
    "h": 323.6
  },
  "luminance": 0.099
}

Semantic roles & 50–950 ramp

primary
#8F2B9A
secondary
#6DBC65
accent
#E04857
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8F2B9A

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

Preview Lab → · Contrast checker → · Palette generator →

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