#9D57BC#9D57BC

#9D57BC is a mid, vivid purple. Relative luminance 0.176; OKLCH L 58.0% C 0.163 H 314.4°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#9D57BC
RGBrgb(157, 87, 188)
HSLhsl(282, 43%, 54%)
HSVhsv(282, 54%, 74%)
CMYKcmyk(16.5%, 53.7%, 0%, 26.3%)
CIE-LABlab(49.03, 45.89, -41.75)
CIE-LCHlch(49.03, 62.04, 317.71°)
OKLaboklab(57.98% 0.1143 -0.1165)
OKLCHoklch(57.98% 0.163 314.4)
XYZxyz(26.3885, 17.6161, 49.5774)
Luminance0.1762 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D57BC #76BC57
analogous
#6B57BC #9D57BC #BC57A9
triadic
#9D57BC #BC9D57 #57BC9D
tetradic
#9D57BC #BC6B57 #76BC57 #57A9BC
square
#9D57BC #BC6B57 #76BC57 #57A9BC
split-complementary
#9D57BC #A9BC57 #57BC6B
monochromatic
#592C6D #7D3D99 #9D57BC #B783CD #D0AFDF

Accessibility & contrast

On white

4.64
#9D57BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#9D57BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #9D57BC
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D57BC#FFFFFF#000000##FFFFFF
##9D57BC1.004.644.524.64
#FFFFFF4.641.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E70BF
Deuteranopia (green-blind)
#5576B9
Tritanopia (blue-blind)
#9B6781
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #9d57bc;
/* rgb */ color: rgb(157, 87, 188);
/* oklch */ color: oklch(58.0% 0.163 314.4);
Tailwind
colors: {
  custom: {
    50: '#bc89d0',
    500: '#9d57bc',
    950: '#000000',
  },
}
SCSS
$custom: #9d57bc;
$custom-light: #bc89d0;
$custom-dark: #000000;
JSON
{
  "hex": "#9d57bc",
  "rgb": {
    "r": 157,
    "g": 87,
    "b": 188
  },
  "hsl": {
    "h": 281.584,
    "s": 42.979,
    "l": 53.922
  },
  "oklch": {
    "l": 0.57984,
    "c": 0.16319,
    "h": 314.4
  },
  "luminance": 0.17615
}

Semantic roles & 50–950 ramp

primary
#9D57BC
secondary
#AFCDA2
accent
#D3557C
background
#FBF8FC
surface
#F7F0F9
border
#D0CBD2
text
#120C14
muted
#817D82

Preview Lab

Preview with #9D57BC

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

Preview Lab → · Contrast checker → · Palette generator →

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