#D257D9#D257D9

#D257D9 is a light, highly saturated purple. Relative luminance 0.255; OKLCH L 66.2% C 0.217 H 325.5°. Best body text is #000000 at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#D257D9
RGBrgb(210, 87, 217)
HSLhsl(297, 63%, 60%)
HSVhsv(297, 60%, 85%)
CMYKcmyk(3.2%, 59.9%, 0%, 14.9%)
CIE-LABlab(57.59, 65.18, -44.35)
CIE-LCHlch(57.59, 78.84, 325.77°)
OKLaboklab(66.21% 0.1787 -0.1227)
OKLCHoklch(66.21% 0.217 325.5)
XYZxyz(42.5100, 25.5303, 68.3209)
Luminance0.2553 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D257D9 #5ED957
analogous
#9157D9 #D257D9 #D9579F
triadic
#D257D9 #D9D257 #57D9D2
tetradic
#D257D9 #D99157 #5ED957 #579FD9
square
#D257D9 #D99157 #5ED957 #579FD9
split-complementary
#D257D9 #9FD957 #57D991
monochromatic
#8E2194 #BE2DC6 #D257D9 #DF89E4 #EDBBF0

Accessibility & contrast

On white

3.44
#D257D9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.11
#D257D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D257D9
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D257D9#FFFFFF#000000##000000
##D257D91.003.446.116.11
#FFFFFF3.441.0021.0021.00
#0000006.1121.001.001.00
##0000006.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4380DD
Deuteranopia (green-blind)
#7090D5
Tritanopia (blue-blind)
#D76990
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #d257d9;
/* rgb */ color: rgb(210, 87, 217);
/* oklch */ color: oklch(66.2% 0.217 325.5);
Tailwind
colors: {
  custom: {
    50: '#e38ee5',
    500: '#d257d9',
    950: '#000000',
  },
}
SCSS
$custom: #d257d9;
$custom-light: #e38ee5;
$custom-dark: #000000;
JSON
{
  "hex": "#d257d9",
  "rgb": {
    "r": 210,
    "g": 87,
    "b": 217
  },
  "hsl": {
    "h": 296.769,
    "s": 63.107,
    "l": 59.608
  },
  "oklch": {
    "l": 0.66207,
    "c": 0.21675,
    "h": 325.5
  },
  "luminance": 0.25528
}

Semantic roles & 50–950 ramp

primary
#D257D9
secondary
#AFDFAD
accent
#E6424B
background
#FEF9FE
surface
#FDF1FC
border
#D5CBD5
text
#160D16
muted
#847E84

Preview Lab

Preview with #D257D9

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

Preview Lab → · Contrast checker → · Palette generator →

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