#8E58DB#8E58DB

#8E58DB is a mid, vivid violet. Relative luminance 0.178; OKLCH L 58.4% C 0.193 H 299.4°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#8E58DB
RGBrgb(142, 88, 219)
HSLhsl(265, 65%, 60%)
HSVhsv(265, 60%, 86%)
CMYKcmyk(35.2%, 59.8%, 0%, 14.1%)
CIE-LABlab(49.31, 48.92, -59.19)
CIE-LCHlch(49.31, 76.79, 309.57°)
OKLaboklab(58.39% 0.0945 -0.168)
OKLCHoklch(58.39% 0.193 299.4)
XYZxyz(27.4281, 17.8444, 69.0034)
Luminance0.1784 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E58DB #A5DB58
analogous
#5863DB #8E58DB #D058DB
triadic
#8E58DB #DB8E58 #58DB8E
tetradic
#8E58DB #DB5863 #A5DB58 #58DBD0
square
#8E58DB #DB5863 #A5DB58 #58DBD0
split-complementary
#8E58DB #DBD058 #63DB58
monochromatic
#522198 #6D2CCA #8E58DB #B08AE6 #D2BDF1

Accessibility & contrast

On white

4.60
#8E58DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#8E58DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #8E58DB
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E58DB#FFFFFF#000000##FFFFFF
##8E58DB1.004.604.574.60
#FFFFFF4.601.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075DF
Deuteranopia (green-blind)
#2974D8
Tritanopia (blue-blind)
#7D7491
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #8e58db;
/* rgb */ color: rgb(142, 88, 219);
/* oklch */ color: oklch(58.4% 0.193 299.4);
Tailwind
colors: {
  custom: {
    50: '#b489e7',
    500: '#8e58db',
    950: '#000000',
  },
}
SCSS
$custom: #8e58db;
$custom-light: #b489e7;
$custom-dark: #000000;
JSON
{
  "hex": "#8e58db",
  "rgb": {
    "r": 142,
    "g": 88,
    "b": 219
  },
  "hsl": {
    "h": 264.733,
    "s": 64.532,
    "l": 60.196
  },
  "oklch": {
    "l": 0.58388,
    "c": 0.1928,
    "h": 299.4
  },
  "luminance": 0.17845
}

Semantic roles & 50–950 ramp

primary
#8E58DB
secondary
#CCE1AE
accent
#CC1982
background
#FBF8FE
surface
#F6F0FC
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8E58DB

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

Preview Lab → · Contrast checker → · Palette generator →

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