#9C58E8#9C58E8

#9C58E8 is a mid, highly saturated violet. Relative luminance 0.199; OKLCH L 60.7% C 0.210 H 302.3°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#9C58E8
RGBrgb(156, 88, 232)
HSLhsl(268, 76%, 63%)
HSVhsv(268, 62%, 91%)
CMYKcmyk(32.8%, 62.1%, 0%, 9%)
CIE-LABlab(51.69, 55.19, -62.62)
CIE-LCHlch(51.69, 83.46, 311.39°)
OKLaboklab(60.74% 0.1121 -0.1777)
OKLCHoklch(60.74% 0.21 302.3)
XYZxyz(31.7621, 19.8735, 78.4909)
Luminance0.1987 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C58E8 #A4E858
analogous
#585CE8 #9C58E8 #E458E8
triadic
#9C58E8 #E89C58 #58E89C
tetradic
#9C58E8 #E8585C #A4E858 #58E8E4
square
#9C58E8 #E8585C #A4E858 #58E8E4
split-complementary
#9C58E8 #E8E458 #5CE858
monochromatic
#5F18AE #7C22E1 #9C58E8 #BC8EEF #DCC4F7

Accessibility & contrast

On white

4.22
#9C58E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#9C58E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C58E8
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C58E8#FFFFFF#000000##000000
##9C58E81.004.224.974.97
#FFFFFF4.221.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AED
Deuteranopia (green-blind)
#297BE5
Tritanopia (blue-blind)
#8D7798
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #9c58e8;
/* rgb */ color: rgb(156, 88, 232);
/* oklch */ color: oklch(60.7% 0.210 302.3);
Tailwind
colors: {
  custom: {
    50: '#be8bf0',
    500: '#9c58e8',
    950: '#000000',
  },
}
SCSS
$custom: #9c58e8;
$custom-light: #be8bf0;
$custom-dark: #000000;
JSON
{
  "hex": "#9c58e8",
  "rgb": {
    "r": 156,
    "g": 88,
    "b": 232
  },
  "hsl": {
    "h": 268.333,
    "s": 75.789,
    "l": 62.745
  },
  "oklch": {
    "l": 0.60739,
    "c": 0.21008,
    "h": 302.3
  },
  "luminance": 0.19874
}

Semantic roles & 50–950 ramp

primary
#9C58E8
secondary
#CFE8B4
accent
#D80E78
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #9C58E8

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

Preview Lab → · Contrast checker → · Palette generator →

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