#8F2CBD#8F2CBD

#8F2CBD is a mid, highly saturated purple. Relative luminance 0.113; OKLCH L 51.2% C 0.217 H 312.2°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#8F2CBD
RGBrgb(143, 44, 189)
HSLhsl(281, 62%, 46%)
HSVhsv(281, 77%, 74%)
CMYKcmyk(24.3%, 76.7%, 0%, 25.9%)
CIE-LABlab(40.11, 62.39, -56.73)
CIE-LCHlch(40.11, 84.33, 317.72°)
OKLaboklab(51.17% 0.1456 -0.1606)
OKLCHoklch(51.17% 0.217 312.2)
XYZxyz(21.4120, 11.3157, 49.1905)
Luminance0.1132 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2CBD #5ABD2C
analogous
#472CBD #8F2CBD #BD2CA2
triadic
#8F2CBD #BD8F2C #2CBD8F
tetradic
#8F2CBD #BD472C #5ABD2C #2CA2BD
square
#8F2CBD #BD472C #5ABD2C #2CA2BD
split-complementary
#8F2CBD #A2BD2C #2CBD47
monochromatic
#44155A #69208B #8F2CBD #AC50D6 #C382E2

Accessibility & contrast

On white

6.44
#8F2CBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#8F2CBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F2CBD
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2CBD#FFFFFF#000000##FFFFFF
##8F2CBD1.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC1
Deuteranopia (green-blind)
#1360BA
Tritanopia (blue-blind)
#894E74
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8f2cbd;
/* rgb */ color: rgb(143, 44, 189);
/* oklch */ color: oklch(51.2% 0.217 312.2);
Tailwind
colors: {
  custom: {
    50: '#b570d2',
    500: '#8f2cbd',
    950: '#000000',
  },
}
SCSS
$custom: #8f2cbd;
$custom-light: #b570d2;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2cbd",
  "rgb": {
    "r": 143,
    "g": 44,
    "b": 189
  },
  "hsl": {
    "h": 280.966,
    "s": 62.232,
    "l": 45.686
  },
  "oklch": {
    "l": 0.5117,
    "c": 0.21673,
    "h": 312.2
  },
  "luminance": 0.11315
}

Semantic roles & 50–950 ramp

primary
#8F2CBD
secondary
#94CB7A
accent
#E54276
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120814
muted
#817B83

Preview Lab

Preview with #8F2CBD

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

Preview Lab → · Contrast checker → · Palette generator →

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