#8F2B95#8F2B95

#8F2B95 is a mid, vivid purple. Relative luminance 0.097; OKLCH L 48.4% C 0.183 H 325.5°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#8F2B95
RGBrgb(143, 43, 149)
HSLhsl(297, 55%, 38%)
HSVhsv(297, 71%, 58%)
CMYKcmyk(4%, 71.1%, 0%, 41.6%)
CIE-LABlab(37.37, 55.04, -37.22)
CIE-LCHlch(37.37, 66.44, 325.93°)
OKLaboklab(48.39% 0.1506 -0.1034)
OKLCHoklch(48.39% 0.183 325.5)
XYZxyz(17.6160, 9.7385, 29.3798)
Luminance0.0974 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2B95 #31952B
analogous
#5A2B95 #8F2B95 #952B66
triadic
#8F2B95 #958F2B #2B958F
tetradic
#8F2B95 #955A2B #31952B #2B6695
square
#8F2B95 #955A2B #31952B #2B6695
split-complementary
#8F2B95 #66952B #2B955A
monochromatic
#341036 #611D66 #8F2B95 #BD39C4 #CD67D3

Accessibility & contrast

On white

7.12
#8F2B95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#8F2B95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F2B95
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2B95#FFFFFF#000000##FFFFFF
##8F2B951.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#115098
Deuteranopia (green-blind)
#415C92
Tritanopia (blue-blind)
#923C5D
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8f2b95;
/* rgb */ color: rgb(143, 43, 149);
/* oklch */ color: oklch(48.4% 0.183 325.5);
Tailwind
colors: {
  custom: {
    50: '#b36eb4',
    500: '#8f2b95',
    950: '#000000',
  },
}
SCSS
$custom: #8f2b95;
$custom-light: #b36eb4;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2b95",
  "rgb": {
    "r": 143,
    "g": 43,
    "b": 149
  },
  "hsl": {
    "h": 296.604,
    "s": 55.208,
    "l": 37.647
  },
  "oklch": {
    "l": 0.48393,
    "c": 0.18267,
    "h": 325.5
  },
  "luminance": 0.09737
}

Semantic roles & 50–950 ramp

primary
#8F2B95
secondary
#67BA62
accent
#DF4952
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8F2B95

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

Preview Lab → · Contrast checker → · Palette generator →

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