#9D58DB#9D58DB

#9D58DB is a mid, vivid violet. Relative luminance 0.193; OKLCH L 60.0% C 0.196 H 305.6°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#9D58DB
RGBrgb(157, 88, 219)
HSLhsl(272, 65%, 60%)
HSVhsv(272, 60%, 86%)
CMYKcmyk(28.3%, 59.8%, 0%, 14.1%)
CIE-LABlab(50.99, 52.34, -56.39)
CIE-LCHlch(50.99, 76.94, 312.87°)
OKLaboklab(60% 0.1139 -0.1594)
OKLCHoklch(60% 0.196 305.6)
XYZxyz(30.1778, 19.2622, 69.1323)
Luminance0.1926 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D58DB #96DB58
analogous
#5B58DB #9D58DB #DB58D8
triadic
#9D58DB #DB9D58 #58DB9D
tetradic
#9D58DB #DB5B58 #96DB58 #58D8DB
square
#9D58DB #DB5B58 #96DB58 #58D8DB
split-complementary
#9D58DB #D8DB58 #58DB5B
monochromatic
#5F2198 #7F2CCA #9D58DB #BB8AE6 #D8BDF1

Accessibility & contrast

On white

4.33
#9D58DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#9D58DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D58DB
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D58DB#FFFFFF#000000##000000
##9D58DB1.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#1877DF
Deuteranopia (green-blind)
#3D7AD8
Tritanopia (blue-blind)
#927291
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #9d58db;
/* rgb */ color: rgb(157, 88, 219);
/* oklch */ color: oklch(60.0% 0.196 305.6);
Tailwind
colors: {
  custom: {
    50: '#be8ae7',
    500: '#9d58db',
    950: '#000000',
  },
}
SCSS
$custom: #9d58db;
$custom-light: #be8ae7;
$custom-dark: #000000;
JSON
{
  "hex": "#9d58db",
  "rgb": {
    "r": 157,
    "g": 88,
    "b": 219
  },
  "hsl": {
    "h": 271.603,
    "s": 64.532,
    "l": 60.196
  },
  "oklch": {
    "l": 0.59995,
    "c": 0.19589,
    "h": 305.6
  },
  "luminance": 0.19262
}

Semantic roles & 50–950 ramp

primary
#9D58DB
secondary
#C6E1AE
accent
#CC196E
background
#FCF8FE
surface
#F8F0FC
border
#D1CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #9D58DB

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

Preview Lab → · Contrast checker → · Palette generator →

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