#9D57DB#9D57DB

#9D57DB is a mid, vivid violet. Relative luminance 0.191; OKLCH L 59.9% C 0.197 H 305.7°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#9D57DB
RGBrgb(157, 87, 219)
HSLhsl(272, 65%, 60%)
HSVhsv(272, 60%, 86%)
CMYKcmyk(28.3%, 60.3%, 0%, 14.1%)
CIE-LABlab(50.80, 52.85, -56.70)
CIE-LCHlch(50.80, 77.51, 312.99°)
OKLaboklab(59.86% 0.1151 -0.1602)
OKLCHoklch(59.86% 0.197 305.7)
XYZxyz(30.0963, 19.0992, 69.1051)
Luminance0.1910 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D57DB #95DB57
analogous
#5B57DB #9D57DB #DB57D7
triadic
#9D57DB #DB9D57 #57DB9D
tetradic
#9D57DB #DB5B57 #95DB57 #57D7DB
square
#9D57DB #DB5B57 #95DB57 #57D7DB
split-complementary
#9D57DB #D7DB57 #57DB5B
monochromatic
#5F2097 #7F2BCA #9D57DB #BA89E6 #D8BCF1

Accessibility & contrast

On white

4.36
#9D57DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#9D57DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D57DB
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D57DB#FFFFFF#000000##000000
##9D57DB1.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#1377DF
Deuteranopia (green-blind)
#3B79D8
Tritanopia (blue-blind)
#927291
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #9d57db;
/* rgb */ color: rgb(157, 87, 219);
/* oklch */ color: oklch(59.9% 0.197 305.7);
Tailwind
colors: {
  custom: {
    50: '#be8ae7',
    500: '#9d57db',
    950: '#000000',
  },
}
SCSS
$custom: #9d57db;
$custom-light: #be8ae7;
$custom-dark: #000000;
JSON
{
  "hex": "#9d57db",
  "rgb": {
    "r": 157,
    "g": 87,
    "b": 219
  },
  "hsl": {
    "h": 271.818,
    "s": 64.706,
    "l": 60
  },
  "oklch": {
    "l": 0.59857,
    "c": 0.19731,
    "h": 305.7
  },
  "luminance": 0.19099
}

Semantic roles & 50–950 ramp

primary
#9D57DB
secondary
#C5E0AD
accent
#E8408F
background
#FCF8FE
surface
#F8F0FC
border
#D1CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #9D57DB

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

Preview Lab → · Contrast checker → · Palette generator →

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