#D256CF#D256CF

#D256CF is a light, highly saturated purple. Relative luminance 0.249; OKLCH L 65.6% C 0.210 H 328.6°. Best body text is #000000 at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#D256CF
RGBrgb(210, 86, 207)
HSLhsl(301, 58%, 58%)
HSVhsv(301, 59%, 82%)
CMYKcmyk(0%, 59%, 1.4%, 17.6%)
CIE-LABlab(56.94, 63.89, -39.69)
CIE-LCHlch(56.94, 75.22, 328.15°)
OKLaboklab(65.58% 0.179 -0.1093)
OKLCHoklch(65.58% 0.21 328.6)
XYZxyz(41.1681, 24.8649, 61.6504)
Luminance0.2486 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D256CF #56D259
analogous
#9756D2 #D256CF #D25691
triadic
#D256CF #CFD256 #56CFD2
tetradic
#D256CF #D29756 #56D259 #5691D2
square
#D256CF #D29756 #56D259 #5691D2
split-complementary
#D256CF #91D256 #56D297
monochromatic
#892587 #B931B6 #D256CF #DF86DD #ECB7EA

Accessibility & contrast

On white

3.52
#D256CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.97
#D256CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D256CF
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D256CF#FFFFFF#000000##000000
##D256CF1.003.525.975.97
#FFFFFF3.521.0021.0021.00
#0000005.9721.001.001.00
##0000005.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A7ED3
Deuteranopia (green-blind)
#748FCC
Tritanopia (blue-blind)
#D9648B
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #d256cf;
/* rgb */ color: rgb(210, 86, 207);
/* oklch */ color: oklch(65.6% 0.210 328.6);
Tailwind
colors: {
  custom: {
    50: '#e38dde',
    500: '#d256cf',
    950: '#000000',
  },
}
SCSS
$custom: #d256cf;
$custom-light: #e38dde;
$custom-dark: #000000;
JSON
{
  "hex": "#d256cf",
  "rgb": {
    "r": 210,
    "g": 86,
    "b": 207
  },
  "hsl": {
    "h": 301.452,
    "s": 57.944,
    "l": 58.039
  },
  "oklch": {
    "l": 0.65579,
    "c": 0.20976,
    "h": 328.6
  },
  "luminance": 0.24862
}

Semantic roles & 50–950 ramp

primary
#D256CF
secondary
#A9DBAA
accent
#E14A47
background
#FEF9FD
surface
#FDF1FB
border
#D5CBD4
text
#160D15
muted
#847E83

Preview Lab

Preview with #D256CF

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

Preview Lab → · Contrast checker → · Palette generator →

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