#8E3DD9#8E3DD9

#8E3DD9 is a mid, highly saturated violet. Relative luminance 0.141; OKLCH L 54.8% C 0.225 H 303.3°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#8E3DD9
RGBrgb(142, 61, 217)
HSLhsl(271, 67%, 55%)
HSVhsv(271, 72%, 85%)
CMYKcmyk(34.6%, 71.9%, 0%, 14.9%)
CIE-LABlab(44.37, 61.60, -66.04)
CIE-LCHlch(44.37, 90.31, 313.01°)
OKLaboklab(54.8% 0.1236 -0.1881)
OKLCHoklch(54.8% 0.225 303.3)
XYZxyz(25.3455, 14.0980, 67.0181)
Luminance0.1410 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E3DD9 #88D93D
analogous
#403DD9 #8E3DD9 #D93DD6
triadic
#8E3DD9 #D98E3D #3DD98E
tetradic
#8E3DD9 #D9403D #88D93D #3DD6D9
square
#8E3DD9 #D9403D #88D93D #3DD6D9
split-complementary
#8E3DD9 #D6D93D #3DD940
monochromatic
#501982 #6F24B5 #8E3DD9 #AC70E3 #CAA3ED

Accessibility & contrast

On white

5.50
#8E3DD9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#8E3DD9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E3DD9
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E3DD9#FFFFFF#000000##FFFFFF
##8E3DD91.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067DD
Deuteranopia (green-blind)
#0069D6
Tritanopia (blue-blind)
#7F6388
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #8e3dd9;
/* rgb */ color: rgb(142, 61, 217);
/* oklch */ color: oklch(54.8% 0.225 303.3);
Tailwind
colors: {
  custom: {
    50: '#b57ae6',
    500: '#8e3dd9',
    950: '#000000',
  },
}
SCSS
$custom: #8e3dd9;
$custom-light: #b57ae6;
$custom-dark: #000000;
JSON
{
  "hex": "#8e3dd9",
  "rgb": {
    "r": 142,
    "g": 61,
    "b": 217
  },
  "hsl": {
    "h": 271.154,
    "s": 67.241,
    "l": 54.51
  },
  "oklch": {
    "l": 0.54797,
    "c": 0.22505,
    "h": 303.3
  },
  "luminance": 0.14098
}

Semantic roles & 50–950 ramp

primary
#8E3DD9
secondary
#B8DA98
accent
#EA3E91
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#120A16
muted
#817C84

Preview Lab

Preview with #8E3DD9

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

Preview Lab → · Contrast checker → · Palette generator →

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