#9D57CB#9D57CB

#9D57CB is a mid, vivid violet. Relative luminance 0.183; OKLCH L 58.9% C 0.180 H 309.8°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#9D57CB
RGBrgb(157, 87, 203)
HSLhsl(276, 53%, 57%)
HSVhsv(276, 57%, 80%)
CMYKcmyk(22.7%, 57.1%, 0%, 20.4%)
CIE-LABlab(49.85, 49.20, -49.09)
CIE-LCHlch(49.85, 69.50, 315.06°)
OKLaboklab(58.86% 0.1151 -0.1379)
OKLCHoklch(58.86% 0.18 309.8)
XYZxyz(28.0903, 18.2968, 58.5402)
Luminance0.1830 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D57CB #85CB57
analogous
#6357CB #9D57CB #CB57BF
triadic
#9D57CB #CB9D57 #57CB9D
tetradic
#9D57CB #CB6357 #85CB57 #57BFCB
square
#9D57CB #CB6357 #85CB57 #57BFCB
split-complementary
#9D57CB #BFCB57 #57CB63
monochromatic
#5D2880 #7F36AF #9D57CB #B886D9 #D4B4E8

Accessibility & contrast

On white

4.51
#9D57CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#9D57CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D57CB
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D57CB#FFFFFF#000000##000000
##9D57CB1.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3073CF
Deuteranopia (green-blind)
#4B78C8
Tritanopia (blue-blind)
#976C89
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #9d57cb;
/* rgb */ color: rgb(157, 87, 203);
/* oklch */ color: oklch(58.9% 0.180 309.8);
Tailwind
colors: {
  custom: {
    50: '#bd89db',
    500: '#9d57cb',
    950: '#000000',
  },
}
SCSS
$custom: #9d57cb;
$custom-light: #bd89db;
$custom-dark: #000000;
JSON
{
  "hex": "#9d57cb",
  "rgb": {
    "r": 157,
    "g": 87,
    "b": 203
  },
  "hsl": {
    "h": 276.207,
    "s": 52.727,
    "l": 56.863
  },
  "oklch": {
    "l": 0.58859,
    "c": 0.17965,
    "h": 309.8
  },
  "luminance": 0.18296
}

Semantic roles & 50–950 ramp

primary
#9D57CB
secondary
#BAD7A7
accent
#DC4C85
background
#FBF8FD
surface
#F7F0FB
border
#D0CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #9D57CB

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

Preview Lab → · Contrast checker → · Palette generator →

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