#9D58CC#9D58CC

#9D58CC is a mid, vivid violet. Relative luminance 0.185; OKLCH L 59.1% C 0.179 H 309.4°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#9D58CC
RGBrgb(157, 88, 204)
HSLhsl(276, 53%, 57%)
HSVhsv(276, 57%, 80%)
CMYKcmyk(23%, 56.9%, 0%, 20%)
CIE-LABlab(50.11, 48.90, -49.26)
CIE-LCHlch(50.11, 69.41, 314.79°)
OKLaboklab(59.06% 0.1138 -0.1384)
OKLCHoklch(59.06% 0.179 309.4)
XYZxyz(28.2913, 18.5077, 59.1970)
Luminance0.1851 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D58CC #87CC58
analogous
#6358CC #9D58CC #CC58C1
triadic
#9D58CC #CC9D58 #58CC9D
tetradic
#9D58CC #CC6358 #87CC58 #58C1CC
square
#9D58CC #CC6358 #87CC58 #58C1CC
split-complementary
#9D58CC #C1CC58 #58CC63
monochromatic
#5D2882 #7F36B1 #9D58CC #B987DA #D4B6E9

Accessibility & contrast

On white

4.47
#9D58CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#9D58CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D58CC
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D58CC#FFFFFF#000000##000000
##9D58CC1.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3174D0
Deuteranopia (green-blind)
#4B78C9
Tritanopia (blue-blind)
#976D8A
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #9d58cc;
/* rgb */ color: rgb(157, 88, 204);
/* oklch */ color: oklch(59.1% 0.179 309.4);
Tailwind
colors: {
  custom: {
    50: '#bd8adc',
    500: '#9d58cc',
    950: '#000000',
  },
}
SCSS
$custom: #9d58cc;
$custom-light: #bd8adc;
$custom-dark: #000000;
JSON
{
  "hex": "#9d58cc",
  "rgb": {
    "r": 157,
    "g": 88,
    "b": 204
  },
  "hsl": {
    "h": 275.69,
    "s": 53.211,
    "l": 57.255
  },
  "oklch": {
    "l": 0.59062,
    "c": 0.17924,
    "h": 309.4
  },
  "luminance": 0.18507
}

Semantic roles & 50–950 ramp

primary
#9D58CC
secondary
#BBD7A8
accent
#DD4B86
background
#FBF8FD
surface
#F7F0FB
border
#D0CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #9D58CC

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

Preview Lab → · Contrast checker → · Palette generator →

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