#8D39D9#8D39D9

#8D39D9 is a mid, highly saturated violet. Relative luminance 0.136; OKLCH L 54.3% C 0.229 H 303.3°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#8D39D9
RGBrgb(141, 57, 217)
HSLhsl(272, 68%, 54%)
HSVhsv(272, 74%, 85%)
CMYKcmyk(35%, 73.7%, 0%, 14.9%)
CIE-LABlab(43.65, 63.11, -67.21)
CIE-LCHlch(43.65, 92.20, 313.19°)
OKLaboklab(54.26% 0.1259 -0.1915)
OKLCHoklch(54.26% 0.229 303.3)
XYZxyz(24.9691, 13.5987, 66.9416)
Luminance0.1360 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D39D9 #85D939
analogous
#3D39D9 #8D39D9 #D939D5
triadic
#8D39D9 #D98D39 #39D98D
tetradic
#8D39D9 #D93D39 #85D939 #39D5D9
square
#8D39D9 #D93D39 #85D939 #39D5D9
split-complementary
#8D39D9 #D5D939 #39D93D
monochromatic
#4E187F #6E22B3 #8D39D9 #AB6CE3 #C8A0ED

Accessibility & contrast

On white

5.65
#8D39D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#8D39D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D39D9
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D39D9#FFFFFF#000000##FFFFFF
##8D39D91.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066DE
Deuteranopia (green-blind)
#0067D6
Tritanopia (blue-blind)
#7E6187
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #8d39d9;
/* rgb */ color: rgb(141, 57, 217);
/* oklch */ color: oklch(54.3% 0.229 303.3);
Tailwind
colors: {
  custom: {
    50: '#b577e6',
    500: '#8d39d9',
    950: '#000000',
  },
}
SCSS
$custom: #8d39d9;
$custom-light: #b577e6;
$custom-dark: #000000;
JSON
{
  "hex": "#8d39d9",
  "rgb": {
    "r": 141,
    "g": 57,
    "b": 217
  },
  "hsl": {
    "h": 271.5,
    "s": 67.797,
    "l": 53.725
  },
  "oklch": {
    "l": 0.5426,
    "c": 0.22921,
    "h": 303.3
  },
  "luminance": 0.13599
}

Semantic roles & 50–950 ramp

primary
#8D39D9
secondary
#B5D995
accent
#EB3D90
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#120916
muted
#817B84

Preview Lab

Preview with #8D39D9

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

Preview Lab → · Contrast checker → · Palette generator →

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