#9C57E7#9C57E7

#9C57E7 is a mid, highly saturated violet. Relative luminance 0.197; OKLCH L 60.5% C 0.210 H 302.6°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#9C57E7
RGBrgb(156, 87, 231)
HSLhsl(269, 75%, 62%)
HSVhsv(269, 62%, 91%)
CMYKcmyk(32.5%, 62.3%, 0%, 9.4%)
CIE-LABlab(51.44, 55.45, -62.46)
CIE-LCHlch(51.44, 83.52, 311.60°)
OKLaboklab(60.54% 0.1133 -0.1772)
OKLCHoklch(60.54% 0.21 302.6)
XYZxyz(31.5390, 19.6538, 77.7178)
Luminance0.1965 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C57E7 #A2E757
analogous
#575AE7 #9C57E7 #E457E7
triadic
#9C57E7 #E79C57 #57E79C
tetradic
#9C57E7 #E7575A #A2E757 #57E7E4
square
#9C57E7 #E7575A #A2E757 #57E7E4
split-complementary
#9C57E7 #E7E457 #5AE757
monochromatic
#5F18AB #7C21DF #9C57E7 #BC8DEF #DBC2F6

Accessibility & contrast

On white

4.26
#9C57E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#9C57E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C57E7
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C57E7#FFFFFF#000000##000000
##9C57E71.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079EB
Deuteranopia (green-blind)
#297AE4
Tritanopia (blue-blind)
#8D7697
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #9c57e7;
/* rgb */ color: rgb(156, 87, 231);
/* oklch */ color: oklch(60.5% 0.210 302.6);
Tailwind
colors: {
  custom: {
    50: '#be8aef',
    500: '#9c57e7',
    950: '#000000',
  },
}
SCSS
$custom: #9c57e7;
$custom-light: #be8aef;
$custom-dark: #000000;
JSON
{
  "hex": "#9c57e7",
  "rgb": {
    "r": 156,
    "g": 87,
    "b": 231
  },
  "hsl": {
    "h": 268.75,
    "s": 75,
    "l": 62.353
  },
  "oklch": {
    "l": 0.60537,
    "c": 0.21032,
    "h": 302.6
  },
  "luminance": 0.19654
}

Semantic roles & 50–950 ramp

primary
#9C57E7
secondary
#CEE7B3
accent
#D70E77
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #9C57E7

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

Preview Lab → · Contrast checker → · Palette generator →

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