#8F2CB0#8F2CB0

#8F2CB0 is a mid, highly saturated purple. Relative luminance 0.108; OKLCH L 50.2% C 0.205 H 316.0°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#8F2CB0
RGBrgb(143, 44, 176)
HSLhsl(285, 60%, 43%)
HSVhsv(285, 75%, 69%)
CMYKcmyk(18.7%, 75%, 0%, 31%)
CIE-LABlab(39.20, 59.77, -50.52)
CIE-LCHlch(39.20, 78.26, 319.80°)
OKLaboklab(50.24% 0.1476 -0.1423)
OKLCHoklch(50.24% 0.205 316)
XYZxyz(20.0636, 10.7764, 42.0891)
Luminance0.1078 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2CB0 #4DB02C
analogous
#4D2CB0 #8F2CB0 #B02C8F
triadic
#8F2CB0 #B08F2C #2CB08F
tetradic
#8F2CB0 #B04D2C #4DB02C #2C8FB0
square
#8F2CB0 #B04D2C #4DB02C #2C8FB0
split-complementary
#8F2CB0 #8FB02C #2CB04D
monochromatic
#3F144E #67207F #8F2CB0 #AF48D1 #C479DD

Accessibility & contrast

On white

6.66
#8F2CB0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8F2CB0
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2CB0#FFFFFF#000000##FFFFFF
##8F2CB01.006.663.166.66
#FFFFFF6.661.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B4
Deuteranopia (green-blind)
#2A5FAD
Tritanopia (blue-blind)
#8D496C
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8f2cb0;
/* rgb */ color: rgb(143, 44, 176);
/* oklch */ color: oklch(50.2% 0.205 316.0);
Tailwind
colors: {
  custom: {
    50: '#b470c8',
    500: '#8f2cb0',
    950: '#000000',
  },
}
SCSS
$custom: #8f2cb0;
$custom-light: #b470c8;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2cb0",
  "rgb": {
    "r": 143,
    "g": 44,
    "b": 176
  },
  "hsl": {
    "h": 285,
    "s": 60,
    "l": 43.137
  },
  "oklch": {
    "l": 0.50243,
    "c": 0.20506,
    "h": 316
  },
  "luminance": 0.10776
}

Semantic roles & 50–950 ramp

primary
#8F2CB0
secondary
#87C672
accent
#E3456C
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #8F2CB0

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

Preview Lab → · Contrast checker → · Palette generator →

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