#8F2B9E#8F2B9E

#8F2B9E is a mid, vivid purple. Relative luminance 0.100; OKLCH L 49.0% C 0.190 H 322.1°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#8F2B9E
RGBrgb(143, 43, 158)
HSLhsl(292, 57%, 39%)
HSVhsv(292, 73%, 62%)
CMYKcmyk(9.5%, 72.8%, 0%, 38%)
CIE-LABlab(37.91, 56.68, -41.82)
CIE-LCHlch(37.91, 70.44, 323.58°)
OKLaboklab(48.95% 0.1503 -0.1168)
OKLCHoklch(48.95% 0.19 322.1)
XYZxyz(18.3625, 10.0370, 33.3113)
Luminance0.1004 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2B9E #3A9E2B
analogous
#562B9E #8F2B9E #9E2B74
triadic
#8F2B9E #9E8F2B #2B9E8F
tetradic
#8F2B9E #9E562B #3A9E2B #2B749E
square
#8F2B9E #9E562B #3A9E2B #2B749E
split-complementary
#8F2B9E #749E2B #2B9E56
monochromatic
#38113E #631E6E #8F2B9E #B73CCA #C96CD7

Accessibility & contrast

On white

6.98
#8F2B9E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#8F2B9E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F2B9E
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2B9E#FFFFFF#000000##FFFFFF
##8F2B9E1.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A1
Deuteranopia (green-blind)
#3B5D9B
Tritanopia (blue-blind)
#914062
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8f2b9e;
/* rgb */ color: rgb(143, 43, 158);
/* oklch */ color: oklch(49.0% 0.190 322.1);
Tailwind
colors: {
  custom: {
    50: '#b36ebb',
    500: '#8f2b9e',
    950: '#000000',
  },
}
SCSS
$custom: #8f2b9e;
$custom-light: #b36ebb;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2b9e",
  "rgb": {
    "r": 143,
    "g": 43,
    "b": 158
  },
  "hsl": {
    "h": 292.174,
    "s": 57.214,
    "l": 39.412
  },
  "oklch": {
    "l": 0.48953,
    "c": 0.19036,
    "h": 322.1
  },
  "luminance": 0.10036
}

Semantic roles & 50–950 ramp

primary
#8F2B9E
secondary
#72BE67
accent
#E0475B
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8F2B9E

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

Preview Lab → · Contrast checker → · Palette generator →

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