#8D39D1#8D39D1

#8D39D1 is a mid, highly saturated violet. Relative luminance 0.132; OKLCH L 53.6% C 0.221 H 305.2°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#8D39D1
RGBrgb(141, 57, 209)
HSLhsl(273, 62%, 52%)
HSVhsv(273, 73%, 82%)
CMYKcmyk(32.5%, 72.7%, 0%, 18%)
CIE-LABlab(43.05, 61.29, -63.59)
CIE-LCHlch(43.05, 88.32, 313.94°)
OKLaboklab(53.65% 0.1275 -0.1809)
OKLCHoklch(53.65% 0.221 305.2)
XYZxyz(23.9537, 13.1926, 61.5937)
Luminance0.1319 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D39D1 #7DD139
analogous
#4139D1 #8D39D1 #D139C9
triadic
#8D39D1 #D18D39 #39D18D
tetradic
#8D39D1 #D14139 #7DD139 #39C9D1
square
#8D39D1 #D14139 #7DD139 #39C9D1
split-complementary
#8D39D1 #C9D139 #39D141
monochromatic
#4D1B75 #6D27A6 #8D39D1 #AA6BDD #C69CE8

Accessibility & contrast

On white

5.77
#8D39D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#8D39D1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D39D1
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D39D1#FFFFFF#000000##FFFFFF
##8D39D11.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D5
Deuteranopia (green-blind)
#0066CE
Tritanopia (blue-blind)
#805E82
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #8d39d1;
/* rgb */ color: rgb(141, 57, 209);
/* oklch */ color: oklch(53.6% 0.221 305.2);
Tailwind
colors: {
  custom: {
    50: '#b477e0',
    500: '#8d39d1',
    950: '#000000',
  },
}
SCSS
$custom: #8d39d1;
$custom-light: #b477e0;
$custom-dark: #000000;
JSON
{
  "hex": "#8d39d1",
  "rgb": {
    "r": 141,
    "g": 57,
    "b": 209
  },
  "hsl": {
    "h": 273.158,
    "s": 62.295,
    "l": 52.157
  },
  "oklch": {
    "l": 0.53648,
    "c": 0.2213,
    "h": 305.2
  },
  "luminance": 0.13192
}

Semantic roles & 50–950 ramp

primary
#8D39D1
secondary
#AFD492
accent
#E5428B
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120915
muted
#817B83

Preview Lab

Preview with #8D39D1

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

Preview Lab → · Contrast checker → · Palette generator →

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