#8F39CB#8F39CB

#8F39CB is a mid, highly saturated violet. Relative luminance 0.131; OKLCH L 53.4% C 0.216 H 307.4°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#8F39CB
RGBrgb(143, 57, 203)
HSLhsl(275, 58%, 51%)
HSVhsv(275, 72%, 80%)
CMYKcmyk(29.6%, 71.9%, 0%, 20.4%)
CIE-LABlab(42.88, 60.33, -60.39)
CIE-LCHlch(42.88, 85.36, 314.97°)
OKLaboklab(53.45% 0.1312 -0.1714)
OKLCHoklch(53.45% 0.216 307.4)
XYZxyz(23.5680, 13.0780, 57.7711)
Luminance0.1308 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F39CB #75CB39
analogous
#4639CB #8F39CB #CB39BE
triadic
#8F39CB #CB8F39 #39CB8F
tetradic
#8F39CB #CB4639 #75CB39 #39BECB
square
#8F39CB #CB4639 #75CB39 #39BECB
split-complementary
#8F39CB #BECB39 #39CB46
monochromatic
#4C1D6D #6E299D #8F39CB #AA69D8 #C69AE4

Accessibility & contrast

On white

5.81
#8F39CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#8F39CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F39CB
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F39CB#FFFFFF#000000##FFFFFF
##8F39CB1.005.813.625.81
#FFFFFF5.811.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062CF
Deuteranopia (green-blind)
#0066C8
Tritanopia (blue-blind)
#855B7F
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #8f39cb;
/* rgb */ color: rgb(143, 57, 203);
/* oklch */ color: oklch(53.4% 0.216 307.4);
Tailwind
colors: {
  custom: {
    50: '#b577dc',
    500: '#8f39cb',
    950: '#000000',
  },
}
SCSS
$custom: #8f39cb;
$custom-light: #b577dc;
$custom-dark: #000000;
JSON
{
  "hex": "#8f39cb",
  "rgb": {
    "r": 143,
    "g": 57,
    "b": 203
  },
  "hsl": {
    "h": 275.342,
    "s": 58.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.53446,
    "c": 0.21587,
    "h": 307.4
  },
  "luminance": 0.13078
}

Semantic roles & 50–950 ramp

primary
#8F39CB
secondary
#AAD090
accent
#E24686
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120915
muted
#817B83

Preview Lab

Preview with #8F39CB

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

Preview Lab → · Contrast checker → · Palette generator →

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