#9C58E7#9C58E7

#9C58E7 is a mid, highly saturated violet. Relative luminance 0.198; OKLCH L 60.7% C 0.209 H 302.5°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#9C58E7
RGBrgb(156, 88, 231)
HSLhsl(269, 75%, 63%)
HSVhsv(269, 62%, 91%)
CMYKcmyk(32.5%, 61.9%, 0%, 9.4%)
CIE-LABlab(51.63, 54.95, -62.16)
CIE-LCHlch(51.63, 82.96, 311.48°)
OKLaboklab(60.67% 0.1122 -0.1763)
OKLCHoklch(60.67% 0.209 302.5)
XYZxyz(31.6205, 19.8168, 77.7450)
Luminance0.1982 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C58E7 #A3E758
analogous
#585CE7 #9C58E7 #E358E7
triadic
#9C58E7 #E79C58 #58E79C
tetradic
#9C58E7 #E7585C #A3E758 #58E7E3
square
#9C58E7 #E7585C #A3E758 #58E7E3
split-complementary
#9C58E7 #E7E358 #5CE758
monochromatic
#5F19AC #7C22DF #9C58E7 #BC8EEF #DBC3F6

Accessibility & contrast

On white

4.23
#9C58E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#9C58E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C58E7
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C58E7#FFFFFF#000000##000000
##9C58E71.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AEB
Deuteranopia (green-blind)
#2B7BE4
Tritanopia (blue-blind)
#8D7698
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #9c58e7;
/* rgb */ color: rgb(156, 88, 231);
/* oklch */ color: oklch(60.7% 0.209 302.5);
Tailwind
colors: {
  custom: {
    50: '#be8bef',
    500: '#9c58e7',
    950: '#000000',
  },
}
SCSS
$custom: #9c58e7;
$custom-light: #be8bef;
$custom-dark: #000000;
JSON
{
  "hex": "#9c58e7",
  "rgb": {
    "r": 156,
    "g": 88,
    "b": 231
  },
  "hsl": {
    "h": 268.531,
    "s": 74.869,
    "l": 62.549
  },
  "oklch": {
    "l": 0.60672,
    "c": 0.20897,
    "h": 302.5
  },
  "luminance": 0.19817
}

Semantic roles & 50–950 ramp

primary
#9C58E7
secondary
#CFE7B3
accent
#D70E78
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #9C58E7

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

Preview Lab → · Contrast checker → · Palette generator →

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