#9C57EA#9C57EA

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

Color values

HEX#9C57EA
RGBrgb(156, 87, 234)
HSLhsl(268, 78%, 63%)
HSVhsv(268, 63%, 92%)
CMYKcmyk(33.3%, 62.8%, 0%, 8.2%)
CIE-LABlab(51.64, 56.17, -63.83)
CIE-LCHlch(51.64, 85.02, 311.35°)
OKLaboklab(60.74% 0.1131 -0.1812)
OKLCHoklch(60.74% 0.214 302)
XYZxyz(31.9663, 19.8247, 79.9684)
Luminance0.1983 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C57EA #A5EA57
analogous
#575BEA #9C57EA #E557EA
triadic
#9C57EA #EA9C57 #57EA9C
tetradic
#9C57EA #EA575B #A5EA57 #57EAE5
square
#9C57EA #EA575B #A5EA57 #57EAE5
split-complementary
#9C57EA #EAE557 #5BEA57
monochromatic
#5F16B1 #7C21E3 #9C57EA #BC8DF1 #DCC4F8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9C57EA#FFFFFF#000000##000000
##9C57EA1.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AEF
Deuteranopia (green-blind)
#237AE7
Tritanopia (blue-blind)
#8C7799
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #9c57ea;
/* rgb */ color: rgb(156, 87, 234);
/* oklch */ color: oklch(60.7% 0.214 302.0);
Tailwind
colors: {
  custom: {
    50: '#be8af2',
    500: '#9c57ea',
    950: '#000000',
  },
}
SCSS
$custom: #9c57ea;
$custom-light: #be8af2;
$custom-dark: #000000;
JSON
{
  "hex": "#9c57ea",
  "rgb": {
    "r": 156,
    "g": 87,
    "b": 234
  },
  "hsl": {
    "h": 268.163,
    "s": 77.778,
    "l": 62.941
  },
  "oklch": {
    "l": 0.6074,
    "c": 0.21362,
    "h": 302
  },
  "luminance": 0.19825
}

Semantic roles & 50–950 ramp

primary
#9C57EA
secondary
#D0E9B4
accent
#DA0B79
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #9C57EA

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

Preview Lab → · Contrast checker → · Palette generator →

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