#9C57EF#9C57EF

#9C57EF is a mid, highly saturated violet. Relative luminance 0.201; OKLCH L 61.1% C 0.219 H 301.0°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#9C57EF
RGBrgb(156, 87, 239)
HSLhsl(267, 83%, 64%)
HSVhsv(267, 64%, 94%)
CMYKcmyk(34.7%, 63.6%, 0%, 6.3%)
CIE-LABlab(51.97, 57.37, -66.10)
CIE-LCHlch(51.97, 87.52, 310.95°)
OKLaboklab(61.08% 0.1127 -0.1879)
OKLCHoklch(61.08% 0.219 301)
XYZxyz(32.6947, 20.1161, 83.8049)
Luminance0.2012 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C57EF #AAEF57
analogous
#575EEF #9C57EF #E857EF
triadic
#9C57EF #EF9C57 #57EF9C
tetradic
#9C57EF #EF575E #AAEF57 #57EFE8
square
#9C57EF #EF575E #AAEF57 #57EFE8
split-complementary
#9C57EF #EFE857 #5EEF57
monochromatic
#5E12BA #7B1FEA #9C57EF #BD8FF4 #DEC7FA

Accessibility & contrast

On white

4.18
#9C57EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#9C57EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C57EF
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C57EF#FFFFFF#000000##000000
##9C57EF1.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BF4
Deuteranopia (green-blind)
#157BEC
Tritanopia (blue-blind)
#8A799B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #9c57ef;
/* rgb */ color: rgb(156, 87, 239);
/* oklch */ color: oklch(61.1% 0.219 301.0);
Tailwind
colors: {
  custom: {
    50: '#be8af5',
    500: '#9c57ef',
    950: '#000000',
  },
}
SCSS
$custom: #9c57ef;
$custom-light: #be8af5;
$custom-dark: #000000;
JSON
{
  "hex": "#9c57ef",
  "rgb": {
    "r": 156,
    "g": 87,
    "b": 239
  },
  "hsl": {
    "h": 267.237,
    "s": 82.609,
    "l": 63.922
  },
  "oklch": {
    "l": 0.61083,
    "c": 0.21912,
    "h": 301
  },
  "luminance": 0.20116
}

Semantic roles & 50–950 ramp

primary
#9C57EF
secondary
#D3ECB6
accent
#DF067D
background
#FCF8FF
surface
#F8F0FE
border
#D1CBD6
text
#130C17
muted
#827D85

Preview Lab

Preview with #9C57EF

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

Preview Lab → · Contrast checker → · Palette generator →

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