#8E58CF#8E58CF

#8E58CF is a mid, vivid violet. Relative luminance 0.172; OKLCH L 57.6% C 0.179 H 302.0°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#8E58CF
RGBrgb(142, 88, 207)
HSLhsl(267, 55%, 58%)
HSVhsv(267, 57%, 81%)
CMYKcmyk(31.4%, 57.5%, 0%, 18.8%)
CIE-LABlab(48.55, 45.92, -53.56)
CIE-LCHlch(48.55, 70.55, 310.61°)
OKLaboklab(57.6% 0.0947 -0.1515)
OKLCHoklch(57.6% 0.179 302)
XYZxyz(25.9049, 17.2352, 60.9814)
Luminance0.1724 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E58CF #99CF58
analogous
#585DCF #8E58CF #CA58CF
triadic
#8E58CF #CF8E58 #58CF8E
tetradic
#8E58CF #CF585D #99CF58 #58CFCA
square
#8E58CF #CF585D #99CF58 #58CFCA
split-complementary
#8E58CF #CFCA58 #5DCF58
monochromatic
#522786 #6F34B6 #8E58CF #AE88DD #CEB7EA

Accessibility & contrast

On white

4.72
#8E58CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#8E58CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E58CF
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E58CF#FFFFFF#000000##FFFFFF
##8E58CF1.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2272D3
Deuteranopia (green-blind)
#3973CC
Tritanopia (blue-blind)
#81708B
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #8e58cf;
/* rgb */ color: rgb(142, 88, 207);
/* oklch */ color: oklch(57.6% 0.179 302.0);
Tailwind
colors: {
  custom: {
    50: '#b389de',
    500: '#8e58cf',
    950: '#000000',
  },
}
SCSS
$custom: #8e58cf;
$custom-light: #b389de;
$custom-dark: #000000;
JSON
{
  "hex": "#8e58cf",
  "rgb": {
    "r": 142,
    "g": 88,
    "b": 207
  },
  "hsl": {
    "h": 267.227,
    "s": 55.349,
    "l": 57.843
  },
  "oklch": {
    "l": 0.57598,
    "c": 0.17866,
    "h": 302
  },
  "luminance": 0.17235
}

Semantic roles & 50–950 ramp

primary
#8E58CF
secondary
#C4D9AA
accent
#DF499B
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #8E58CF

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

Preview Lab → · Contrast checker → · Palette generator →

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