#9C57EC#9C57EC

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

Color values

HEX#9C57EC
RGBrgb(156, 87, 236)
HSLhsl(268, 80%, 63%)
HSVhsv(268, 63%, 93%)
CMYKcmyk(33.9%, 63.1%, 0%, 7.5%)
CIE-LABlab(51.77, 56.65, -64.74)
CIE-LCHlch(51.77, 86.02, 311.19°)
OKLaboklab(60.88% 0.113 -0.1839)
OKLCHoklch(60.88% 0.216 301.6)
XYZxyz(32.2552, 19.9403, 81.4902)
Luminance0.1994 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C57EC #A7EC57
analogous
#575CEC #9C57EC #E657EC
triadic
#9C57EC #EC9C57 #57EC9C
tetradic
#9C57EC #EC575C #A7EC57 #57ECE6
square
#9C57EC #EC575C #A7EC57 #57ECE6
split-complementary
#9C57EC #ECE657 #5CEC57
monochromatic
#5E14B4 #7C20E6 #9C57EC #BC8EF2 #DDC5F8

Accessibility & contrast

On white

4.21
#9C57EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#9C57EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C57EC
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C57EC#FFFFFF#000000##000000
##9C57EC1.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AF1
Deuteranopia (green-blind)
#1E7BE9
Tritanopia (blue-blind)
#8B789A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #9c57ec;
/* rgb */ color: rgb(156, 87, 236);
/* oklch */ color: oklch(60.9% 0.216 301.6);
Tailwind
colors: {
  custom: {
    50: '#be8af3',
    500: '#9c57ec',
    950: '#000000',
  },
}
SCSS
$custom: #9c57ec;
$custom-light: #be8af3;
$custom-dark: #000000;
JSON
{
  "hex": "#9c57ec",
  "rgb": {
    "r": 156,
    "g": 87,
    "b": 236
  },
  "hsl": {
    "h": 267.785,
    "s": 79.679,
    "l": 63.333
  },
  "oklch": {
    "l": 0.60877,
    "c": 0.21583,
    "h": 301.6
  },
  "luminance": 0.1994
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9C57EC

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

Preview Lab → · Contrast checker → · Palette generator →

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