#9B57DC#9B57DC

#9B57DC is a mid, vivid violet. Relative luminance 0.190; OKLCH L 59.7% C 0.198 H 304.6°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#9B57DC
RGBrgb(155, 87, 220)
HSLhsl(271, 66%, 60%)
HSVhsv(271, 60%, 86%)
CMYKcmyk(29.5%, 60.5%, 0%, 13.7%)
CIE-LABlab(50.63, 52.63, -57.55)
CIE-LCHlch(50.63, 77.99, 312.44°)
OKLaboklab(59.7% 0.1125 -0.1628)
OKLCHoklch(59.7% 0.198 304.6)
XYZxyz(29.8412, 18.9524, 69.7824)
Luminance0.1895 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B57DC #98DC57
analogous
#5957DC #9B57DC #DC57DA
triadic
#9B57DC #DC9B57 #57DC9B
tetradic
#9B57DC #DC5957 #98DC57 #57DADC
square
#9B57DC #DC5957 #98DC57 #57DADC
split-complementary
#9B57DC #DADC57 #57DC59
monochromatic
#5E2099 #7D2ACB #9B57DC #B98AE7 #D7BCF1

Accessibility & contrast

On white

4.38
#9B57DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#9B57DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B57DC
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B57DC#FFFFFF#000000##000000
##9B57DC1.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0C77E0
Deuteranopia (green-blind)
#3879D9
Tritanopia (blue-blind)
#8F7291
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #9b57dc;
/* rgb */ color: rgb(155, 87, 220);
/* oklch */ color: oklch(59.7% 0.198 304.6);
Tailwind
colors: {
  custom: {
    50: '#bc8ae8',
    500: '#9b57dc',
    950: '#000000',
  },
}
SCSS
$custom: #9b57dc;
$custom-light: #bc8ae8;
$custom-dark: #000000;
JSON
{
  "hex": "#9b57dc",
  "rgb": {
    "r": 155,
    "g": 87,
    "b": 220
  },
  "hsl": {
    "h": 270.677,
    "s": 65.517,
    "l": 60.196
  },
  "oklch": {
    "l": 0.597,
    "c": 0.19792,
    "h": 304.6
  },
  "luminance": 0.18952
}

Semantic roles & 50–950 ramp

primary
#9B57DC
secondary
#C7E1AE
accent
#CD1871
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #9B57DC

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

Preview Lab → · Contrast checker → · Palette generator →

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