#9C58CD#9C58CD

#9C58CD is a mid, vivid violet. Relative luminance 0.185; OKLCH L 59.0% C 0.180 H 308.7°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#9C58CD
RGBrgb(156, 88, 205)
HSLhsl(275, 54%, 57%)
HSVhsv(275, 57%, 80%)
CMYKcmyk(23.9%, 57.1%, 0%, 19.6%)
CIE-LABlab(50.04, 48.88, -49.94)
CIE-LCHlch(50.04, 69.88, 314.39°)
OKLaboklab(59.01% 0.1126 -0.1405)
OKLCHoklch(59.01% 0.18 308.7)
XYZxyz(28.2173, 18.4556, 59.8216)
Luminance0.1845 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C58CD #89CD58
analogous
#6258CD #9C58CD #CD58C3
triadic
#9C58CD #CD9C58 #58CD9C
tetradic
#9C58CD #CD6258 #89CD58 #58C3CD
square
#9C58CD #CD6258 #89CD58 #58C3CD
split-complementary
#9C58CD #C3CD58 #58CD62
monochromatic
#5D2783 #7E35B2 #9C58CD #B887DB #D4B6E9

Accessibility & contrast

On white

4.48
#9C58CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#9C58CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C58CD
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C58CD#FFFFFF#000000##000000
##9C58CD1.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F74D1
Deuteranopia (green-blind)
#4978CA
Tritanopia (blue-blind)
#956E8A
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #9c58cd;
/* rgb */ color: rgb(156, 88, 205);
/* oklch */ color: oklch(59.0% 0.180 308.7);
Tailwind
colors: {
  custom: {
    50: '#bc8add',
    500: '#9c58cd',
    950: '#000000',
  },
}
SCSS
$custom: #9c58cd;
$custom-light: #bc8add;
$custom-dark: #000000;
JSON
{
  "hex": "#9c58cd",
  "rgb": {
    "r": 156,
    "g": 88,
    "b": 205
  },
  "hsl": {
    "h": 274.872,
    "s": 53.917,
    "l": 57.451
  },
  "oklch": {
    "l": 0.59009,
    "c": 0.18003,
    "h": 308.7
  },
  "luminance": 0.18455
}

Semantic roles & 50–950 ramp

primary
#9C58CD
secondary
#BDD8A9
accent
#DD4B88
background
#FBF8FD
surface
#F7F0FB
border
#D0CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #9C58CD

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

Preview Lab → · Contrast checker → · Palette generator →

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