#8E58CA#8E58CA

#8E58CA is a mid, vivid violet. Relative luminance 0.170; OKLCH L 57.3% C 0.173 H 303.2°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#8E58CA
RGBrgb(142, 88, 202)
HSLhsl(268, 52%, 57%)
HSVhsv(268, 56%, 79%)
CMYKcmyk(29.7%, 56.4%, 0%, 20.8%)
CIE-LABlab(48.25, 44.70, -51.17)
CIE-LCHlch(48.25, 67.94, 311.14°)
OKLaboklab(57.28% 0.0947 -0.1445)
OKLCHoklch(57.28% 0.173 303.2)
XYZxyz(25.3033, 16.9945, 57.8129)
Luminance0.1699 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E58CA #94CA58
analogous
#585BCA #8E58CA #C758CA
triadic
#8E58CA #CA8E58 #58CA8E
tetradic
#8E58CA #CA585B #94CA58 #58CAC7
square
#8E58CA #CA585B #94CA58 #58CAC7
split-complementary
#8E58CA #CAC758 #5BCA58
monochromatic
#52287F #6F37AE #8E58CA #AD86D9 #CDB5E7

Accessibility & contrast

On white

4.77
#8E58CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#8E58CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E58CA
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E58CA#FFFFFF#000000##FFFFFF
##8E58CA1.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A71CE
Deuteranopia (green-blind)
#3E72C7
Tritanopia (blue-blind)
#836E89
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #8e58ca;
/* rgb */ color: rgb(142, 88, 202);
/* oklch */ color: oklch(57.3% 0.173 303.2);
Tailwind
colors: {
  custom: {
    50: '#b289db',
    500: '#8e58ca',
    950: '#000000',
  },
}
SCSS
$custom: #8e58ca;
$custom-light: #b289db;
$custom-dark: #000000;
JSON
{
  "hex": "#8e58ca",
  "rgb": {
    "r": 142,
    "g": 88,
    "b": 202
  },
  "hsl": {
    "h": 268.421,
    "s": 51.818,
    "l": 56.863
  },
  "oklch": {
    "l": 0.57279,
    "c": 0.17273,
    "h": 303.2
  },
  "luminance": 0.16994
}

Semantic roles & 50–950 ramp

primary
#8E58CA
secondary
#C0D6A8
accent
#DB4D98
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #8E58CA

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

Preview Lab → · Contrast checker → · Palette generator →

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