#D157CA#D157CA

#D157CA is a light, highly saturated purple. Relative luminance 0.246; OKLCH L 65.3% C 0.204 H 329.9°. Best body text is #000000 at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#D157CA
RGBrgb(209, 87, 202)
HSLhsl(303, 57%, 58%)
HSVhsv(303, 58%, 82%)
CMYKcmyk(0%, 58.4%, 3.3%, 18%)
CIE-LABlab(56.72, 62.37, -37.20)
CIE-LCHlch(56.72, 72.62, 329.18°)
OKLaboklab(65.31% 0.1762 -0.1021)
OKLCHoklch(65.31% 0.204 329.9)
XYZxyz(40.3630, 24.6387, 58.4955)
Luminance0.2464 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D157CA #57D15E
analogous
#9B57D1 #D157CA #D1578D
triadic
#D157CA #CAD157 #57CAD1
tetradic
#D157CA #D19B57 #57D15E #578DD1
square
#D157CA #D19B57 #57D15E #578DD1
split-complementary
#D157CA #8DD157 #57D19B
monochromatic
#882583 #B832B1 #D157CA #DE87D9 #EBB7E8

Accessibility & contrast

On white

3.54
#D157CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.93
#D157CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D157CA
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D157CA#FFFFFF#000000##000000
##D157CA1.003.545.935.93
#FFFFFF3.541.0021.0021.00
#0000005.9321.001.001.00
##0000005.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E7DCE
Deuteranopia (green-blind)
#768EC7
Tritanopia (blue-blind)
#D86389
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #d157ca;
/* rgb */ color: rgb(209, 87, 202);
/* oklch */ color: oklch(65.3% 0.204 329.9);
Tailwind
colors: {
  custom: {
    50: '#e28dda',
    500: '#d157ca',
    950: '#000000',
  },
}
SCSS
$custom: #d157ca;
$custom-light: #e28dda;
$custom-dark: #000000;
JSON
{
  "hex": "#d157ca",
  "rgb": {
    "r": 209,
    "g": 87,
    "b": 202
  },
  "hsl": {
    "h": 303.443,
    "s": 57.009,
    "l": 58.039
  },
  "oklch": {
    "l": 0.65311,
    "c": 0.20368,
    "h": 329.9
  },
  "luminance": 0.24636
}

Semantic roles & 50–950 ramp

primary
#D157CA
secondary
#AADAAC
accent
#E05048
background
#FEF9FD
surface
#FCF1FB
border
#D5CBD4
text
#160D15
muted
#847E83

Preview Lab

Preview with #D157CA

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

Preview Lab → · Contrast checker → · Palette generator →

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