#9C58DC#9C58DC

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

Color values

HEX#9C58DC
RGBrgb(156, 88, 220)
HSLhsl(271, 65%, 60%)
HSVhsv(271, 60%, 86%)
CMYKcmyk(29.1%, 60%, 0%, 13.7%)
CIE-LABlab(50.94, 52.34, -57.06)
CIE-LCHlch(50.94, 77.43, 312.53°)
OKLaboklab(59.95% 0.1126 -0.1613)
OKLCHoklch(59.95% 0.197 304.9)
XYZxyz(30.1155, 19.2148, 69.8186)
Luminance0.1921 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C58DC #98DC58
analogous
#5A58DC #9C58DC #DC58DA
triadic
#9C58DC #DC9C58 #58DC9C
tetradic
#9C58DC #DC5A58 #98DC58 #58DADC
square
#9C58DC #DC5A58 #98DC58 #58DADC
split-complementary
#9C58DC #DADC58 #58DC5A
monochromatic
#5F2099 #7E2BCC #9C58DC #BA8BE7 #D8BDF1

Accessibility & contrast

On white

4.34
#9C58DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#9C58DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C58DC
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C58DC#FFFFFF#000000##000000
##9C58DC1.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#1377E0
Deuteranopia (green-blind)
#3A79D9
Tritanopia (blue-blind)
#917392
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #9c58dc;
/* rgb */ color: rgb(156, 88, 220);
/* oklch */ color: oklch(59.9% 0.197 304.9);
Tailwind
colors: {
  custom: {
    50: '#bd8ae8',
    500: '#9c58dc',
    950: '#000000',
  },
}
SCSS
$custom: #9c58dc;
$custom-light: #bd8ae8;
$custom-dark: #000000;
JSON
{
  "hex": "#9c58dc",
  "rgb": {
    "r": 156,
    "g": 88,
    "b": 220
  },
  "hsl": {
    "h": 270.909,
    "s": 65.347,
    "l": 60.392
  },
  "oklch": {
    "l": 0.59948,
    "c": 0.19674,
    "h": 304.9
  },
  "luminance": 0.19215
}

Semantic roles & 50–950 ramp

primary
#9C58DC
secondary
#C7E1AF
accent
#CD1870
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #9C58DC

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

Preview Lab → · Contrast checker → · Palette generator →

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