#8E45D3#8E45D3

#8E45D3 is a mid, highly saturated violet. Relative luminance 0.147; OKLCH L 55.3% C 0.209 H 303.8°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#8E45D3
RGBrgb(142, 69, 211)
HSLhsl(271, 62%, 55%)
HSVhsv(271, 67%, 83%)
CMYKcmyk(32.7%, 67.3%, 0%, 17.3%)
CIE-LABlab(45.23, 56.58, -61.20)
CIE-LCHlch(45.23, 83.35, 312.75°)
OKLaboklab(55.28% 0.1165 -0.1739)
OKLCHoklch(55.28% 0.209 303.8)
XYZxyz(25.0386, 14.7102, 63.1356)
Luminance0.1471 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E45D3 #8AD345
analogous
#4745D3 #8E45D3 #D345D1
triadic
#8E45D3 #D38E45 #45D38E
tetradic
#8E45D3 #D34745 #8AD345 #45D1D3
square
#8E45D3 #D34745 #8AD345 #45D1D3
split-complementary
#8E45D3 #D1D345 #45D347
monochromatic
#501E7F #6F2AB1 #8E45D3 #AC76DF #CAA8EA

Accessibility & contrast

On white

5.33
#8E45D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#8E45D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E45D3
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E45D3#FFFFFF#000000##FFFFFF
##8E45D31.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D7
Deuteranopia (green-blind)
#076BD0
Tritanopia (blue-blind)
#816587
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #8e45d3;
/* rgb */ color: rgb(142, 69, 211);
/* oklch */ color: oklch(55.3% 0.209 303.8);
Tailwind
colors: {
  custom: {
    50: '#b47ee1',
    500: '#8e45d3',
    950: '#000000',
  },
}
SCSS
$custom: #8e45d3;
$custom-light: #b47ee1;
$custom-dark: #000000;
JSON
{
  "hex": "#8e45d3",
  "rgb": {
    "r": 142,
    "g": 69,
    "b": 211
  },
  "hsl": {
    "h": 270.845,
    "s": 61.739,
    "l": 54.902
  },
  "oklch": {
    "l": 0.55275,
    "c": 0.20931,
    "h": 303.8
  },
  "luminance": 0.1471
}

Semantic roles & 50–950 ramp

primary
#8E45D3
secondary
#B9D89C
accent
#E54392
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120A15
muted
#817C83

Preview Lab

Preview with #8E45D3

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

Preview Lab → · Contrast checker → · Palette generator →

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