#D257CD#D257CD

#D257CD is a light, highly saturated purple. Relative luminance 0.249; OKLCH L 65.6% C 0.207 H 329.2°. Best body text is #000000 at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#D257CD
RGBrgb(210, 87, 205)
HSLhsl(302, 58%, 58%)
HSVhsv(302, 59%, 82%)
CMYKcmyk(0%, 58.6%, 2.4%, 17.6%)
CIE-LABlab(57.01, 63.13, -38.46)
CIE-LCHlch(57.01, 73.92, 328.65°)
OKLaboklab(65.59% 0.1776 -0.1057)
OKLCHoklch(65.59% 0.207 329.2)
XYZxyz(41.0056, 24.9285, 60.3977)
Luminance0.2493 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D257CD #57D25C
analogous
#9957D2 #D257CD #D2578F
triadic
#D257CD #CDD257 #57CDD2
tetradic
#D257CD #D29957 #57D25C #578FD2
square
#D257CD #D29957 #57D25C #578FD2
split-complementary
#D257CD #8FD257 #57D299
monochromatic
#8A2586 #BA32B4 #D257CD #DF87DB #ECB8EA

Accessibility & contrast

On white

3.51
#D257CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.99
#D257CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D257CD
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D257CD#FFFFFF#000000##000000
##D257CD1.003.515.995.99
#FFFFFF3.511.0021.0021.00
#0000005.9921.001.001.00
##0000005.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D7ED1
Deuteranopia (green-blind)
#768FCA
Tritanopia (blue-blind)
#D9648A
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #d257cd;
/* rgb */ color: rgb(210, 87, 205);
/* oklch */ color: oklch(65.6% 0.207 329.2);
Tailwind
colors: {
  custom: {
    50: '#e38ddc',
    500: '#d257cd',
    950: '#000000',
  },
}
SCSS
$custom: #d257cd;
$custom-light: #e38ddc;
$custom-dark: #000000;
JSON
{
  "hex": "#d257cd",
  "rgb": {
    "r": 210,
    "g": 87,
    "b": 205
  },
  "hsl": {
    "h": 302.439,
    "s": 57.746,
    "l": 58.235
  },
  "oklch": {
    "l": 0.65593,
    "c": 0.20671,
    "h": 329.2
  },
  "luminance": 0.24926
}

Semantic roles & 50–950 ramp

primary
#D257CD
secondary
#AADBAC
accent
#E14D47
background
#FEF9FD
surface
#FCF1FB
border
#D5CBD4
text
#160D15
muted
#847E83

Preview Lab

Preview with #D257CD

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

Preview Lab → · Contrast checker → · Palette generator →

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