#9D57BE#9D57BE

#9D57BE is a mid, vivid purple. Relative luminance 0.177; OKLCH L 58.1% C 0.165 H 313.8°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#9D57BE
RGBrgb(157, 87, 190)
HSLhsl(281, 44%, 54%)
HSVhsv(281, 54%, 75%)
CMYKcmyk(17.4%, 54.2%, 0%, 25.5%)
CIE-LABlab(49.13, 46.33, -42.74)
CIE-LCHlch(49.13, 63.03, 317.31°)
OKLaboklab(58.1% 0.1144 -0.1194)
OKLCHoklch(58.1% 0.165 313.8)
XYZxyz(26.6055, 17.7029, 50.7207)
Luminance0.1770 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D57BE #78BE57
analogous
#6A57BE #9D57BE #BE57AB
triadic
#9D57BE #BE9D57 #57BE9D
tetradic
#9D57BE #BE6A57 #78BE57 #57ABBE
square
#9D57BE #BE6A57 #78BE57 #57ABBE
split-complementary
#9D57BE #ABBE57 #57BE6A
monochromatic
#5A2B6F #7D3C9C #9D57BE #B783CF #D0AFE0

Accessibility & contrast

On white

4.63
#9D57BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#9D57BE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #9D57BE
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D57BE#FFFFFF#000000##FFFFFF
##9D57BE1.004.634.544.63
#FFFFFF4.631.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D71C1
Deuteranopia (green-blind)
#5477BB
Tritanopia (blue-blind)
#9A6882
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #9d57be;
/* rgb */ color: rgb(157, 87, 190);
/* oklch */ color: oklch(58.1% 0.165 313.8);
Tailwind
colors: {
  custom: {
    50: '#bc89d2',
    500: '#9d57be',
    950: '#000000',
  },
}
SCSS
$custom: #9d57be;
$custom-light: #bc89d2;
$custom-dark: #000000;
JSON
{
  "hex": "#9d57be",
  "rgb": {
    "r": 157,
    "g": 87,
    "b": 190
  },
  "hsl": {
    "h": 280.777,
    "s": 44.206,
    "l": 54.314
  },
  "oklch": {
    "l": 0.58097,
    "c": 0.16537,
    "h": 313.8
  },
  "luminance": 0.17702
}

Semantic roles & 50–950 ramp

primary
#9D57BE
secondary
#B1CEA3
accent
#D4547D
background
#FBF8FC
surface
#F7F0F9
border
#D0CBD2
text
#120C14
muted
#817D82

Preview Lab

Preview with #9D57BE

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

Preview Lab → · Contrast checker → · Palette generator →

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