#9D57EE#9D57EE

#9D57EE is a mid, highly saturated violet. Relative luminance 0.202; OKLCH L 61.1% C 0.218 H 301.5°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#9D57EE
RGBrgb(157, 87, 238)
HSLhsl(268, 82%, 64%)
HSVhsv(268, 63%, 93%)
CMYKcmyk(34%, 63.4%, 0%, 6.7%)
CIE-LABlab(52.01, 57.34, -65.46)
CIE-LCHlch(52.01, 87.02, 311.21°)
OKLaboklab(61.12% 0.1141 -0.186)
OKLCHoklch(61.12% 0.218 301.5)
XYZxyz(32.7418, 20.1574, 83.0382)
Luminance0.2016 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D57EE #A8EE57
analogous
#575CEE #9D57EE #E957EE
triadic
#9D57EE #EE9D57 #57EE9D
tetradic
#9D57EE #EE575C #A8EE57 #57EEE9
square
#9D57EE #EE575C #A8EE57 #57EEE9
split-complementary
#9D57EE #EEE957 #5CEE57
monochromatic
#5F13B8 #7D1FE8 #9D57EE #BD8FF4 #DEC6F9

Accessibility & contrast

On white

4.17
#9D57EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#9D57EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D57EE
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D57EE#FFFFFF#000000##000000
##9D57EE1.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BF3
Deuteranopia (green-blind)
#1B7BEB
Tritanopia (blue-blind)
#8C789B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #9d57ee;
/* rgb */ color: rgb(157, 87, 238);
/* oklch */ color: oklch(61.1% 0.218 301.5);
Tailwind
colors: {
  custom: {
    50: '#bf8af4',
    500: '#9d57ee',
    950: '#000000',
  },
}
SCSS
$custom: #9d57ee;
$custom-light: #bf8af4;
$custom-dark: #000000;
JSON
{
  "hex": "#9d57ee",
  "rgb": {
    "r": 157,
    "g": 87,
    "b": 238
  },
  "hsl": {
    "h": 267.815,
    "s": 81.622,
    "l": 63.725
  },
  "oklch": {
    "l": 0.61121,
    "c": 0.2182,
    "h": 301.5
  },
  "luminance": 0.20158
}

Semantic roles & 50–950 ramp

primary
#9D57EE
secondary
#D2EBB6
accent
#DE087B
background
#FCF8FF
surface
#F8F0FE
border
#D1CBD6
text
#130C17
muted
#827D85

Preview Lab

Preview with #9D57EE

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

Preview Lab → · Contrast checker → · Palette generator →

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