#D257DD#D257DD

#D257DD is a light, highly saturated purple. Relative luminance 0.257; OKLCH L 66.4% C 0.220 H 324.3°. Best body text is #000000 at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#D257DD
RGBrgb(210, 87, 221)
HSLhsl(295, 66%, 60%)
HSVhsv(295, 61%, 87%)
CMYKcmyk(5%, 60.6%, 0%, 13.3%)
CIE-LABlab(57.79, 65.88, -46.28)
CIE-LCHlch(57.79, 80.52, 324.91°)
OKLaboklab(66.42% 0.1789 -0.1283)
OKLCHoklch(66.42% 0.22 324.3)
XYZxyz(43.0366, 25.7409, 71.0942)
Luminance0.2574 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D257DD #62DD57
analogous
#8F57DD #D257DD #DD57A5
triadic
#D257DD #DDD257 #57DDD2
tetradic
#D257DD #DD8F57 #62DD57 #57A5DD
square
#D257DD #DD8F57 #62DD57 #57A5DD
split-complementary
#D257DD #A5DD57 #57DD8F
monochromatic
#901F9A #C02ACD #D257DD #E08AE7 #EDBDF2

Accessibility & contrast

On white

3.42
#D257DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.15
#D257DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D257DD
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D257DD#FFFFFF#000000##000000
##D257DD1.003.426.156.15
#FFFFFF3.421.0021.0021.00
#0000006.1521.001.001.00
##0000006.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F81E1
Deuteranopia (green-blind)
#6D90D9
Tritanopia (blue-blind)
#D66A92
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #d257dd;
/* rgb */ color: rgb(210, 87, 221);
/* oklch */ color: oklch(66.4% 0.220 324.3);
Tailwind
colors: {
  custom: {
    50: '#e38ee8',
    500: '#d257dd',
    950: '#000000',
  },
}
SCSS
$custom: #d257dd;
$custom-light: #e38ee8;
$custom-dark: #000000;
JSON
{
  "hex": "#d257dd",
  "rgb": {
    "r": 210,
    "g": 87,
    "b": 221
  },
  "hsl": {
    "h": 295.075,
    "s": 66.337,
    "l": 60.392
  },
  "oklch": {
    "l": 0.6642,
    "c": 0.22016,
    "h": 324.3
  },
  "luminance": 0.25738
}

Semantic roles & 50–950 ramp

primary
#D257DD
secondary
#B3E1AE
accent
#CE1726
background
#FEF9FE
surface
#FDF1FD
border
#D5CBD5
text
#160D16
muted
#847E84

Preview Lab

Preview with #D257DD

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

Preview Lab → · Contrast checker → · Palette generator →

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