#8E45E3#8E45E3

#8E45E3 is a mid, highly saturated violet. Relative luminance 0.156; OKLCH L 56.5% C 0.226 H 300.3°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#8E45E3
RGBrgb(142, 69, 227)
HSLhsl(268, 74%, 58%)
HSVhsv(268, 70%, 89%)
CMYKcmyk(37.4%, 69.6%, 0%, 11%)
CIE-LABlab(46.38, 60.38, -68.47)
CIE-LCHlch(46.38, 91.29, 311.41°)
OKLaboklab(56.46% 0.1142 -0.1952)
OKLCHoklch(56.46% 0.226 300.3)
XYZxyz(27.1452, 15.5528, 74.2300)
Luminance0.1555 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E45E3 #9AE345
analogous
#454BE3 #8E45E3 #DD45E3
triadic
#8E45E3 #E38E45 #45E38E
tetradic
#8E45E3 #E3454B #9AE345 #45E3DD
square
#8E45E3 #E3454B #9AE345 #45E3DD
split-complementary
#8E45E3 #E3DD45 #4BE345
monochromatic
#521797 #6F1FCC #8E45E3 #AE7AEB #CFAFF3

Accessibility & contrast

On white

5.11
#8E45E3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#8E45E3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E45E3
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E45E3#FFFFFF#000000##FFFFFF
##8E45E31.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE8
Deuteranopia (green-blind)
#006DE0
Tritanopia (blue-blind)
#7B6B8F
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #8e45e3;
/* rgb */ color: rgb(142, 69, 227);
/* oklch */ color: oklch(56.5% 0.226 300.3);
Tailwind
colors: {
  custom: {
    50: '#b57eed',
    500: '#8e45e3',
    950: '#000000',
  },
}
SCSS
$custom: #8e45e3;
$custom-light: #b57eed;
$custom-dark: #000000;
JSON
{
  "hex": "#8e45e3",
  "rgb": {
    "r": 142,
    "g": 69,
    "b": 227
  },
  "hsl": {
    "h": 267.722,
    "s": 73.832,
    "l": 58.039
  },
  "oklch": {
    "l": 0.56455,
    "c": 0.2262,
    "h": 300.3
  },
  "luminance": 0.15553
}

Semantic roles & 50–950 ramp

primary
#8E45E3
secondary
#C4E1A2
accent
#F0379B
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120A16
muted
#817C84

Preview Lab

Preview with #8E45E3

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

Preview Lab → · Contrast checker → · Palette generator →

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