#8F2896#8F2896

#8F2896 is a mid, vivid purple. Relative luminance 0.096; OKLCH L 48.2% C 0.187 H 325.2°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#8F2896
RGBrgb(143, 40, 150)
HSLhsl(296, 58%, 37%)
HSVhsv(296, 73%, 59%)
CMYKcmyk(4.7%, 73.3%, 0%, 41.2%)
CIE-LABlab(37.04, 56.31, -38.35)
CIE-LCHlch(37.04, 68.13, 325.74°)
OKLaboklab(48.18% 0.1536 -0.1067)
OKLCHoklch(48.18% 0.187 325.2)
XYZxyz(17.5911, 9.5604, 29.7670)
Luminance0.0956 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2896 #2F9628
analogous
#582896 #8F2896 #962866
triadic
#8F2896 #968F28 #28968F
tetradic
#8F2896 #965828 #2F9628 #286696
square
#8F2896 #965828 #2F9628 #286696
split-complementary
#8F2896 #669628 #289658
monochromatic
#330E35 #611B66 #8F2896 #BD35C6 #CE63D5

Accessibility & contrast

On white

7.21
#8F2896 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#8F2896 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F2896
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2896#FFFFFF#000000##FFFFFF
##8F28961.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#064F99
Deuteranopia (green-blind)
#3F5B93
Tritanopia (blue-blind)
#923B5D
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8f2896;
/* rgb */ color: rgb(143, 40, 150);
/* oklch */ color: oklch(48.2% 0.187 325.2);
Tailwind
colors: {
  custom: {
    50: '#b36db5',
    500: '#8f2896',
    950: '#000000',
  },
}
SCSS
$custom: #8f2896;
$custom-light: #b36db5;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2896",
  "rgb": {
    "r": 143,
    "g": 40,
    "b": 150
  },
  "hsl": {
    "h": 296.182,
    "s": 57.895,
    "l": 37.255
  },
  "oklch": {
    "l": 0.48177,
    "c": 0.18702,
    "h": 325.2
  },
  "luminance": 0.09559
}

Semantic roles & 50–950 ramp

primary
#8F2896
secondary
#65BB5F
accent
#E14751
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8F2896

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

Preview Lab → · Contrast checker → · Palette generator →

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