#D256C8#D256C8

#D256C8 is a light, highly saturated purple. Relative luminance 0.245; OKLCH L 65.2% C 0.204 H 330.9°. Best body text is #000000 at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#D256C8
RGBrgb(210, 86, 200)
HSLhsl(305, 58%, 58%)
HSVhsv(305, 59%, 82%)
CMYKcmyk(0%, 59%, 4.8%, 17.6%)
CIE-LABlab(56.61, 62.73, -36.22)
CIE-LCHlch(56.61, 72.44, 330.00°)
OKLaboklab(65.23% 0.1783 -0.0993)
OKLCHoklch(65.23% 0.204 330.9)
XYZxyz(40.3313, 24.5302, 57.2429)
Luminance0.2453 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D256C8 #56D260
analogous
#9E56D2 #D256C8 #D2568A
triadic
#D256C8 #C8D256 #56C8D2
tetradic
#D256C8 #D29E56 #56D260 #568AD2
square
#D256C8 #D29E56 #56D260 #568AD2
split-complementary
#D256C8 #8AD256 #56D29E
monochromatic
#892581 #B931AE #D256C8 #DF86D8 #ECB7E7

Accessibility & contrast

On white

3.56
#D256C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.91
#D256C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D256C8
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D256C8#FFFFFF#000000##000000
##D256C81.003.565.915.91
#FFFFFF3.561.0021.0021.00
#0000005.9121.001.001.00
##0000005.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F7DCC
Deuteranopia (green-blind)
#778EC5
Tritanopia (blue-blind)
#DA6287
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #d256c8;
/* rgb */ color: rgb(210, 86, 200);
/* oklch */ color: oklch(65.2% 0.204 330.9);
Tailwind
colors: {
  custom: {
    50: '#e38dd9',
    500: '#d256c8',
    950: '#000000',
  },
}
SCSS
$custom: #d256c8;
$custom-light: #e38dd9;
$custom-dark: #000000;
JSON
{
  "hex": "#d256c8",
  "rgb": {
    "r": 210,
    "g": 86,
    "b": 200
  },
  "hsl": {
    "h": 304.839,
    "s": 57.944,
    "l": 58.039
  },
  "oklch": {
    "l": 0.65232,
    "c": 0.20408,
    "h": 330.9
  },
  "luminance": 0.24527
}

Semantic roles & 50–950 ramp

primary
#D256C8
secondary
#A9DBAD
accent
#E15347
background
#FEF9FD
surface
#FDF1FA
border
#D5CBD3
text
#160D14
muted
#847E83

Preview Lab

Preview with #D256C8

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

Preview Lab → · Contrast checker → · Palette generator →

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