#D257DF#D257DF

#D257DF is a light, highly saturated purple. Relative luminance 0.258; OKLCH L 66.5% C 0.222 H 323.8°. Best body text is #000000 at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#D257DF
RGBrgb(210, 87, 223)
HSLhsl(294, 68%, 61%)
HSVhsv(294, 61%, 87%)
CMYKcmyk(5.8%, 61%, 0%, 12.5%)
CIE-LABlab(57.89, 66.24, -47.25)
CIE-LCHlch(57.89, 81.36, 324.50°)
OKLaboklab(66.53% 0.179 -0.1311)
OKLCHoklch(66.53% 0.222 323.8)
XYZxyz(43.3046, 25.8481, 72.5059)
Luminance0.2585 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D257DF #64DF57
analogous
#8E57DF #D257DF #DF57A8
triadic
#D257DF #DFD257 #57DFD2
tetradic
#D257DF #DF8E57 #64DF57 #57A8DF
square
#D257DF #DF8E57 #64DF57 #57A8DF
split-complementary
#D257DF #A8DF57 #57DF8E
monochromatic
#911E9E #C128D1 #D257DF #E08AE9 #EEBEF3

Accessibility & contrast

On white

3.40
#D257DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.17
#D257DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D257DF
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D257DF#FFFFFF#000000##000000
##D257DF1.003.406.176.17
#FFFFFF3.401.0021.0021.00
#0000006.1721.001.001.00
##0000006.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D82E3
Deuteranopia (green-blind)
#6C90DB
Tritanopia (blue-blind)
#D66B93
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #d257df;
/* rgb */ color: rgb(210, 87, 223);
/* oklch */ color: oklch(66.5% 0.222 323.8);
Tailwind
colors: {
  custom: {
    50: '#e38ee9',
    500: '#d257df',
    950: '#000000',
  },
}
SCSS
$custom: #d257df;
$custom-light: #e38ee9;
$custom-dark: #000000;
JSON
{
  "hex": "#d257df",
  "rgb": {
    "r": 210,
    "g": 87,
    "b": 223
  },
  "hsl": {
    "h": 294.265,
    "s": 68,
    "l": 60.784
  },
  "oklch": {
    "l": 0.66527,
    "c": 0.22189,
    "h": 323.8
  },
  "luminance": 0.25846
}

Semantic roles & 50–950 ramp

primary
#D257DF
secondary
#B4E3AF
accent
#D01627
background
#FEF9FE
surface
#FDF1FD
border
#D5CBD5
text
#160D16
muted
#847E84

Preview Lab

Preview with #D257DF

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

Preview Lab → · Contrast checker → · Palette generator →

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