#9D57E8#9D57E8

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

Color values

HEX#9D57E8
RGBrgb(157, 87, 232)
HSLhsl(269, 76%, 63%)
HSVhsv(269, 63%, 91%)
CMYKcmyk(32.3%, 62.5%, 0%, 9%)
CIE-LABlab(51.62, 55.91, -62.72)
CIE-LCHlch(51.62, 84.02, 311.71°)
OKLaboklab(60.71% 0.1145 -0.1779)
OKLCHoklch(60.71% 0.212 302.8)
XYZxyz(31.8749, 19.8107, 78.4729)
Luminance0.1981 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D57E8 #A2E857
analogous
#5759E8 #9D57E8 #E657E8
triadic
#9D57E8 #E89D57 #57E89D
tetradic
#9D57E8 #E85759 #A2E857 #57E8E6
square
#9D57E8 #E85759 #A2E857 #57E8E6
split-complementary
#9D57E8 #E8E657 #59E857
monochromatic
#6018AD #7E21E1 #9D57E8 #BC8DEF #DCC3F7

Accessibility & contrast

On white

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

On black

4.96
#9D57E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D57E8
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D57E8#FFFFFF#000000##000000
##9D57E81.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AED
Deuteranopia (green-blind)
#297BE5
Tritanopia (blue-blind)
#8E7698
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #9d57e8;
/* rgb */ color: rgb(157, 87, 232);
/* oklch */ color: oklch(60.7% 0.212 302.8);
Tailwind
colors: {
  custom: {
    50: '#bf8af0',
    500: '#9d57e8',
    950: '#000000',
  },
}
SCSS
$custom: #9d57e8;
$custom-light: #bf8af0;
$custom-dark: #000000;
JSON
{
  "hex": "#9d57e8",
  "rgb": {
    "r": 157,
    "g": 87,
    "b": 232
  },
  "hsl": {
    "h": 268.966,
    "s": 75.916,
    "l": 62.549
  },
  "oklch": {
    "l": 0.60713,
    "c": 0.21163,
    "h": 302.8
  },
  "luminance": 0.19811
}

Semantic roles & 50–950 ramp

primary
#9D57E8
secondary
#CEE8B3
accent
#D80D76
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #9D57E8

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

Preview Lab → · Contrast checker → · Palette generator →

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