#8F39C4#8F39C4

#8F39C4 is a mid, highly saturated violet. Relative luminance 0.128; OKLCH L 52.9% C 0.209 H 309.3°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#8F39C4
RGBrgb(143, 57, 196)
HSLhsl(277, 55%, 50%)
HSVhsv(277, 71%, 77%)
CMYKcmyk(27%, 70.9%, 0%, 23.1%)
CIE-LABlab(42.39, 58.79, -57.13)
CIE-LCHlch(42.39, 81.98, 315.82°)
OKLaboklab(52.94% 0.1323 -0.1618)
OKLCHoklch(52.94% 0.209 309.3)
XYZxyz(22.7526, 12.7518, 53.4766)
Luminance0.1275 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F39C4 #6EC439
analogous
#4939C4 #8F39C4 #C439B4
triadic
#8F39C4 #C48F39 #39C48F
tetradic
#8F39C4 #C44939 #6EC439 #39B4C4
square
#8F39C4 #C44939 #6EC439 #39B4C4
split-complementary
#8F39C4 #B4C439 #39C449
monochromatic
#4A1D65 #6C2B95 #8F39C4 #AA67D3 #C497E1

Accessibility & contrast

On white

5.92
#8F39C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#8F39C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F39C4
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F39C4#FFFFFF#000000##FFFFFF
##8F39C41.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C8
Deuteranopia (green-blind)
#1A65C1
Tritanopia (blue-blind)
#87587B
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8f39c4;
/* rgb */ color: rgb(143, 57, 196);
/* oklch */ color: oklch(52.9% 0.209 309.3);
Tailwind
colors: {
  custom: {
    50: '#b477d7',
    500: '#8f39c4',
    950: '#000000',
  },
}
SCSS
$custom: #8f39c4;
$custom-light: #b477d7;
$custom-dark: #000000;
JSON
{
  "hex": "#8f39c4",
  "rgb": {
    "r": 143,
    "g": 57,
    "b": 196
  },
  "hsl": {
    "h": 277.122,
    "s": 54.941,
    "l": 49.608
  },
  "oklch": {
    "l": 0.5294,
    "c": 0.20899,
    "h": 309.3
  },
  "luminance": 0.12751
}

Semantic roles & 50–950 ramp

primary
#8F39C4
secondary
#A5CC8D
accent
#DE4A82
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120914
muted
#817B83

Preview Lab

Preview with #8F39C4

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

Preview Lab → · Contrast checker → · Palette generator →

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