#8D39D2#8D39D2

#8D39D2 is a mid, highly saturated violet. Relative luminance 0.132; OKLCH L 53.7% C 0.222 H 304.9°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#8D39D2
RGBrgb(141, 57, 210)
HSLhsl(273, 63%, 52%)
HSVhsv(273, 73%, 82%)
CMYKcmyk(32.9%, 72.9%, 0%, 17.6%)
CIE-LABlab(43.13, 61.52, -64.05)
CIE-LCHlch(43.13, 88.81, 313.84°)
OKLaboklab(53.72% 0.1273 -0.1822)
OKLCHoklch(53.72% 0.222 304.9)
XYZxyz(24.0779, 13.2423, 62.2478)
Luminance0.1324 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D39D2 #7ED239
analogous
#4039D2 #8D39D2 #D239CB
triadic
#8D39D2 #D28D39 #39D28D
tetradic
#8D39D2 #D24039 #7ED239 #39CBD2
square
#8D39D2 #D24039 #7ED239 #39CBD2
split-complementary
#8D39D2 #CBD239 #39D240
monochromatic
#4D1B76 #6D26A8 #8D39D2 #AA6BDD #C69DE9

Accessibility & contrast

On white

5.76
#8D39D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#8D39D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D39D2
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D39D2#FFFFFF#000000##FFFFFF
##8D39D21.005.763.655.76
#FFFFFF5.761.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D6
Deuteranopia (green-blind)
#0066CF
Tritanopia (blue-blind)
#805E83
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #8d39d2;
/* rgb */ color: rgb(141, 57, 210);
/* oklch */ color: oklch(53.7% 0.222 304.9);
Tailwind
colors: {
  custom: {
    50: '#b477e1',
    500: '#8d39d2',
    950: '#000000',
  },
}
SCSS
$custom: #8d39d2;
$custom-light: #b477e1;
$custom-dark: #000000;
JSON
{
  "hex": "#8d39d2",
  "rgb": {
    "r": 141,
    "g": 57,
    "b": 210
  },
  "hsl": {
    "h": 272.941,
    "s": 62.963,
    "l": 52.353
  },
  "oklch": {
    "l": 0.53724,
    "c": 0.22229,
    "h": 304.9
  },
  "luminance": 0.13242
}

Semantic roles & 50–950 ramp

primary
#8D39D2
secondary
#B0D592
accent
#E6428C
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120915
muted
#817B83

Preview Lab

Preview with #8D39D2

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

Preview Lab → · Contrast checker → · Palette generator →

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