#8F2DC0#8F2DC0

#8F2DC0 is a mid, highly saturated purple. Relative luminance 0.115; OKLCH L 51.5% C 0.218 H 311.3°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#8F2DC0
RGBrgb(143, 45, 192)
HSLhsl(280, 62%, 46%)
HSVhsv(280, 77%, 75%)
CMYKcmyk(25.5%, 76.6%, 0%, 24.7%)
CIE-LABlab(40.45, 62.66, -57.93)
CIE-LCHlch(40.45, 85.33, 317.24°)
OKLaboklab(51.48% 0.1442 -0.1641)
OKLCHoklch(51.48% 0.218 311.3)
XYZxyz(21.7787, 11.5227, 50.9358)
Luminance0.1152 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2DC0 #5EC02D
analogous
#462DC0 #8F2DC0 #C02DA8
triadic
#8F2DC0 #C08F2D #2DC08F
tetradic
#8F2DC0 #C0462D #5EC02D #2DA8C0
square
#8F2DC0 #C0462D #5EC02D #2DA8C0
split-complementary
#8F2DC0 #A8C02D #2DC046
monochromatic
#45165D #6A218E #8F2DC0 #AB53D7 #C385E2

Accessibility & contrast

On white

6.36
#8F2DC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#8F2DC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F2DC0
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2DC0#FFFFFF#000000##FFFFFF
##8F2DC01.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC4
Deuteranopia (green-blind)
#0B61BD
Tritanopia (blue-blind)
#895076
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8f2dc0;
/* rgb */ color: rgb(143, 45, 192);
/* oklch */ color: oklch(51.5% 0.218 311.3);
Tailwind
colors: {
  custom: {
    50: '#b571d4',
    500: '#8f2dc0',
    950: '#000000',
  },
}
SCSS
$custom: #8f2dc0;
$custom-light: #b571d4;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2dc0",
  "rgb": {
    "r": 143,
    "g": 45,
    "b": 192
  },
  "hsl": {
    "h": 280,
    "s": 62.025,
    "l": 46.471
  },
  "oklch": {
    "l": 0.51477,
    "c": 0.21844,
    "h": 311.3
  },
  "luminance": 0.11522
}

Semantic roles & 50–950 ramp

primary
#8F2DC0
secondary
#97CC7D
accent
#E54379
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120814
muted
#817B83

Preview Lab

Preview with #8F2DC0

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

Preview Lab → · Contrast checker → · Palette generator →

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