#8F2696#8F2696

#8F2696 is a mid, vivid purple. Relative luminance 0.094; OKLCH L 48.0% C 0.189 H 325.3°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#8F2696
RGBrgb(143, 38, 150)
HSLhsl(296, 60%, 37%)
HSVhsv(296, 75%, 59%)
CMYKcmyk(4.7%, 74.7%, 0%, 41.2%)
CIE-LABlab(36.80, 57.01, -38.74)
CIE-LCHlch(36.80, 68.93, 325.80°)
OKLaboklab(48% 0.1555 -0.1078)
OKLCHoklch(48% 0.189 325.3)
XYZxyz(17.5254, 9.4290, 29.7452)
Luminance0.0943 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2696 #2D9626
analogous
#572696 #8F2696 #962665
triadic
#8F2696 #968F26 #26968F
tetradic
#8F2696 #965726 #2D9626 #266596
square
#8F2696 #965726 #2D9626 #266596
split-complementary
#8F2696 #659626 #269657
monochromatic
#320D34 #601A65 #8F2696 #BE32C7 #CF60D7

Accessibility & contrast

On white

7.28
#8F2696 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#8F2696 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F2696
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2696#FFFFFF#000000##FFFFFF
##8F26961.007.282.897.28
#FFFFFF7.281.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E99
Deuteranopia (green-blind)
#3E5B93
Tritanopia (blue-blind)
#92395C
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8f2696;
/* rgb */ color: rgb(143, 38, 150);
/* oklch */ color: oklch(48.0% 0.189 325.3);
Tailwind
colors: {
  custom: {
    50: '#b36cb5',
    500: '#8f2696',
    950: '#000000',
  },
}
SCSS
$custom: #8f2696;
$custom-light: #b36cb5;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2696",
  "rgb": {
    "r": 143,
    "g": 38,
    "b": 150
  },
  "hsl": {
    "h": 296.25,
    "s": 59.574,
    "l": 36.863
  },
  "oklch": {
    "l": 0.48003,
    "c": 0.18925,
    "h": 325.3
  },
  "luminance": 0.09428
}

Semantic roles & 50–950 ramp

primary
#8F2696
secondary
#62BC5C
accent
#E3454F
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #8F2696

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

Preview Lab → · Contrast checker → · Palette generator →

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