#8D39CB#8D39CB

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

Color values

HEX#8D39CB
RGBrgb(141, 57, 203)
HSLhsl(275, 58%, 51%)
HSVhsv(275, 72%, 80%)
CMYKcmyk(30.5%, 71.9%, 0%, 20.4%)
CIE-LABlab(42.61, 59.94, -60.84)
CIE-LCHlch(42.61, 85.41, 314.58°)
OKLaboklab(53.2% 0.1285 -0.1728)
OKLCHoklch(53.2% 0.215 306.6)
XYZxyz(23.2248, 12.9010, 57.7550)
Luminance0.1290 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D39CB #77CB39
analogous
#4439CB #8D39CB #CB39C0
triadic
#8D39CB #CB8D39 #39CB8D
tetradic
#8D39CB #CB4439 #77CB39 #39C0CB
square
#8D39CB #CB4439 #77CB39 #39C0CB
split-complementary
#8D39CB #C0CB39 #39CB44
monochromatic
#4B1D6D #6C299D #8D39CB #A969D8 #C59AE4

Accessibility & contrast

On white

5.87
#8D39CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#8D39CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D39CB
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D39CB#FFFFFF#000000##FFFFFF
##8D39CB1.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8d39cb;
/* rgb */ color: rgb(141, 57, 203);
/* oklch */ color: oklch(53.2% 0.215 306.6);
Tailwind
colors: {
  custom: {
    50: '#b377dc',
    500: '#8d39cb',
    950: '#000000',
  },
}
SCSS
$custom: #8d39cb;
$custom-light: #b377dc;
$custom-dark: #000000;
JSON
{
  "hex": "#8d39cb",
  "rgb": {
    "r": 141,
    "g": 57,
    "b": 203
  },
  "hsl": {
    "h": 274.521,
    "s": 58.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.532,
    "c": 0.21535,
    "h": 306.6
  },
  "luminance": 0.12901
}

Semantic roles & 50–950 ramp

primary
#8D39CB
secondary
#ABD090
accent
#E24688
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120915
muted
#817B83

Preview Lab

Preview with #8D39CB

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

Preview Lab → · Contrast checker → · Palette generator →

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