#D257C8#D257C8

#D257C8 is a light, highly saturated purple. Relative luminance 0.247; OKLCH L 65.3% C 0.203 H 330.9°. Best body text is #000000 at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#D257C8
RGBrgb(210, 87, 200)
HSLhsl(305, 58%, 58%)
HSVhsv(305, 59%, 82%)
CMYKcmyk(0%, 58.6%, 4.8%, 17.6%)
CIE-LABlab(56.77, 62.30, -35.97)
CIE-LCHlch(56.77, 71.94, 330.00°)
OKLaboklab(65.35% 0.1771 -0.0986)
OKLCHoklch(65.35% 0.203 330.9)
XYZxyz(40.4117, 24.6910, 57.2697)
Luminance0.2469 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D257C8 #57D261
analogous
#9E57D2 #D257C8 #D2578A
triadic
#D257C8 #C8D257 #57C8D2
tetradic
#D257C8 #D29E57 #57D261 #578AD2
square
#D257C8 #D29E57 #57D261 #578AD2
split-complementary
#D257C8 #8AD257 #57D29E
monochromatic
#8A2582 #BA32AF #D257C8 #DF87D8 #ECB8E8

Accessibility & contrast

On white

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

On black

5.94
#D257C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D257C8
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D257C8#FFFFFF#000000##000000
##D257C81.003.545.945.94
#FFFFFF3.541.0021.0021.00
#0000005.9421.001.001.00
##0000005.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#507DCC
Deuteranopia (green-blind)
#788EC5
Tritanopia (blue-blind)
#DA6288
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #d257c8;
/* rgb */ color: rgb(210, 87, 200);
/* oklch */ color: oklch(65.3% 0.203 330.9);
Tailwind
colors: {
  custom: {
    50: '#e38dd9',
    500: '#d257c8',
    950: '#000000',
  },
}
SCSS
$custom: #d257c8;
$custom-light: #e38dd9;
$custom-dark: #000000;
JSON
{
  "hex": "#d257c8",
  "rgb": {
    "r": 210,
    "g": 87,
    "b": 200
  },
  "hsl": {
    "h": 304.878,
    "s": 57.746,
    "l": 58.235
  },
  "oklch": {
    "l": 0.65347,
    "c": 0.20265,
    "h": 330.9
  },
  "luminance": 0.24688
}

Semantic roles & 50–950 ramp

primary
#D257C8
secondary
#AADBAE
accent
#E15347
background
#FEF9FD
surface
#FCF1FA
border
#D5CBD3
text
#160D14
muted
#847E83

Preview Lab

Preview with #D257C8

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

Preview Lab → · Contrast checker → · Palette generator →

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