#9B57DD#9B57DD

#9B57DD is a mid, vivid violet. Relative luminance 0.190; OKLCH L 59.8% C 0.199 H 304.4°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#9B57DD
RGBrgb(155, 87, 221)
HSLhsl(270, 66%, 60%)
HSVhsv(270, 61%, 87%)
CMYKcmyk(29.9%, 60.6%, 0%, 13.3%)
CIE-LABlab(50.69, 52.86, -58.02)
CIE-LCHlch(50.69, 78.49, 312.34°)
OKLaboklab(59.77% 0.1125 -0.1642)
OKLCHoklch(59.77% 0.199 304.4)
XYZxyz(29.9740, 19.0055, 70.4819)
Luminance0.1900 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B57DD #99DD57
analogous
#5857DD #9B57DD #DD57DC
triadic
#9B57DD #DD9B57 #57DD9B
tetradic
#9B57DD #DD5857 #99DD57 #57DCDD
square
#9B57DD #DD5857 #99DD57 #57DCDD
split-complementary
#9B57DD #DCDD57 #57DD58
monochromatic
#5E1F9A #7D2ACD #9B57DD #B98AE7 #D8BDF2

Accessibility & contrast

On white

4.37
#9B57DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#9B57DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B57DD
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B57DD#FFFFFF#000000##000000
##9B57DD1.004.374.804.80
#FFFFFF4.371.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0777E1
Deuteranopia (green-blind)
#3779DA
Tritanopia (blue-blind)
#8F7292
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #9b57dd;
/* rgb */ color: rgb(155, 87, 221);
/* oklch */ color: oklch(59.8% 0.199 304.4);
Tailwind
colors: {
  custom: {
    50: '#bd8ae8',
    500: '#9b57dd',
    950: '#000000',
  },
}
SCSS
$custom: #9b57dd;
$custom-light: #bd8ae8;
$custom-dark: #000000;
JSON
{
  "hex": "#9b57dd",
  "rgb": {
    "r": 155,
    "g": 87,
    "b": 221
  },
  "hsl": {
    "h": 270.448,
    "s": 66.337,
    "l": 60.392
  },
  "oklch": {
    "l": 0.59765,
    "c": 0.19903,
    "h": 304.4
  },
  "luminance": 0.19005
}

Semantic roles & 50–950 ramp

primary
#9B57DD
secondary
#C8E1AE
accent
#CE1771
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #9B57DD

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

Preview Lab → · Contrast checker → · Palette generator →

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