#D256CA#D256CA

#D256CA is a light, highly saturated purple. Relative luminance 0.246; OKLCH L 65.3% C 0.206 H 330.2°. Best body text is #000000 at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#D256CA
RGBrgb(210, 86, 202)
HSLhsl(304, 58%, 58%)
HSVhsv(304, 59%, 82%)
CMYKcmyk(0%, 59%, 3.8%, 17.6%)
CIE-LABlab(56.71, 63.06, -37.22)
CIE-LCHlch(56.71, 73.22, 329.45°)
OKLaboklab(65.33% 0.1785 -0.1021)
OKLCHoklch(65.33% 0.206 330.2)
XYZxyz(40.5665, 24.6243, 58.4820)
Luminance0.2462 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D256CA #56D25E
analogous
#9C56D2 #D256CA #D2568C
triadic
#D256CA #CAD256 #56CAD2
tetradic
#D256CA #D29C56 #56D25E #568CD2
square
#D256CA #D29C56 #56D25E #568CD2
split-complementary
#D256CA #8CD256 #56D29C
monochromatic
#892583 #B931B1 #D256CA #DF86D9 #ECB7E8

Accessibility & contrast

On white

3.54
#D256CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.92
#D256CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D256CA
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D256CA#FFFFFF#000000##000000
##D256CA1.003.545.925.92
#FFFFFF3.541.0021.0021.00
#0000005.9221.001.001.00
##0000005.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D7DCE
Deuteranopia (green-blind)
#768EC7
Tritanopia (blue-blind)
#D96288
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #d256ca;
/* rgb */ color: rgb(210, 86, 202);
/* oklch */ color: oklch(65.3% 0.206 330.2);
Tailwind
colors: {
  custom: {
    50: '#e38dda',
    500: '#d256ca',
    950: '#000000',
  },
}
SCSS
$custom: #d256ca;
$custom-light: #e38dda;
$custom-dark: #000000;
JSON
{
  "hex": "#d256ca",
  "rgb": {
    "r": 210,
    "g": 86,
    "b": 202
  },
  "hsl": {
    "h": 303.871,
    "s": 57.944,
    "l": 58.039
  },
  "oklch": {
    "l": 0.6533,
    "c": 0.20569,
    "h": 330.2
  },
  "luminance": 0.24621
}

Semantic roles & 50–950 ramp

primary
#D256CA
secondary
#A9DBAC
accent
#E15147
background
#FEF9FD
surface
#FDF1FB
border
#D5CBD4
text
#160D15
muted
#847E83

Preview Lab

Preview with #D256CA

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

Preview Lab → · Contrast checker → · Palette generator →

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