#8E55E2#8E55E2

#8E55E2 is a mid, highly saturated violet. Relative luminance 0.177; OKLCH L 58.4% C 0.205 H 298.4°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#8E55E2
RGBrgb(142, 85, 226)
HSLhsl(264, 71%, 61%)
HSVhsv(264, 62%, 89%)
CMYKcmyk(37.2%, 62.4%, 0%, 11.4%)
CIE-LABlab(49.18, 52.26, -63.37)
CIE-LCHlch(49.18, 82.14, 309.51°)
OKLaboklab(58.44% 0.0976 -0.1803)
OKLCHoklch(58.44% 0.205 298.4)
XYZxyz(28.1279, 17.7384, 73.8787)
Luminance0.1774 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E55E2 #A9E255
analogous
#5562E2 #8E55E2 #D455E2
triadic
#8E55E2 #E28E55 #55E28E
tetradic
#8E55E2 #E25562 #A9E255 #55E2D4
square
#8E55E2 #E25562 #A9E255 #55E2D4
split-complementary
#8E55E2 #E2D455 #62E255
monochromatic
#521BA1 #6C24D5 #8E55E2 #B189EB #D4BEF4

Accessibility & contrast

On white

4.62
#8E55E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#8E55E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #8E55E2
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E55E2#FFFFFF#000000##FFFFFF
##8E55E21.004.624.554.62
#FFFFFF4.621.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075E6
Deuteranopia (green-blind)
#0D73DF
Tritanopia (blue-blind)
#7B7494
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #8e55e2;
/* rgb */ color: rgb(142, 85, 226);
/* oklch */ color: oklch(58.4% 0.205 298.4);
Tailwind
colors: {
  custom: {
    50: '#b488ec',
    500: '#8e55e2',
    950: '#000000',
  },
}
SCSS
$custom: #8e55e2;
$custom-light: #b488ec;
$custom-dark: #000000;
JSON
{
  "hex": "#8e55e2",
  "rgb": {
    "r": 142,
    "g": 85,
    "b": 226
  },
  "hsl": {
    "h": 264.255,
    "s": 70.854,
    "l": 60.98
  },
  "oklch": {
    "l": 0.5844,
    "c": 0.20504,
    "h": 298.4
  },
  "luminance": 0.17739
}

Semantic roles & 50–950 ramp

primary
#8E55E2
secondary
#CEE4AF
accent
#D31385
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #8E55E2

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

Preview Lab → · Contrast checker → · Palette generator →

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