#8D39CA#8D39CA

#8D39CA is a mid, highly saturated violet. Relative luminance 0.129; OKLCH L 53.1% C 0.214 H 306.9°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#8D39CA
RGBrgb(141, 57, 202)
HSLhsl(275, 58%, 51%)
HSVhsv(275, 72%, 79%)
CMYKcmyk(30.2%, 71.8%, 0%, 20.8%)
CIE-LABlab(42.54, 59.72, -60.38)
CIE-LCHlch(42.54, 84.92, 314.69°)
OKLaboklab(53.13% 0.1287 -0.1714)
OKLCHoklch(53.13% 0.214 306.9)
XYZxyz(23.1060, 12.8535, 57.1294)
Luminance0.1285 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D39CA #76CA39
analogous
#4439CA #8D39CA #CA39BE
triadic
#8D39CA #CA8D39 #39CA8D
tetradic
#8D39CA #CA4439 #76CA39 #39BECA
square
#8D39CA #CA4439 #76CA39 #39BECA
split-complementary
#8D39CA #BECA39 #39CA44
monochromatic
#4B1D6C #6C2A9C #8D39CA #A969D7 #C59AE4

Accessibility & contrast

On white

5.88
#8D39CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#8D39CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D39CA
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D39CA#FFFFFF#000000##FFFFFF
##8D39CA1.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062CE
Deuteranopia (green-blind)
#0065C7
Tritanopia (blue-blind)
#835B7E
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8d39ca;
/* rgb */ color: rgb(141, 57, 202);
/* oklch */ color: oklch(53.1% 0.214 306.9);
Tailwind
colors: {
  custom: {
    50: '#b377db',
    500: '#8d39ca',
    950: '#000000',
  },
}
SCSS
$custom: #8d39ca;
$custom-light: #b377db;
$custom-dark: #000000;
JSON
{
  "hex": "#8d39ca",
  "rgb": {
    "r": 141,
    "g": 57,
    "b": 202
  },
  "hsl": {
    "h": 274.759,
    "s": 57.769,
    "l": 50.784
  },
  "oklch": {
    "l": 0.53127,
    "c": 0.21436,
    "h": 306.9
  },
  "luminance": 0.12853
}

Semantic roles & 50–950 ramp

primary
#8D39CA
secondary
#AAD08F
accent
#E14788
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120915
muted
#817B83

Preview Lab

Preview with #8D39CA

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

Preview Lab → · Contrast checker → · Palette generator →

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