#9C58E6#9C58E6

#9C58E6 is a mid, highly saturated violet. Relative luminance 0.198; OKLCH L 60.6% C 0.208 H 302.7°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#9C58E6
RGBrgb(156, 88, 230)
HSLhsl(269, 74%, 62%)
HSVhsv(269, 62%, 90%)
CMYKcmyk(32.2%, 61.7%, 0%, 9.8%)
CIE-LABlab(51.57, 54.71, -61.70)
CIE-LCHlch(51.57, 82.46, 311.57°)
OKLaboklab(60.61% 0.1122 -0.175)
OKLCHoklch(60.61% 0.208 302.7)
XYZxyz(31.4796, 19.7605, 77.0033)
Luminance0.1976 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C58E6 #A2E658
analogous
#585BE6 #9C58E6 #E358E6
triadic
#9C58E6 #E69C58 #58E69C
tetradic
#9C58E6 #E6585B #A2E658 #58E6E3
square
#9C58E6 #E6585B #A2E658 #58E6E3
split-complementary
#9C58E6 #E6E358 #5BE658
monochromatic
#5F19AA #7C23DE #9C58E6 #BC8DEE #DBC2F6

Accessibility & contrast

On white

4.24
#9C58E6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#9C58E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C58E6
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C58E6#FFFFFF#000000##000000
##9C58E61.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AEA
Deuteranopia (green-blind)
#2D7AE3
Tritanopia (blue-blind)
#8E7697
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #9c58e6;
/* rgb */ color: rgb(156, 88, 230);
/* oklch */ color: oklch(60.6% 0.208 302.7);
Tailwind
colors: {
  custom: {
    50: '#be8bef',
    500: '#9c58e6',
    950: '#000000',
  },
}
SCSS
$custom: #9c58e6;
$custom-light: #be8bef;
$custom-dark: #000000;
JSON
{
  "hex": "#9c58e6",
  "rgb": {
    "r": 156,
    "g": 88,
    "b": 230
  },
  "hsl": {
    "h": 268.732,
    "s": 73.958,
    "l": 62.353
  },
  "oklch": {
    "l": 0.60605,
    "c": 0.20786,
    "h": 302.7
  },
  "luminance": 0.19761
}

Semantic roles & 50–950 ramp

primary
#9C58E6
secondary
#CEE7B3
accent
#D60F77
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #9C58E6

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

Preview Lab → · Contrast checker → · Palette generator →

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