#8F39C8#8F39C8

#8F39C8 is a mid, highly saturated violet. Relative luminance 0.129; OKLCH L 53.2% C 0.213 H 308.2°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#8F39C8
RGBrgb(143, 57, 200)
HSLhsl(276, 57%, 50%)
HSVhsv(276, 72%, 78%)
CMYKcmyk(28.5%, 71.5%, 0%, 21.6%)
CIE-LABlab(42.67, 59.66, -59.00)
CIE-LCHlch(42.67, 83.91, 315.32°)
OKLaboklab(53.23% 0.1317 -0.1673)
OKLCHoklch(53.23% 0.213 308.2)
XYZxyz(23.2140, 12.9364, 55.9064)
Luminance0.1294 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F39C8 #72C839
analogous
#4739C8 #8F39C8 #C839B9
triadic
#8F39C8 #C88F39 #39C88F
tetradic
#8F39C8 #C84739 #72C839 #39B9C8
square
#8F39C8 #C84739 #72C839 #39B9C8
split-complementary
#8F39C8 #B9C839 #39C847
monochromatic
#4B1D69 #6D2B99 #8F39C8 #AA69D5 #C599E3

Accessibility & contrast

On white

5.85
#8F39C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#8F39C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F39C8
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F39C8#FFFFFF#000000##FFFFFF
##8F39C81.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062CC
Deuteranopia (green-blind)
#0E66C5
Tritanopia (blue-blind)
#865A7D
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #8f39c8;
/* rgb */ color: rgb(143, 57, 200);
/* oklch */ color: oklch(53.2% 0.213 308.2);
Tailwind
colors: {
  custom: {
    50: '#b577da',
    500: '#8f39c8',
    950: '#000000',
  },
}
SCSS
$custom: #8f39c8;
$custom-light: #b577da;
$custom-dark: #000000;
JSON
{
  "hex": "#8f39c8",
  "rgb": {
    "r": 143,
    "g": 57,
    "b": 200
  },
  "hsl": {
    "h": 276.084,
    "s": 56.522,
    "l": 50.392
  },
  "oklch": {
    "l": 0.53228,
    "c": 0.21292,
    "h": 308.2
  },
  "luminance": 0.12936
}

Semantic roles & 50–950 ramp

primary
#8F39C8
secondary
#A8CE8F
accent
#E04885
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120915
muted
#817B83

Preview Lab

Preview with #8F39C8

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

Preview Lab → · Contrast checker → · Palette generator →

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