#8F2096#8F2096

#8F2096 is a mid, vivid purple. Relative luminance 0.091; OKLCH L 47.5% C 0.195 H 325.4°. Best body text is #FFFFFF at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#8F2096
RGBrgb(143, 32, 150)
HSLhsl(296, 65%, 36%)
HSVhsv(296, 79%, 59%)
CMYKcmyk(4.7%, 78.7%, 0%, 41.2%)
CIE-LABlab(36.13, 58.93, -39.81)
CIE-LCHlch(36.13, 71.11, 325.96°)
OKLaboklab(47.53% 0.1608 -0.1109)
OKLCHoklch(47.53% 0.195 325.4)
XYZxyz(17.3488, 9.0758, 29.6863)
Luminance0.0907 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2096 #279620
analogous
#542096 #8F2096 #962062
triadic
#8F2096 #968F20 #20968F
tetradic
#8F2096 #965420 #279620 #206296
square
#8F2096 #965420 #279620 #206296
split-complementary
#8F2096 #629620 #209654
monochromatic
#2F0A31 #5F1564 #8F2096 #BF2BC8 #D356DB

Accessibility & contrast

On white

7.46
#8F2096 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#8F2096 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F2096
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2096#FFFFFF#000000##FFFFFF
##8F20961.007.462.817.46
#FFFFFF7.461.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C99
Deuteranopia (green-blind)
#3B5A93
Tritanopia (blue-blind)
#92365B
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8f2096;
/* rgb */ color: rgb(143, 32, 150);
/* oklch */ color: oklch(47.5% 0.195 325.4);
Tailwind
colors: {
  custom: {
    50: '#b46ab5',
    500: '#8f2096',
    950: '#000000',
  },
}
SCSS
$custom: #8f2096;
$custom-light: #b46ab5;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2096",
  "rgb": {
    "r": 143,
    "g": 32,
    "b": 150
  },
  "hsl": {
    "h": 296.441,
    "s": 64.835,
    "l": 35.686
  },
  "oklch": {
    "l": 0.47528,
    "c": 0.19536,
    "h": 325.4
  },
  "luminance": 0.09075
}

Semantic roles & 50–950 ramp

primary
#8F2096
secondary
#5ABE53
accent
#E8404A
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #8F2096

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

Preview Lab → · Contrast checker → · Palette generator →

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