#8E55CC#8E55CC

#8E55CC is a mid, vivid violet. Relative luminance 0.166; OKLCH L 57.0% C 0.180 H 303.2°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#8E55CC
RGBrgb(142, 85, 204)
HSLhsl(269, 54%, 57%)
HSVhsv(269, 58%, 80%)
CMYKcmyk(30.4%, 58.3%, 0%, 20%)
CIE-LABlab(47.76, 46.80, -53.11)
CIE-LCHlch(47.76, 70.79, 311.39°)
OKLaboklab(56.96% 0.0984 -0.1502)
OKLCHoklch(56.96% 0.18 303.2)
XYZxyz(25.3004, 16.6074, 58.9877)
Luminance0.1661 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E55CC #93CC55
analogous
#5558CC #8E55CC #C955CC
triadic
#8E55CC #CC8E55 #55CC8E
tetradic
#8E55CC #CC5558 #93CC55 #55CCC9
square
#8E55CC #CC5558 #93CC55 #55CCC9
split-complementary
#8E55CC #CCC955 #58CC55
monochromatic
#512680 #6F35AF #8E55CC #AD84DA #CDB3E8

Accessibility & contrast

On white

4.86
#8E55CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#8E55CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E55CC
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E55CC#FFFFFF#000000##FFFFFF
##8E55CC1.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E70D0
Deuteranopia (green-blind)
#3871C9
Tritanopia (blue-blind)
#826D88
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #8e55cc;
/* rgb */ color: rgb(142, 85, 204);
/* oklch */ color: oklch(57.0% 0.180 303.2);
Tailwind
colors: {
  custom: {
    50: '#b387dc',
    500: '#8e55cc',
    950: '#000000',
  },
}
SCSS
$custom: #8e55cc;
$custom-light: #b387dc;
$custom-dark: #000000;
JSON
{
  "hex": "#8e55cc",
  "rgb": {
    "r": 142,
    "g": 85,
    "b": 204
  },
  "hsl": {
    "h": 268.739,
    "s": 53.846,
    "l": 56.667
  },
  "oklch": {
    "l": 0.56958,
    "c": 0.17956,
    "h": 303.2
  },
  "luminance": 0.16607
}

Semantic roles & 50–950 ramp

primary
#8E55CC
secondary
#BFD7A6
accent
#DD4B97
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8E55CC

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

Preview Lab → · Contrast checker → · Palette generator →

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