#8F2CB1#8F2CB1

#8F2CB1 is a mid, highly saturated purple. Relative luminance 0.108; OKLCH L 50.3% C 0.206 H 315.7°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#8F2CB1
RGBrgb(143, 44, 177)
HSLhsl(285, 60%, 43%)
HSVhsv(285, 75%, 69%)
CMYKcmyk(19.2%, 75.1%, 0%, 30.6%)
CIE-LABlab(39.27, 59.97, -51.00)
CIE-LCHlch(39.27, 78.73, 319.62°)
OKLaboklab(50.31% 0.1475 -0.1437)
OKLCHoklch(50.31% 0.206 315.7)
XYZxyz(20.1629, 10.8161, 42.6121)
Luminance0.1081 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2CB1 #4EB12C
analogous
#4D2CB1 #8F2CB1 #B12C90
triadic
#8F2CB1 #B18F2C #2CB18F
tetradic
#8F2CB1 #B14D2C #4EB12C #2C90B1
square
#8F2CB1 #B14D2C #4EB12C #2C90B1
split-complementary
#8F2CB1 #90B12C #2CB14D
monochromatic
#40144F #672080 #8F2CB1 #AF49D2 #C47ADE

Accessibility & contrast

On white

6.64
#8F2CB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#8F2CB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F2CB1
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2CB1#FFFFFF#000000##FFFFFF
##8F2CB11.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B5
Deuteranopia (green-blind)
#295FAE
Tritanopia (blue-blind)
#8D496D
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8f2cb1;
/* rgb */ color: rgb(143, 44, 177);
/* oklch */ color: oklch(50.3% 0.206 315.7);
Tailwind
colors: {
  custom: {
    50: '#b470c9',
    500: '#8f2cb1',
    950: '#000000',
  },
}
SCSS
$custom: #8f2cb1;
$custom-light: #b470c9;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2cb1",
  "rgb": {
    "r": 143,
    "g": 44,
    "b": 177
  },
  "hsl": {
    "h": 284.662,
    "s": 60.181,
    "l": 43.333
  },
  "oklch": {
    "l": 0.50313,
    "c": 0.20595,
    "h": 315.7
  },
  "luminance": 0.10815
}

Semantic roles & 50–950 ramp

primary
#8F2CB1
secondary
#88C673
accent
#E3446D
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #8F2CB1

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

Preview Lab → · Contrast checker → · Palette generator →

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