#8E3DD7#8E3DD7

#8E3DD7 is a mid, highly saturated violet. Relative luminance 0.140; OKLCH L 54.6% C 0.223 H 303.8°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#8E3DD7
RGBrgb(142, 61, 215)
HSLhsl(272, 66%, 54%)
HSVhsv(272, 72%, 84%)
CMYKcmyk(34%, 71.6%, 0%, 15.7%)
CIE-LABlab(44.23, 61.14, -65.13)
CIE-LCHlch(44.23, 89.33, 313.19°)
OKLaboklab(54.65% 0.124 -0.1854)
OKLCHoklch(54.65% 0.223 303.8)
XYZxyz(25.0870, 13.9946, 65.6564)
Luminance0.1399 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E3DD7 #86D73D
analogous
#413DD7 #8E3DD7 #D73DD3
triadic
#8E3DD7 #D78E3D #3DD78E
tetradic
#8E3DD7 #D7413D #86D73D #3DD3D7
square
#8E3DD7 #D7413D #86D73D #3DD3D7
split-complementary
#8E3DD7 #D3D73D #3DD741
monochromatic
#4F1A7F #6F25B2 #8E3DD7 #AC70E1 #C9A2EC

Accessibility & contrast

On white

5.53
#8E3DD7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#8E3DD7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E3DD7
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E3DD7#FFFFFF#000000##FFFFFF
##8E3DD71.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067DB
Deuteranopia (green-blind)
#0068D4
Tritanopia (blue-blind)
#806286
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #8e3dd7;
/* rgb */ color: rgb(142, 61, 215);
/* oklch */ color: oklch(54.6% 0.223 303.8);
Tailwind
colors: {
  custom: {
    50: '#b579e4',
    500: '#8e3dd7',
    950: '#000000',
  },
}
SCSS
$custom: #8e3dd7;
$custom-light: #b579e4;
$custom-dark: #000000;
JSON
{
  "hex": "#8e3dd7",
  "rgb": {
    "r": 142,
    "g": 61,
    "b": 215
  },
  "hsl": {
    "h": 271.558,
    "s": 65.812,
    "l": 54.118
  },
  "oklch": {
    "l": 0.54646,
    "c": 0.22303,
    "h": 303.8
  },
  "luminance": 0.13995
}

Semantic roles & 50–950 ramp

primary
#8E3DD7
secondary
#B6D997
accent
#E93F8F
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#120A16
muted
#817C84

Preview Lab

Preview with #8E3DD7

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

Preview Lab → · Contrast checker → · Palette generator →

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