#9A58DC#9A58DC

#9A58DC is a mid, vivid violet. Relative luminance 0.190; OKLCH L 59.7% C 0.196 H 304.1°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#9A58DC
RGBrgb(154, 88, 220)
HSLhsl(270, 65%, 60%)
HSVhsv(270, 60%, 86%)
CMYKcmyk(30%, 60%, 0%, 13.7%)
CIE-LABlab(50.71, 51.88, -57.44)
CIE-LCHlch(50.71, 77.40, 312.09°)
OKLaboklab(59.73% 0.1101 -0.1625)
OKLCHoklch(59.73% 0.196 304.1)
XYZxyz(29.7315, 19.0169, 69.8006)
Luminance0.1902 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A58DC #9ADC58
analogous
#5858DC #9A58DC #DC58DC
triadic
#9A58DC #DC9A58 #58DC9A
tetradic
#9A58DC #DC5858 #9ADC58 #58DCDC
square
#9A58DC #DC5858 #9ADC58 #58DCDC
split-complementary
#9A58DC #DCDC58 #58DC58
monochromatic
#5D2099 #7B2BCC #9A58DC #B98BE7 #D7BDF1

Accessibility & contrast

On white

4.37
#9A58DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#9A58DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A58DC
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A58DC#FFFFFF#000000##000000
##9A58DC1.004.374.804.80
#FFFFFF4.371.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#1077E0
Deuteranopia (green-blind)
#3879D9
Tritanopia (blue-blind)
#8E7392
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #9a58dc;
/* rgb */ color: rgb(154, 88, 220);
/* oklch */ color: oklch(59.7% 0.196 304.1);
Tailwind
colors: {
  custom: {
    50: '#bc8ae8',
    500: '#9a58dc',
    950: '#000000',
  },
}
SCSS
$custom: #9a58dc;
$custom-light: #bc8ae8;
$custom-dark: #000000;
JSON
{
  "hex": "#9a58dc",
  "rgb": {
    "r": 154,
    "g": 88,
    "b": 220
  },
  "hsl": {
    "h": 270,
    "s": 65.347,
    "l": 60.392
  },
  "oklch": {
    "l": 0.59729,
    "c": 0.19627,
    "h": 304.1
  },
  "luminance": 0.19017
}

Semantic roles & 50–950 ramp

primary
#9A58DC
secondary
#C8E1AF
accent
#CD1873
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #9A58DC

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

Preview Lab → · Contrast checker → · Palette generator →

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