#8F2CB8#8F2CB8

#8F2CB8 is a mid, highly saturated purple. Relative luminance 0.111; OKLCH L 50.8% C 0.212 H 313.6°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#8F2CB8
RGBrgb(143, 44, 184)
HSLhsl(282, 61%, 45%)
HSVhsv(282, 76%, 72%)
CMYKcmyk(22.3%, 76.1%, 0%, 27.8%)
CIE-LABlab(39.75, 61.38, -54.36)
CIE-LCHlch(39.75, 81.99, 318.47°)
OKLaboklab(50.81% 0.1465 -0.1536)
OKLCHoklch(50.81% 0.212 313.6)
XYZxyz(20.8786, 11.1024, 46.3813)
Luminance0.1110 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2CB8 #55B82C
analogous
#492CB8 #8F2CB8 #B82C9B
triadic
#8F2CB8 #B88F2C #2CB88F
tetradic
#8F2CB8 #B8492C #55B82C #2C9BB8
square
#8F2CB8 #B8492C #55B82C #2C9BB8
split-complementary
#8F2CB8 #9BB82C #2CB849
monochromatic
#421455 #692087 #8F2CB8 #AD4DD4 #C47EE0

Accessibility & contrast

On white

6.52
#8F2CB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#8F2CB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F2CB8
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2CB8#FFFFFF#000000##FFFFFF
##8F2CB81.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059BC
Deuteranopia (green-blind)
#1E60B5
Tritanopia (blue-blind)
#8B4C71
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8f2cb8;
/* rgb */ color: rgb(143, 44, 184);
/* oklch */ color: oklch(50.8% 0.212 313.6);
Tailwind
colors: {
  custom: {
    50: '#b470ce',
    500: '#8f2cb8',
    950: '#000000',
  },
}
SCSS
$custom: #8f2cb8;
$custom-light: #b470ce;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2cb8",
  "rgb": {
    "r": 143,
    "g": 44,
    "b": 184
  },
  "hsl": {
    "h": 282.429,
    "s": 61.404,
    "l": 44.706
  },
  "oklch": {
    "l": 0.50808,
    "c": 0.21223,
    "h": 313.6
  },
  "luminance": 0.11102
}

Semantic roles & 50–950 ramp

primary
#8F2CB8
secondary
#8FC977
accent
#E54373
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#120814
muted
#817B82

Preview Lab

Preview with #8F2CB8

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

Preview Lab → · Contrast checker → · Palette generator →

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