#8E54DD#8E54DD

#8E54DD is a mid, highly saturated violet. Relative luminance 0.173; OKLCH L 58.0% C 0.201 H 299.6°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#8E54DD
RGBrgb(142, 84, 221)
HSLhsl(265, 67%, 60%)
HSVhsv(265, 62%, 87%)
CMYKcmyk(35.7%, 62%, 0%, 13.3%)
CIE-LABlab(48.65, 51.53, -61.39)
CIE-LCHlch(48.65, 80.15, 310.01°)
OKLaboklab(57.95% 0.0991 -0.1745)
OKLCHoklch(57.95% 0.201 299.6)
XYZxyz(27.3736, 17.3116, 70.2919)
Luminance0.1731 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E54DD #A3DD54
analogous
#545FDD #8E54DD #D254DD
triadic
#8E54DD #DD8E54 #54DD8E
tetradic
#8E54DD #DD545F #A3DD54 #54DDD2
square
#8E54DD #DD545F #A3DD54 #54DDD2
split-complementary
#8E54DD #DDD254 #5FDD54
monochromatic
#521E98 #6D28CB #8E54DD #B087E7 #D1BAF1

Accessibility & contrast

On white

4.71
#8E54DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#8E54DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E54DD
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E54DD#FFFFFF#000000##FFFFFF
##8E54DD1.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073E1
Deuteranopia (green-blind)
#1B72DA
Tritanopia (blue-blind)
#7D7291
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #8e54dd;
/* rgb */ color: rgb(142, 84, 221);
/* oklch */ color: oklch(58.0% 0.201 299.6);
Tailwind
colors: {
  custom: {
    50: '#b487e8',
    500: '#8e54dd',
    950: '#000000',
  },
}
SCSS
$custom: #8e54dd;
$custom-light: #b487e8;
$custom-dark: #000000;
JSON
{
  "hex": "#8e54dd",
  "rgb": {
    "r": 142,
    "g": 84,
    "b": 221
  },
  "hsl": {
    "h": 265.401,
    "s": 66.829,
    "l": 59.804
  },
  "oklch": {
    "l": 0.57952,
    "c": 0.20065,
    "h": 299.6
  },
  "luminance": 0.17312
}

Semantic roles & 50–950 ramp

primary
#8E54DD
secondary
#CAE1AC
accent
#EA3EA1
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #8E54DD

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

Preview Lab → · Contrast checker → · Palette generator →

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