#D157CD#D157CD

#D157CD is a light, highly saturated purple. Relative luminance 0.248; OKLCH L 65.5% C 0.206 H 328.9°. Best body text is #000000 at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#D157CD
RGBrgb(209, 87, 205)
HSLhsl(302, 57%, 58%)
HSVhsv(302, 58%, 82%)
CMYKcmyk(0%, 58.4%, 1.9%, 18%)
CIE-LABlab(56.86, 62.87, -38.69)
CIE-LCHlch(56.86, 73.82, 328.39°)
OKLaboklab(65.46% 0.1765 -0.1064)
OKLCHoklch(65.46% 0.206 328.9)
XYZxyz(40.7217, 24.7821, 60.3844)
Luminance0.2478 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D157CD #57D15B
analogous
#9857D1 #D157CD #D15790
triadic
#D157CD #CDD157 #57CDD1
tetradic
#D157CD #D19857 #57D15B #5790D1
square
#D157CD #D19857 #57D15B #5790D1
split-complementary
#D157CD #90D157 #57D198
monochromatic
#882585 #B832B4 #D157CD #DE87DB #EBB7EA

Accessibility & contrast

On white

3.53
#D157CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.96
#D157CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D157CD
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D157CD#FFFFFF#000000##000000
##D157CD1.003.535.965.96
#FFFFFF3.531.0021.0021.00
#0000005.9621.001.001.00
##0000005.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C7ED1
Deuteranopia (green-blind)
#758ECA
Tritanopia (blue-blind)
#D8658A
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #d157cd;
/* rgb */ color: rgb(209, 87, 205);
/* oklch */ color: oklch(65.5% 0.206 328.9);
Tailwind
colors: {
  custom: {
    50: '#e28ddc',
    500: '#d157cd',
    950: '#000000',
  },
}
SCSS
$custom: #d157cd;
$custom-light: #e28ddc;
$custom-dark: #000000;
JSON
{
  "hex": "#d157cd",
  "rgb": {
    "r": 209,
    "g": 87,
    "b": 205
  },
  "hsl": {
    "h": 301.967,
    "s": 57.009,
    "l": 58.039
  },
  "oklch": {
    "l": 0.6546,
    "c": 0.20613,
    "h": 328.9
  },
  "luminance": 0.24779
}

Semantic roles & 50–950 ramp

primary
#D157CD
secondary
#AADAAB
accent
#E04D48
background
#FEF9FD
surface
#FCF1FB
border
#D5CBD4
text
#160D15
muted
#847E83

Preview Lab

Preview with #D157CD

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

Preview Lab → · Contrast checker → · Palette generator →

#D157CD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva