#9C58DB#9C58DB

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

Color values

HEX#9C58DB
RGBrgb(156, 88, 219)
HSLhsl(271, 65%, 60%)
HSVhsv(271, 60%, 86%)
CMYKcmyk(28.8%, 59.8%, 0%, 14.1%)
CIE-LABlab(50.88, 52.11, -56.59)
CIE-LCHlch(50.88, 76.93, 312.64°)
OKLaboklab(59.88% 0.1126 -0.16)
OKLCHoklch(59.88% 0.196 305.2)
XYZxyz(29.9834, 19.1620, 69.1232)
Luminance0.1916 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C58DB #97DB58
analogous
#5A58DB #9C58DB #DB58D8
triadic
#9C58DB #DB9C58 #58DB9C
tetradic
#9C58DB #DB5A58 #97DB58 #58D8DB
square
#9C58DB #DB5A58 #97DB58 #58D8DB
split-complementary
#9C58DB #D8DB58 #58DB5A
monochromatic
#5F2198 #7E2CCA #9C58DB #BA8AE6 #D8BDF1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9C58DB#FFFFFF#000000##000000
##9C58DB1.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)
#1677DF
Deuteranopia (green-blind)
#3C79D8
Tritanopia (blue-blind)
#917291
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #9c58db;
/* rgb */ color: rgb(156, 88, 219);
/* oklch */ color: oklch(59.9% 0.196 305.2);
Tailwind
colors: {
  custom: {
    50: '#bd8ae7',
    500: '#9c58db',
    950: '#000000',
  },
}
SCSS
$custom: #9c58db;
$custom-light: #bd8ae7;
$custom-dark: #000000;
JSON
{
  "hex": "#9c58db",
  "rgb": {
    "r": 156,
    "g": 88,
    "b": 219
  },
  "hsl": {
    "h": 271.145,
    "s": 64.532,
    "l": 60.196
  },
  "oklch": {
    "l": 0.59884,
    "c": 0.19564,
    "h": 305.2
  },
  "luminance": 0.19162
}

Semantic roles & 50–950 ramp

primary
#9C58DB
secondary
#C6E1AE
accent
#CC196F
background
#FCF8FE
surface
#F8F0FC
border
#D1CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #9C58DB

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

Preview Lab → · Contrast checker → · Palette generator →

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