#8F39CC#8F39CC

#8F39CC is a mid, highly saturated violet. Relative luminance 0.131; OKLCH L 53.5% C 0.217 H 307.2°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#8F39CC
RGBrgb(143, 57, 204)
HSLhsl(275, 59%, 51%)
HSVhsv(275, 72%, 80%)
CMYKcmyk(29.9%, 72.1%, 0%, 20%)
CIE-LABlab(42.95, 60.55, -60.86)
CIE-LCHlch(42.95, 85.85, 314.85°)
OKLaboklab(53.52% 0.131 -0.1728)
OKLCHoklch(53.52% 0.217 307.2)
XYZxyz(23.6876, 13.1258, 58.4007)
Luminance0.1313 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F39CC #76CC39
analogous
#4539CC #8F39CC #CC39BF
triadic
#8F39CC #CC8F39 #39CC8F
tetradic
#8F39CC #CC4539 #76CC39 #39BFCC
square
#8F39CC #CC4539 #76CC39 #39BFCC
split-complementary
#8F39CC #BFCC39 #39CC45
monochromatic
#4C1C6E #6E299F #8F39CC #AB6AD9 #C69AE5

Accessibility & contrast

On white

5.79
#8F39CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#8F39CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F39CC
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F39CC#FFFFFF#000000##FFFFFF
##8F39CC1.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D0
Deuteranopia (green-blind)
#0066C9
Tritanopia (blue-blind)
#855B7F
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #8f39cc;
/* rgb */ color: rgb(143, 57, 204);
/* oklch */ color: oklch(53.5% 0.217 307.2);
Tailwind
colors: {
  custom: {
    50: '#b577dc',
    500: '#8f39cc',
    950: '#000000',
  },
}
SCSS
$custom: #8f39cc;
$custom-light: #b577dc;
$custom-dark: #000000;
JSON
{
  "hex": "#8f39cc",
  "rgb": {
    "r": 143,
    "g": 57,
    "b": 204
  },
  "hsl": {
    "h": 275.102,
    "s": 59.036,
    "l": 51.176
  },
  "oklch": {
    "l": 0.5352,
    "c": 0.21685,
    "h": 307.2
  },
  "luminance": 0.13126
}

Semantic roles & 50–950 ramp

primary
#8F39CC
secondary
#ABD190
accent
#E24687
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120915
muted
#817B83

Preview Lab

Preview with #8F39CC

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

Preview Lab → · Contrast checker → · Palette generator →

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