#9C58EB#9C58EB

#9C58EB is a mid, highly saturated violet. Relative luminance 0.200; OKLCH L 60.9% C 0.213 H 301.6°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#9C58EB
RGBrgb(156, 88, 235)
HSLhsl(268, 79%, 63%)
HSVhsv(268, 63%, 92%)
CMYKcmyk(33.6%, 62.6%, 0%, 7.8%)
CIE-LABlab(51.89, 55.91, -63.99)
CIE-LCHlch(51.89, 84.97, 311.14°)
OKLaboklab(60.94% 0.1119 -0.1817)
OKLCHoklch(60.94% 0.213 301.6)
XYZxyz(32.1919, 20.0454, 80.7543)
Luminance0.2005 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C58EB #A7EB58
analogous
#585DEB #9C58EB #E558EB
triadic
#9C58EB #EB9C58 #58EB9C
tetradic
#9C58EB #EB585D #A7EB58 #58EBE5
square
#9C58EB #EB585D #A7EB58 #58EBE5
split-complementary
#9C58EB #EBE558 #5DEB58
monochromatic
#5E15B3 #7C21E4 #9C58EB #BC8FF2 #DDC5F8

Accessibility & contrast

On white

4.19
#9C58EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#9C58EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C58EB
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C58EB#FFFFFF#000000##000000
##9C58EB1.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BF0
Deuteranopia (green-blind)
#237BE8
Tritanopia (blue-blind)
#8C789A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #9c58eb;
/* rgb */ color: rgb(156, 88, 235);
/* oklch */ color: oklch(60.9% 0.213 301.6);
Tailwind
colors: {
  custom: {
    50: '#be8bf2',
    500: '#9c58eb',
    950: '#000000',
  },
}
SCSS
$custom: #9c58eb;
$custom-light: #be8bf2;
$custom-dark: #000000;
JSON
{
  "hex": "#9c58eb",
  "rgb": {
    "r": 156,
    "g": 88,
    "b": 235
  },
  "hsl": {
    "h": 267.755,
    "s": 78.61,
    "l": 63.333
  },
  "oklch": {
    "l": 0.60942,
    "c": 0.2134,
    "h": 301.6
  },
  "luminance": 0.20046
}

Semantic roles & 50–950 ramp

primary
#9C58EB
secondary
#D1EAB5
accent
#DB0B7B
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #9C58EB

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

Preview Lab → · Contrast checker → · Palette generator →

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