#8E55E6#8E55E6

#8E55E6 is a mid, highly saturated violet. Relative luminance 0.180; OKLCH L 58.7% C 0.210 H 297.7°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#8E55E6
RGBrgb(142, 85, 230)
HSLhsl(264, 74%, 62%)
HSVhsv(264, 63%, 90%)
CMYKcmyk(38.3%, 63%, 0%, 9.8%)
CIE-LABlab(49.45, 53.27, -65.19)
CIE-LCHlch(49.45, 84.19, 309.25°)
OKLaboklab(58.72% 0.0973 -0.1857)
OKLCHoklch(58.72% 0.21 297.7)
XYZxyz(28.6831, 17.9605, 76.8031)
Luminance0.1796 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E55E6 #ADE655
analogous
#5565E6 #8E55E6 #D655E6
triadic
#8E55E6 #E68E55 #55E68E
tetradic
#8E55E6 #E65565 #ADE655 #55E6D6
square
#8E55E6 #E65565 #ADE655 #55E6D6
split-complementary
#8E55E6 #E6D655 #65E655
monochromatic
#5119A8 #6B21DD #8E55E6 #B18AEE #D5C0F6

Accessibility & contrast

On white

4.57
#8E55E6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#8E55E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E55E6
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E55E6#FFFFFF#000000##000000
##8E55E61.004.574.594.59
#FFFFFF4.571.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076EB
Deuteranopia (green-blind)
#0074E3
Tritanopia (blue-blind)
#797696
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #8e55e6;
/* rgb */ color: rgb(142, 85, 230);
/* oklch */ color: oklch(58.7% 0.210 297.7);
Tailwind
colors: {
  custom: {
    50: '#b588ef',
    500: '#8e55e6',
    950: '#000000',
  },
}
SCSS
$custom: #8e55e6;
$custom-light: #b588ef;
$custom-dark: #000000;
JSON
{
  "hex": "#8e55e6",
  "rgb": {
    "r": 142,
    "g": 85,
    "b": 230
  },
  "hsl": {
    "h": 263.586,
    "s": 74.359,
    "l": 61.765
  },
  "oklch": {
    "l": 0.58722,
    "c": 0.20962,
    "h": 297.7
  },
  "luminance": 0.17961
}

Semantic roles & 50–950 ramp

primary
#8E55E6
secondary
#D1E6B1
accent
#D60F88
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #8E55E6

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

Preview Lab → · Contrast checker → · Palette generator →

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