#8F39C3#8F39C3

#8F39C3 is a mid, highly saturated violet. Relative luminance 0.127; OKLCH L 52.9% C 0.208 H 309.5°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#8F39C3
RGBrgb(143, 57, 195)
HSLhsl(277, 55%, 49%)
HSVhsv(277, 71%, 76%)
CMYKcmyk(26.7%, 70.8%, 0%, 23.5%)
CIE-LABlab(42.32, 58.57, -56.66)
CIE-LCHlch(42.32, 81.49, 315.95°)
OKLaboklab(52.87% 0.1324 -0.1604)
OKLCHoklch(52.87% 0.208 309.5)
XYZxyz(22.6392, 12.7065, 52.8792)
Luminance0.1271 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F39C3 #6DC339
analogous
#4A39C3 #8F39C3 #C339B2
triadic
#8F39C3 #C38F39 #39C38F
tetradic
#8F39C3 #C34A39 #6DC339 #39B2C3
square
#8F39C3 #C34A39 #6DC339 #39B2C3
split-complementary
#8F39C3 #B2C339 #39C34A
monochromatic
#4A1D64 #6C2B94 #8F39C3 #AA67D2 #C496E0

Accessibility & contrast

On white

5.93
#8F39C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#8F39C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F39C3
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F39C3#FFFFFF#000000##FFFFFF
##8F39C31.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C7
Deuteranopia (green-blind)
#1C65C0
Tritanopia (blue-blind)
#87587A
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8f39c3;
/* rgb */ color: rgb(143, 57, 195);
/* oklch */ color: oklch(52.9% 0.208 309.5);
Tailwind
colors: {
  custom: {
    50: '#b477d6',
    500: '#8f39c3',
    950: '#000000',
  },
}
SCSS
$custom: #8f39c3;
$custom-light: #b477d6;
$custom-dark: #000000;
JSON
{
  "hex": "#8f39c3",
  "rgb": {
    "r": 143,
    "g": 57,
    "b": 195
  },
  "hsl": {
    "h": 277.391,
    "s": 54.762,
    "l": 49.412
  },
  "oklch": {
    "l": 0.52868,
    "c": 0.20801,
    "h": 309.5
  },
  "luminance": 0.12706
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8F39C3

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

Preview Lab → · Contrast checker → · Palette generator →

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