#D257D6#D257D6

#D257D6 is a light, highly saturated purple. Relative luminance 0.254; OKLCH L 66.1% C 0.214 H 326.4°. Best body text is #000000 at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#D257D6
RGBrgb(210, 87, 214)
HSLhsl(298, 61%, 59%)
HSVhsv(298, 59%, 84%)
CMYKcmyk(1.9%, 59.3%, 0%, 16.1%)
CIE-LABlab(57.44, 64.66, -42.88)
CIE-LCHlch(57.44, 77.59, 326.45°)
OKLaboklab(66.05% 0.1784 -0.1185)
OKLCHoklch(66.05% 0.214 326.4)
XYZxyz(42.1233, 25.3756, 66.2846)
Luminance0.2537 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D257D6 #5BD657
analogous
#9357D6 #D257D6 #D6579B
triadic
#D257D6 #D6D257 #57D6D2
tetradic
#D257D6 #D69357 #5BD657 #579BD6
square
#D257D6 #D69357 #5BD657 #579BD6
split-complementary
#D257D6 #9BD657 #57D693
monochromatic
#8C2390 #BC2FC1 #D257D6 #DF88E2 #ECB9EE

Accessibility & contrast

On white

3.46
#D257D6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.07
#D257D6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D257D6
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D257D6#FFFFFF#000000##000000
##D257D61.003.466.076.07
#FFFFFF3.461.0021.0021.00
#0000006.0721.001.001.00
##0000006.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4680DA
Deuteranopia (green-blind)
#718FD3
Tritanopia (blue-blind)
#D7688F
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #d257d6;
/* rgb */ color: rgb(210, 87, 214);
/* oklch */ color: oklch(66.1% 0.214 326.4);
Tailwind
colors: {
  custom: {
    50: '#e38ee3',
    500: '#d257d6',
    950: '#000000',
  },
}
SCSS
$custom: #d257d6;
$custom-light: #e38ee3;
$custom-dark: #000000;
JSON
{
  "hex": "#d257d6",
  "rgb": {
    "r": 210,
    "g": 87,
    "b": 214
  },
  "hsl": {
    "h": 298.11,
    "s": 60.766,
    "l": 59.02
  },
  "oklch": {
    "l": 0.66051,
    "c": 0.2142,
    "h": 326.4
  },
  "luminance": 0.25373
}

Semantic roles & 50–950 ramp

primary
#D257D6
secondary
#ADDDAB
accent
#E44449
background
#FEF9FD
surface
#FDF1FB
border
#D5CBD4
text
#160D15
muted
#847E83

Preview Lab

Preview with #D257D6

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

Preview Lab → · Contrast checker → · Palette generator →

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