#8F2B94#8F2B94

#8F2B94 is a mid, vivid purple. Relative luminance 0.097; OKLCH L 48.3% C 0.182 H 325.9°. Best body text is #FFFFFF at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#8F2B94
RGBrgb(143, 43, 148)
HSLhsl(297, 55%, 37%)
HSVhsv(297, 71%, 58%)
CMYKcmyk(3.4%, 70.9%, 0%, 42%)
CIE-LABlab(37.31, 54.86, -36.71)
CIE-LCHlch(37.31, 66.01, 326.21°)
OKLaboklab(48.33% 0.1506 -0.1019)
OKLCHoklch(48.33% 0.182 325.9)
XYZxyz(17.5365, 9.7067, 28.9611)
Luminance0.0971 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2B94 #30942B
analogous
#5B2B94 #8F2B94 #942B64
triadic
#8F2B94 #948F2B #2B948F
tetradic
#8F2B94 #945B2B #30942B #2B6494
square
#8F2B94 #945B2B #30942B #2B6494
split-complementary
#8F2B94 #64942B #2B945B
monochromatic
#330F35 #611D65 #8F2B94 #BD39C3 #CE67D3

Accessibility & contrast

On white

7.14
#8F2B94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#8F2B94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F2B94
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2B94#FFFFFF#000000##FFFFFF
##8F2B941.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#135097
Deuteranopia (green-blind)
#425C91
Tritanopia (blue-blind)
#933C5C
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8f2b94;
/* rgb */ color: rgb(143, 43, 148);
/* oklch */ color: oklch(48.3% 0.182 325.9);
Tailwind
colors: {
  custom: {
    50: '#b36eb4',
    500: '#8f2b94',
    950: '#000000',
  },
}
SCSS
$custom: #8f2b94;
$custom-light: #b36eb4;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2b94",
  "rgb": {
    "r": 143,
    "g": 43,
    "b": 148
  },
  "hsl": {
    "h": 297.143,
    "s": 54.974,
    "l": 37.451
  },
  "oklch": {
    "l": 0.48332,
    "c": 0.18183,
    "h": 325.9
  },
  "luminance": 0.09706
}

Semantic roles & 50–950 ramp

primary
#8F2B94
secondary
#66B962
accent
#DE4951
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8F2B94

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

Preview Lab → · Contrast checker → · Palette generator →

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