#8E45E0#8E45E0

#8E45E0 is a mid, highly saturated violet. Relative luminance 0.154; OKLCH L 56.2% C 0.223 H 300.9°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#8E45E0
RGBrgb(142, 69, 224)
HSLhsl(268, 71%, 57%)
HSVhsv(268, 69%, 88%)
CMYKcmyk(36.6%, 69.2%, 0%, 12.2%)
CIE-LABlab(46.16, 59.66, -67.12)
CIE-LCHlch(46.16, 89.81, 311.63°)
OKLaboklab(56.23% 0.1147 -0.1913)
OKLCHoklch(56.23% 0.223 300.9)
XYZxyz(26.7347, 15.3887, 72.0684)
Luminance0.1539 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E45E0 #97E045
analogous
#4549E0 #8E45E0 #DC45E0
triadic
#8E45E0 #E08E45 #45E08E
tetradic
#8E45E0 #E04549 #97E045 #45E0DC
square
#8E45E0 #E04549 #97E045 #45E0DC
split-complementary
#8E45E0 #E0DC45 #49E045
monochromatic
#521892 #6F21C7 #8E45E0 #AE79E9 #CEAEF1

Accessibility & contrast

On white

5.15
#8E45E0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#8E45E0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E45E0
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E45E0#FFFFFF#000000##FFFFFF
##8E45E01.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE5
Deuteranopia (green-blind)
#006CDD
Tritanopia (blue-blind)
#7C6A8E
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #8e45e0;
/* rgb */ color: rgb(142, 69, 224);
/* oklch */ color: oklch(56.2% 0.223 300.9);
Tailwind
colors: {
  custom: {
    50: '#b57eeb',
    500: '#8e45e0',
    950: '#000000',
  },
}
SCSS
$custom: #8e45e0;
$custom-light: #b57eeb;
$custom-dark: #000000;
JSON
{
  "hex": "#8e45e0",
  "rgb": {
    "r": 142,
    "g": 69,
    "b": 224
  },
  "hsl": {
    "h": 268.258,
    "s": 71.429,
    "l": 57.451
  },
  "oklch": {
    "l": 0.56229,
    "c": 0.22304,
    "h": 300.9
  },
  "luminance": 0.15389
}

Semantic roles & 50–950 ramp

primary
#8E45E0
secondary
#C2E0A1
accent
#EE3A99
background
#FBF7FE
surface
#F6EEFD
border
#D0C9D5
text
#120A16
muted
#817C84

Preview Lab

Preview with #8E45E0

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

Preview Lab → · Contrast checker → · Palette generator →

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