#9D57CD#9D57CD

#9D57CD is a mid, vivid violet. Relative luminance 0.184; OKLCH L 59.0% C 0.182 H 309.3°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#9D57CD
RGBrgb(157, 87, 205)
HSLhsl(276, 54%, 57%)
HSVhsv(276, 58%, 80%)
CMYKcmyk(23.4%, 57.6%, 0%, 19.6%)
CIE-LABlab(49.97, 49.65, -50.05)
CIE-LCHlch(49.97, 70.50, 314.77°)
OKLaboklab(58.98% 0.1151 -0.1408)
OKLCHoklch(58.98% 0.182 309.3)
XYZxyz(28.3301, 18.3927, 59.8035)
Luminance0.1839 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D57CD #87CD57
analogous
#6257CD #9D57CD #CD57C2
triadic
#9D57CD #CD9D57 #57CD9D
tetradic
#9D57CD #CD6257 #87CD57 #57C2CD
square
#9D57CD #CD6257 #87CD57 #57C2CD
split-complementary
#9D57CD #C2CD57 #57CD62
monochromatic
#5D2783 #7F35B2 #9D57CD #B986DB #D4B5E9

Accessibility & contrast

On white

4.49
#9D57CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#9D57CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D57CD
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D57CD#FFFFFF#000000##000000
##9D57CD1.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D74D1
Deuteranopia (green-blind)
#4978CA
Tritanopia (blue-blind)
#966D8A
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #9d57cd;
/* rgb */ color: rgb(157, 87, 205);
/* oklch */ color: oklch(59.0% 0.182 309.3);
Tailwind
colors: {
  custom: {
    50: '#bd89dd',
    500: '#9d57cd',
    950: '#000000',
  },
}
SCSS
$custom: #9d57cd;
$custom-light: #bd89dd;
$custom-dark: #000000;
JSON
{
  "hex": "#9d57cd",
  "rgb": {
    "r": 157,
    "g": 87,
    "b": 205
  },
  "hsl": {
    "h": 275.593,
    "s": 54.128,
    "l": 57.255
  },
  "oklch": {
    "l": 0.5898,
    "c": 0.18185,
    "h": 309.3
  },
  "luminance": 0.18392
}

Semantic roles & 50–950 ramp

primary
#9D57CD
secondary
#BBD8A8
accent
#DD4A86
background
#FBF8FD
surface
#F7F0FB
border
#D0CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #9D57CD

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

Preview Lab → · Contrast checker → · Palette generator →

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