#9D57BB#9D57BB

#9D57BB is a mid, vivid purple. Relative luminance 0.176; OKLCH L 57.9% C 0.162 H 314.8°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#9D57BB
RGBrgb(157, 87, 187)
HSLhsl(282, 42%, 54%)
HSVhsv(282, 53%, 73%)
CMYKcmyk(16%, 53.5%, 0%, 26.7%)
CIE-LABlab(48.97, 45.68, -41.25)
CIE-LCHlch(48.97, 61.55, 317.92°)
OKLaboklab(57.93% 0.1142 -0.1151)
OKLCHoklch(57.93% 0.162 314.8)
XYZxyz(26.2810, 17.5731, 49.0116)
Luminance0.1757 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D57BB #75BB57
analogous
#6B57BB #9D57BB #BB57A7
triadic
#9D57BB #BB9D57 #57BB9D
tetradic
#9D57BB #BB6B57 #75BB57 #57A7BB
square
#9D57BB #BB6B57 #75BB57 #57A7BB
split-complementary
#9D57BB #A7BB57 #57BB6B
monochromatic
#592C6C #7C3D97 #9D57BB #B683CD #D0AEDE

Accessibility & contrast

On white

4.65
#9D57BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#9D57BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #9D57BB
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D57BB#FFFFFF#000000##FFFFFF
##9D57BB1.004.654.514.65
#FFFFFF4.651.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F70BE
Deuteranopia (green-blind)
#5676B8
Tritanopia (blue-blind)
#9B6781
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #9d57bb;
/* rgb */ color: rgb(157, 87, 187);
/* oklch */ color: oklch(57.9% 0.162 314.8);
Tailwind
colors: {
  custom: {
    50: '#bc89d0',
    500: '#9d57bb',
    950: '#000000',
  },
}
SCSS
$custom: #9d57bb;
$custom-light: #bc89d0;
$custom-dark: #000000;
JSON
{
  "hex": "#9d57bb",
  "rgb": {
    "r": 157,
    "g": 87,
    "b": 187
  },
  "hsl": {
    "h": 282,
    "s": 42.373,
    "l": 53.725
  },
  "oklch": {
    "l": 0.57928,
    "c": 0.16211,
    "h": 314.8
  },
  "luminance": 0.17572
}

Semantic roles & 50–950 ramp

primary
#9D57BB
secondary
#AECCA2
accent
#D2567B
background
#FBF8FC
surface
#F7F0F9
border
#D0CBD2
text
#120C14
muted
#817D82

Preview Lab

Preview with #9D57BB

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

Preview Lab → · Contrast checker → · Palette generator →

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