#9C58EC#9C58EC

#9C58EC is a mid, highly saturated violet. Relative luminance 0.201; OKLCH L 61.0% C 0.215 H 301.4°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#9C58EC
RGBrgb(156, 88, 236)
HSLhsl(268, 80%, 64%)
HSVhsv(268, 63%, 93%)
CMYKcmyk(33.9%, 62.7%, 0%, 7.5%)
CIE-LABlab(51.95, 56.15, -64.44)
CIE-LCHlch(51.95, 85.47, 311.06°)
OKLaboklab(61.01% 0.1119 -0.183)
OKLCHoklch(61.01% 0.215 301.4)
XYZxyz(32.3367, 20.1034, 81.5173)
Luminance0.2010 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C58EC #A8EC58
analogous
#585EEC #9C58EC #E658EC
triadic
#9C58EC #EC9C58 #58EC9C
tetradic
#9C58EC #EC585E #A8EC58 #58ECE6
square
#9C58EC #EC585E #A8EC58 #58ECE6
split-complementary
#9C58EC #ECE658 #5EEC58
monochromatic
#5E15B5 #7B21E6 #9C58EC #BD8FF2 #DDC6F9

Accessibility & contrast

On white

4.18
#9C58EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#9C58EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C58EC
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C58EC#FFFFFF#000000##000000
##9C58EC1.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BF1
Deuteranopia (green-blind)
#217BE9
Tritanopia (blue-blind)
#8B789A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #9c58ec;
/* rgb */ color: rgb(156, 88, 236);
/* oklch */ color: oklch(61.0% 0.215 301.4);
Tailwind
colors: {
  custom: {
    50: '#be8bf3',
    500: '#9c58ec',
    950: '#000000',
  },
}
SCSS
$custom: #9c58ec;
$custom-light: #be8bf3;
$custom-dark: #000000;
JSON
{
  "hex": "#9c58ec",
  "rgb": {
    "r": 156,
    "g": 88,
    "b": 236
  },
  "hsl": {
    "h": 267.568,
    "s": 79.57,
    "l": 63.529
  },
  "oklch": {
    "l": 0.6101,
    "c": 0.21451,
    "h": 301.4
  },
  "luminance": 0.20103
}

Semantic roles & 50–950 ramp

primary
#9C58EC
secondary
#D2EAB6
accent
#DC0A7B
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #9C58EC

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

Preview Lab → · Contrast checker → · Palette generator →

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