#D256CD#D256CD

#D256CD is a light, highly saturated purple. Relative luminance 0.248; OKLCH L 65.5% C 0.208 H 329.2°. Best body text is #000000 at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#D256CD
RGBrgb(210, 86, 205)
HSLhsl(302, 58%, 58%)
HSVhsv(302, 59%, 82%)
CMYKcmyk(0%, 59%, 2.4%, 17.6%)
CIE-LABlab(56.85, 63.56, -38.70)
CIE-LCHlch(56.85, 74.42, 328.66°)
OKLaboklab(65.48% 0.1789 -0.1064)
OKLCHoklch(65.48% 0.208 329.2)
XYZxyz(40.9252, 24.7677, 60.3709)
Luminance0.2477 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D256CD #56D25B
analogous
#9956D2 #D256CD #D2568F
triadic
#D256CD #CDD256 #56CDD2
tetradic
#D256CD #D29956 #56D25B #568FD2
square
#D256CD #D29956 #56D25B #568FD2
split-complementary
#D256CD #8FD256 #56D299
monochromatic
#892585 #B931B4 #D256CD #DF86DB #ECB7EA

Accessibility & contrast

On white

3.53
#D256CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.95
#D256CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D256CD
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D256CD#FFFFFF#000000##000000
##D256CD1.003.535.955.95
#FFFFFF3.531.0021.0021.00
#0000005.9521.001.001.00
##0000005.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B7ED1
Deuteranopia (green-blind)
#758ECA
Tritanopia (blue-blind)
#D9648A
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #d256cd;
/* rgb */ color: rgb(210, 86, 205);
/* oklch */ color: oklch(65.5% 0.208 329.2);
Tailwind
colors: {
  custom: {
    50: '#e38ddc',
    500: '#d256cd',
    950: '#000000',
  },
}
SCSS
$custom: #d256cd;
$custom-light: #e38ddc;
$custom-dark: #000000;
JSON
{
  "hex": "#d256cd",
  "rgb": {
    "r": 210,
    "g": 86,
    "b": 205
  },
  "hsl": {
    "h": 302.419,
    "s": 57.944,
    "l": 58.039
  },
  "oklch": {
    "l": 0.65479,
    "c": 0.20813,
    "h": 329.2
  },
  "luminance": 0.24765
}

Semantic roles & 50–950 ramp

primary
#D256CD
secondary
#A9DBAB
accent
#E14D47
background
#FEF9FD
surface
#FDF1FB
border
#D5CBD4
text
#160D15
muted
#847E83

Preview Lab

Preview with #D256CD

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

Preview Lab → · Contrast checker → · Palette generator →

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