#9D58CD#9D58CD

#9D58CD is a mid, vivid violet. Relative luminance 0.186; OKLCH L 59.1% C 0.180 H 309.1°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#9D58CD
RGBrgb(157, 88, 205)
HSLhsl(275, 54%, 57%)
HSVhsv(275, 57%, 80%)
CMYKcmyk(23.4%, 57.1%, 0%, 19.6%)
CIE-LABlab(50.16, 49.13, -49.74)
CIE-LCHlch(50.16, 69.91, 314.65°)
OKLaboklab(59.12% 0.1139 -0.1399)
OKLCHoklch(59.12% 0.18 309.1)
XYZxyz(28.4116, 18.5558, 59.8307)
Luminance0.1855 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D58CD #88CD58
analogous
#6358CD #9D58CD #CD58C2
triadic
#9D58CD #CD9D58 #58CD9D
tetradic
#9D58CD #CD6358 #88CD58 #58C2CD
square
#9D58CD #CD6358 #88CD58 #58C2CD
split-complementary
#9D58CD #C2CD58 #58CD63
monochromatic
#5E2783 #7F35B2 #9D58CD #B987DB #D4B6E9

Accessibility & contrast

On white

4.46
#9D58CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#9D58CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D58CD
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D58CD#FFFFFF#000000##000000
##9D58CD1.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3074D1
Deuteranopia (green-blind)
#4A78CA
Tritanopia (blue-blind)
#966E8A
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #9d58cd;
/* rgb */ color: rgb(157, 88, 205);
/* oklch */ color: oklch(59.1% 0.180 309.1);
Tailwind
colors: {
  custom: {
    50: '#bd8add',
    500: '#9d58cd',
    950: '#000000',
  },
}
SCSS
$custom: #9d58cd;
$custom-light: #bd8add;
$custom-dark: #000000;
JSON
{
  "hex": "#9d58cd",
  "rgb": {
    "r": 157,
    "g": 88,
    "b": 205
  },
  "hsl": {
    "h": 275.385,
    "s": 53.917,
    "l": 57.451
  },
  "oklch": {
    "l": 0.59123,
    "c": 0.18035,
    "h": 309.1
  },
  "luminance": 0.18555
}

Semantic roles & 50–950 ramp

primary
#9D58CD
secondary
#BCD8A9
accent
#DD4B87
background
#FBF8FD
surface
#F7F0FB
border
#D0CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #9D58CD

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

Preview Lab → · Contrast checker → · Palette generator →

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