#8E55DC#8E55DC

#8E55DC is a mid, vivid violet. Relative luminance 0.174; OKLCH L 58.0% C 0.198 H 299.6°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#8E55DC
RGBrgb(142, 85, 220)
HSLhsl(265, 66%, 60%)
HSVhsv(265, 61%, 86%)
CMYKcmyk(35.5%, 61.4%, 0%, 13.7%)
CIE-LABlab(48.78, 50.76, -60.61)
CIE-LCHlch(48.78, 79.06, 309.94°)
OKLaboklab(58.02% 0.098 -0.1722)
OKLCHoklch(58.02% 0.198 299.6)
XYZxyz(27.3189, 17.4148, 69.6184)
Luminance0.1741 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E55DC #A3DC55
analogous
#5560DC #8E55DC #D155DC
triadic
#8E55DC #DC8E55 #55DC8E
tetradic
#8E55DC #DC5560 #A3DC55 #55DCD1
square
#8E55DC #DC5560 #A3DC55 #55DCD1
split-complementary
#8E55DC #DCD155 #60DC55
monochromatic
#521F97 #6D2ACA #8E55DC #B088E6 #D1BBF1

Accessibility & contrast

On white

4.68
#8E55DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#8E55DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E55DC
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E55DC#FFFFFF#000000##FFFFFF
##8E55DC1.004.684.484.68
#FFFFFF4.681.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074E0
Deuteranopia (green-blind)
#2073D9
Tritanopia (blue-blind)
#7D7291
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #8e55dc;
/* rgb */ color: rgb(142, 85, 220);
/* oklch */ color: oklch(58.0% 0.198 299.6);
Tailwind
colors: {
  custom: {
    50: '#b488e8',
    500: '#8e55dc',
    950: '#000000',
  },
}
SCSS
$custom: #8e55dc;
$custom-light: #b488e8;
$custom-dark: #000000;
JSON
{
  "hex": "#8e55dc",
  "rgb": {
    "r": 142,
    "g": 85,
    "b": 220
  },
  "hsl": {
    "h": 265.333,
    "s": 65.854,
    "l": 59.804
  },
  "oklch": {
    "l": 0.58024,
    "c": 0.19813,
    "h": 299.6
  },
  "luminance": 0.17415
}

Semantic roles & 50–950 ramp

primary
#8E55DC
secondary
#CAE0AC
accent
#E93FA1
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #8E55DC

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

Preview Lab → · Contrast checker → · Palette generator →

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