#D256DF#D256DF

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

Color values

HEX#D256DF
RGBrgb(210, 86, 223)
HSLhsl(294, 68%, 61%)
HSVhsv(294, 61%, 87%)
CMYKcmyk(5.8%, 61.4%, 0%, 12.5%)
CIE-LABlab(57.74, 66.66, -47.49)
CIE-LCHlch(57.74, 81.85, 324.53°)
OKLaboklab(66.42% 0.1801 -0.1318)
OKLCHoklch(66.42% 0.223 323.8)
XYZxyz(43.2242, 25.6873, 72.4791)
Luminance0.2569 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D256DF #63DF56
analogous
#8E56DF #D256DF #DF56A7
triadic
#D256DF #DFD256 #56DFD2
tetradic
#D256DF #DF8E56 #63DF56 #56A7DF
square
#D256DF #DF8E56 #63DF56 #56A7DF
split-complementary
#D256DF #A7DF56 #56DF8E
monochromatic
#911E9D #C027D0 #D256DF #E089E9 #EDBDF2

Accessibility & contrast

On white

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

On black

6.14
#D256DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D256DF
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D256DF#FFFFFF#000000##000000
##D256DF1.003.426.146.14
#FFFFFF3.421.0021.0021.00
#0000006.1421.001.001.00
##0000006.1421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d256df;
/* rgb */ color: rgb(210, 86, 223);
/* oklch */ color: oklch(66.4% 0.223 323.8);
Tailwind
colors: {
  custom: {
    50: '#e38de9',
    500: '#d256df',
    950: '#000000',
  },
}
SCSS
$custom: #d256df;
$custom-light: #e38de9;
$custom-dark: #000000;
JSON
{
  "hex": "#d256df",
  "rgb": {
    "r": 210,
    "g": 86,
    "b": 223
  },
  "hsl": {
    "h": 294.307,
    "s": 68.159,
    "l": 60.588
  },
  "oklch": {
    "l": 0.66416,
    "c": 0.22324,
    "h": 323.8
  },
  "luminance": 0.25685
}

Semantic roles & 50–950 ramp

primary
#D256DF
secondary
#B3E2AE
accent
#D01527
background
#FEF9FE
surface
#FDF1FD
border
#D5CBD5
text
#160D16
muted
#847E84

Preview Lab

Preview with #D256DF

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

Preview Lab → · Contrast checker → · Palette generator →

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