#9E58DB#9E58DB

#9E58DB is a mid, vivid violet. Relative luminance 0.194; OKLCH L 60.1% C 0.196 H 306.0°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#9E58DB
RGBrgb(158, 88, 219)
HSLhsl(272, 65%, 60%)
HSVhsv(272, 60%, 86%)
CMYKcmyk(27.9%, 59.8%, 0%, 14.1%)
CIE-LABlab(51.11, 52.57, -56.20)
CIE-LCHlch(51.11, 76.96, 313.09°)
OKLaboklab(60.11% 0.1152 -0.1588)
OKLCHoklch(60.11% 0.196 306)
XYZxyz(30.3737, 19.3633, 69.1415)
Luminance0.1936 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E58DB #95DB58
analogous
#5C58DB #9E58DB #DB58D7
triadic
#9E58DB #DB9E58 #58DB9E
tetradic
#9E58DB #DB5C58 #95DB58 #58D7DB
square
#9E58DB #DB5C58 #95DB58 #58D7DB
split-complementary
#9E58DB #D7DB58 #58DB5C
monochromatic
#602198 #802CCA #9E58DB #BB8AE6 #D8BDF1

Accessibility & contrast

On white

4.31
#9E58DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#9E58DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E58DB
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E58DB#FFFFFF#000000##000000
##9E58DB1.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#1978DF
Deuteranopia (green-blind)
#3E7AD8
Tritanopia (blue-blind)
#947291
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #9e58db;
/* rgb */ color: rgb(158, 88, 219);
/* oklch */ color: oklch(60.1% 0.196 306.0);
Tailwind
colors: {
  custom: {
    50: '#be8ae7',
    500: '#9e58db',
    950: '#000000',
  },
}
SCSS
$custom: #9e58db;
$custom-light: #be8ae7;
$custom-dark: #000000;
JSON
{
  "hex": "#9e58db",
  "rgb": {
    "r": 158,
    "g": 88,
    "b": 219
  },
  "hsl": {
    "h": 272.061,
    "s": 64.532,
    "l": 60.196
  },
  "oklch": {
    "l": 0.60106,
    "c": 0.19615,
    "h": 306
  },
  "luminance": 0.19363
}

Semantic roles & 50–950 ramp

primary
#9E58DB
secondary
#C6E1AE
accent
#CC196D
background
#FCF8FE
surface
#F8F0FC
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #9E58DB

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

Preview Lab → · Contrast checker → · Palette generator →

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