#9C57E2#9C57E2

#9C57E2 is a mid, highly saturated violet. Relative luminance 0.194; OKLCH L 60.2% C 0.205 H 303.7°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#9C57E2
RGBrgb(156, 87, 226)
HSLhsl(270, 71%, 61%)
HSVhsv(270, 62%, 89%)
CMYKcmyk(31%, 61.5%, 0%, 11.4%)
CIE-LABlab(51.12, 54.27, -60.15)
CIE-LCHlch(51.12, 81.01, 312.06°)
OKLaboklab(60.2% 0.1136 -0.1704)
OKLCHoklch(60.2% 0.205 303.7)
XYZxyz(30.8429, 19.3754, 74.0517)
Luminance0.1938 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C57E2 #9DE257
analogous
#5758E2 #9C57E2 #E157E2
triadic
#9C57E2 #E29C57 #57E29C
tetradic
#9C57E2 #E25758 #9DE257 #57E2E1
square
#9C57E2 #E25758 #9DE257 #57E2E1
split-complementary
#9C57E2 #E2E157 #58E257
monochromatic
#5F1CA3 #7D25D7 #9C57E2 #BB8BEB #DABFF4

Accessibility & contrast

On white

4.31
#9C57E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#9C57E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C57E2
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C57E2#FFFFFF#000000##000000
##9C57E21.004.314.884.88
#FFFFFF4.311.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078E6
Deuteranopia (green-blind)
#317ADF
Tritanopia (blue-blind)
#8F7495
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #9c57e2;
/* rgb */ color: rgb(156, 87, 226);
/* oklch */ color: oklch(60.2% 0.205 303.7);
Tailwind
colors: {
  custom: {
    50: '#be8aec',
    500: '#9c57e2',
    950: '#000000',
  },
}
SCSS
$custom: #9c57e2;
$custom-light: #be8aec;
$custom-dark: #000000;
JSON
{
  "hex": "#9c57e2",
  "rgb": {
    "r": 156,
    "g": 87,
    "b": 226
  },
  "hsl": {
    "h": 269.784,
    "s": 70.558,
    "l": 61.373
  },
  "oklch": {
    "l": 0.60203,
    "c": 0.2048,
    "h": 303.7
  },
  "luminance": 0.19375
}

Semantic roles & 50–950 ramp

primary
#9C57E2
secondary
#CBE4B0
accent
#D31373
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #9C57E2

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

Preview Lab → · Contrast checker → · Palette generator →

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