#D257D4#D257D4

#D257D4 is a light, highly saturated purple. Relative luminance 0.253; OKLCH L 65.9% C 0.213 H 327.0°. Best body text is #000000 at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#D257D4
RGBrgb(210, 87, 212)
HSLhsl(299, 59%, 59%)
HSVhsv(299, 59%, 83%)
CMYKcmyk(0.9%, 59%, 0%, 16.9%)
CIE-LABlab(57.34, 64.32, -41.91)
CIE-LCHlch(57.34, 76.76, 326.91°)
OKLaboklab(65.95% 0.1783 -0.1157)
OKLCHoklch(65.95% 0.213 327)
XYZxyz(41.8695, 25.2741, 64.9476)
Luminance0.2527 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D257D4 #59D457
analogous
#9357D4 #D257D4 #D45797
triadic
#D257D4 #D4D257 #57D4D2
tetradic
#D257D4 #D49357 #59D457 #5797D4
square
#D257D4 #D49357 #59D457 #5797D4
split-complementary
#D257D4 #97D457 #57D493
monochromatic
#8B248D #BB30BD #D257D4 #DF88E0 #ECB8ED

Accessibility & contrast

On white

3.47
#D257D4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.05
#D257D4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D257D4
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D257D4#FFFFFF#000000##000000
##D257D41.003.476.056.05
#FFFFFF3.471.0021.0021.00
#0000006.0521.001.001.00
##0000006.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4780D8
Deuteranopia (green-blind)
#728FD1
Tritanopia (blue-blind)
#D8678E
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #d257d4;
/* rgb */ color: rgb(210, 87, 212);
/* oklch */ color: oklch(65.9% 0.213 327.0);
Tailwind
colors: {
  custom: {
    50: '#e38de1',
    500: '#d257d4',
    950: '#000000',
  },
}
SCSS
$custom: #d257d4;
$custom-light: #e38de1;
$custom-dark: #000000;
JSON
{
  "hex": "#d257d4",
  "rgb": {
    "r": 210,
    "g": 87,
    "b": 212
  },
  "hsl": {
    "h": 299.04,
    "s": 59.242,
    "l": 58.627
  },
  "oklch": {
    "l": 0.65947,
    "c": 0.21252,
    "h": 327
  },
  "luminance": 0.25271
}

Semantic roles & 50–950 ramp

primary
#D257D4
secondary
#ABDCAB
accent
#E24548
background
#FEF9FD
surface
#FDF1FB
border
#D5CBD4
text
#160D15
muted
#847E83

Preview Lab

Preview with #D257D4

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

Preview Lab → · Contrast checker → · Palette generator →

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