#9C57E5#9C57E5

#9C57E5 is a mid, highly saturated violet. Relative luminance 0.195; OKLCH L 60.4% C 0.208 H 303.0°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#9C57E5
RGBrgb(156, 87, 229)
HSLhsl(269, 73%, 62%)
HSVhsv(269, 62%, 90%)
CMYKcmyk(31.9%, 62%, 0%, 10.2%)
CIE-LABlab(51.31, 54.98, -61.54)
CIE-LCHlch(51.31, 82.52, 311.78°)
OKLaboklab(60.4% 0.1134 -0.1745)
OKLCHoklch(60.4% 0.208 303)
XYZxyz(31.2581, 19.5415, 76.2387)
Luminance0.1954 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C57E5 #A0E557
analogous
#5759E5 #9C57E5 #E357E5
triadic
#9C57E5 #E59C57 #57E59C
tetradic
#9C57E5 #E55759 #A0E557 #57E5E3
square
#9C57E5 #E55759 #A0E557 #57E5E3
split-complementary
#9C57E5 #E5E357 #59E557
monochromatic
#5F1AA8 #7D22DD #9C57E5 #BB8CED #DAC1F5

Accessibility & contrast

On white

4.28
#9C57E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#9C57E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C57E5
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C57E5#FFFFFF#000000##000000
##9C57E51.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079E9
Deuteranopia (green-blind)
#2C7AE2
Tritanopia (blue-blind)
#8E7596
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #9c57e5;
/* rgb */ color: rgb(156, 87, 229);
/* oklch */ color: oklch(60.4% 0.208 303.0);
Tailwind
colors: {
  custom: {
    50: '#be8aee',
    500: '#9c57e5',
    950: '#000000',
  },
}
SCSS
$custom: #9c57e5;
$custom-light: #be8aee;
$custom-dark: #000000;
JSON
{
  "hex": "#9c57e5",
  "rgb": {
    "r": 156,
    "g": 87,
    "b": 229
  },
  "hsl": {
    "h": 269.155,
    "s": 73.196,
    "l": 61.961
  },
  "oklch": {
    "l": 0.60403,
    "c": 0.20812,
    "h": 303
  },
  "luminance": 0.19541
}

Semantic roles & 50–950 ramp

primary
#9C57E5
secondary
#CDE6B2
accent
#D51076
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #9C57E5

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

Preview Lab → · Contrast checker → · Palette generator →

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