#8E58CD#8E58CD

#8E58CD is a mid, vivid violet. Relative luminance 0.171; OKLCH L 57.5% C 0.176 H 302.5°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#8E58CD
RGBrgb(142, 88, 205)
HSLhsl(268, 54%, 57%)
HSVhsv(268, 57%, 80%)
CMYKcmyk(30.7%, 57.1%, 0%, 19.6%)
CIE-LABlab(48.43, 45.43, -52.60)
CIE-LCHlch(48.43, 69.51, 310.82°)
OKLaboklab(57.47% 0.0947 -0.1487)
OKLCHoklch(57.47% 0.176 302.5)
XYZxyz(25.6620, 17.1380, 59.7018)
Luminance0.1714 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E58CD #97CD58
analogous
#585DCD #8E58CD #C858CD
triadic
#8E58CD #CD8E58 #58CD8E
tetradic
#8E58CD #CD585D #97CD58 #58CDC8
square
#8E58CD #CD585D #97CD58 #58CDC8
split-complementary
#8E58CD #CDC858 #5DCD58
monochromatic
#522783 #6F35B2 #8E58CD #AE87DB #CEB6E9

Accessibility & contrast

On white

4.74
#8E58CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#8E58CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E58CD
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E58CD#FFFFFF#000000##FFFFFF
##8E58CD1.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2572D1
Deuteranopia (green-blind)
#3B73CA
Tritanopia (blue-blind)
#826F8A
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #8e58cd;
/* rgb */ color: rgb(142, 88, 205);
/* oklch */ color: oklch(57.5% 0.176 302.5);
Tailwind
colors: {
  custom: {
    50: '#b389dd',
    500: '#8e58cd',
    950: '#000000',
  },
}
SCSS
$custom: #8e58cd;
$custom-light: #b389dd;
$custom-dark: #000000;
JSON
{
  "hex": "#8e58cd",
  "rgb": {
    "r": 142,
    "g": 88,
    "b": 205
  },
  "hsl": {
    "h": 267.692,
    "s": 53.917,
    "l": 57.451
  },
  "oklch": {
    "l": 0.5747,
    "c": 0.17629,
    "h": 302.5
  },
  "luminance": 0.17138
}

Semantic roles & 50–950 ramp

primary
#8E58CD
secondary
#C2D8A9
accent
#DD4B9A
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #8E58CD

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

Preview Lab → · Contrast checker → · Palette generator →

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