#8E55E4#8E55E4

#8E55E4 is a mid, highly saturated violet. Relative luminance 0.178; OKLCH L 58.6% C 0.207 H 298.0°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#8E55E4
RGBrgb(142, 85, 228)
HSLhsl(264, 73%, 61%)
HSVhsv(264, 63%, 89%)
CMYKcmyk(37.7%, 62.7%, 0%, 10.6%)
CIE-LABlab(49.31, 52.77, -64.28)
CIE-LCHlch(49.31, 83.17, 309.38°)
OKLaboklab(58.58% 0.0975 -0.183)
OKLCHoklch(58.58% 0.207 298)
XYZxyz(28.4039, 17.8488, 75.3324)
Luminance0.1785 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E55E4 #ABE455
analogous
#5564E4 #8E55E4 #D655E4
triadic
#8E55E4 #E48E55 #55E48E
tetradic
#8E55E4 #E45564 #ABE455 #55E4D6
square
#8E55E4 #E45564 #ABE455 #55E4D6
split-complementary
#8E55E4 #E4D655 #64E455
monochromatic
#511AA4 #6B23D9 #8E55E4 #B18AEC #D4BFF5

Accessibility & contrast

On white

4.60
#8E55E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#8E55E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #8E55E4
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E55E4#FFFFFF#000000##FFFFFF
##8E55E41.004.604.574.60
#FFFFFF4.601.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075E8
Deuteranopia (green-blind)
#0274E1
Tritanopia (blue-blind)
#7A7595
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #8e55e4;
/* rgb */ color: rgb(142, 85, 228);
/* oklch */ color: oklch(58.6% 0.207 298.0);
Tailwind
colors: {
  custom: {
    50: '#b588ed',
    500: '#8e55e4',
    950: '#000000',
  },
}
SCSS
$custom: #8e55e4;
$custom-light: #b588ed;
$custom-dark: #000000;
JSON
{
  "hex": "#8e55e4",
  "rgb": {
    "r": 142,
    "g": 85,
    "b": 228
  },
  "hsl": {
    "h": 263.916,
    "s": 72.589,
    "l": 61.373
  },
  "oklch": {
    "l": 0.58581,
    "c": 0.20733,
    "h": 298
  },
  "luminance": 0.17849
}

Semantic roles & 50–950 ramp

primary
#8E55E4
secondary
#D0E5B0
accent
#D51187
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #8E55E4

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

Preview Lab → · Contrast checker → · Palette generator →

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