#8E55D5#8E55D5

#8E55D5 is a mid, vivid violet. Relative luminance 0.171; OKLCH L 57.6% C 0.190 H 301.1°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#8E55D5
RGBrgb(142, 85, 213)
HSLhsl(267, 60%, 58%)
HSVhsv(267, 60%, 84%)
CMYKcmyk(33.3%, 60.1%, 0%, 16.5%)
CIE-LABlab(48.33, 49.01, -57.36)
CIE-LCHlch(48.33, 75.45, 310.52°)
OKLaboklab(57.55% 0.0983 -0.1626)
OKLCHoklch(57.55% 0.19 301.1)
XYZxyz(26.4112, 17.0518, 64.8378)
Luminance0.1705 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E55D5 #9CD555
analogous
#555CD5 #8E55D5 #CE55D5
triadic
#8E55D5 #D58E55 #55D58E
tetradic
#8E55D5 #D5555C #9CD555 #55D5CE
square
#8E55D5 #D5555C #9CD555 #55D5CE
split-complementary
#8E55D5 #D5CE55 #5CD555
monochromatic
#52238D #6F2FBE #8E55D5 #AF86E1 #CFB7ED

Accessibility & contrast

On white

4.76
#8E55D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#8E55D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E55D5
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E55D5#FFFFFF#000000##FFFFFF
##8E55D51.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0272D9
Deuteranopia (green-blind)
#2D72D2
Tritanopia (blue-blind)
#7F708D
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #8e55d5;
/* rgb */ color: rgb(142, 85, 213);
/* oklch */ color: oklch(57.6% 0.190 301.1);
Tailwind
colors: {
  custom: {
    50: '#b387e3',
    500: '#8e55d5',
    950: '#000000',
  },
}
SCSS
$custom: #8e55d5;
$custom-light: #b387e3;
$custom-dark: #000000;
JSON
{
  "hex": "#8e55d5",
  "rgb": {
    "r": 142,
    "g": 85,
    "b": 213
  },
  "hsl": {
    "h": 266.719,
    "s": 60.377,
    "l": 58.431
  },
  "oklch": {
    "l": 0.5755,
    "c": 0.19003,
    "h": 301.1
  },
  "luminance": 0.17052
}

Semantic roles & 50–950 ramp

primary
#8E55D5
secondary
#C6DCA9
accent
#E4449D
background
#FBF8FE
surface
#F6F0FC
border
#D0CBD5
text
#110B15
muted
#807C84

Preview Lab

Preview with #8E55D5

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

Preview Lab → · Contrast checker → · Palette generator →

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