#9D58D9#9D58D9

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

Color values

HEX#9D58D9
RGBrgb(157, 88, 217)
HSLhsl(272, 63%, 60%)
HSVhsv(272, 59%, 85%)
CMYKcmyk(27.6%, 59.4%, 0%, 14.9%)
CIE-LABlab(50.87, 51.88, -55.45)
CIE-LCHlch(50.87, 75.94, 313.09°)
OKLaboklab(59.87% 0.114 -0.1566)
OKLCHoklch(59.87% 0.194 306)
XYZxyz(29.9161, 19.1576, 67.7539)
Luminance0.1916 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D58D9 #94D958
analogous
#5D58D9 #9D58D9 #D958D5
triadic
#9D58D9 #D99D58 #58D99D
tetradic
#9D58D9 #D95D58 #94D958 #58D5D9
square
#9D58D9 #D95D58 #94D958 #58D5D9
split-complementary
#9D58D9 #D5D958 #58D95D
monochromatic
#5F2295 #7F2DC7 #9D58D9 #BA8AE4 #D8BCF0

Accessibility & contrast

On white

4.35
#9D58D9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#9D58D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D58D9
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D58D9#FFFFFF#000000##000000
##9D58D91.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#1C77DD
Deuteranopia (green-blind)
#3F7AD6
Tritanopia (blue-blind)
#937290
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #9d58d9;
/* rgb */ color: rgb(157, 88, 217);
/* oklch */ color: oklch(59.9% 0.194 306.0);
Tailwind
colors: {
  custom: {
    50: '#be8ae5',
    500: '#9d58d9',
    950: '#000000',
  },
}
SCSS
$custom: #9d58d9;
$custom-light: #be8ae5;
$custom-dark: #000000;
JSON
{
  "hex": "#9d58d9",
  "rgb": {
    "r": 157,
    "g": 88,
    "b": 217
  },
  "hsl": {
    "h": 272.093,
    "s": 62.927,
    "l": 59.804
  },
  "oklch": {
    "l": 0.59867,
    "c": 0.19367,
    "h": 306
  },
  "luminance": 0.19157
}

Semantic roles & 50–950 ramp

primary
#9D58D9
secondary
#C5DFAD
accent
#E6428E
background
#FCF8FE
surface
#F8F0FC
border
#D1CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #9D58D9

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

Preview Lab → · Contrast checker → · Palette generator →

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