#D256CB#D256CB

#D256CB is a light, highly saturated purple. Relative luminance 0.247; OKLCH L 65.4% C 0.206 H 329.9°. Best body text is #000000 at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#D256CB
RGBrgb(210, 86, 203)
HSLhsl(303, 58%, 58%)
HSVhsv(303, 59%, 82%)
CMYKcmyk(0%, 59%, 3.3%, 17.6%)
CIE-LABlab(56.75, 63.23, -37.71)
CIE-LCHlch(56.75, 73.62, 329.18°)
OKLaboklab(65.38% 0.1786 -0.1036)
OKLCHoklch(65.38% 0.207 329.9)
XYZxyz(40.6853, 24.6718, 59.1075)
Luminance0.2467 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D256CB #56D25D
analogous
#9B56D2 #D256CB #D2568D
triadic
#D256CB #CBD256 #56CBD2
tetradic
#D256CB #D29B56 #56D25D #568DD2
square
#D256CB #D29B56 #56D25D #568DD2
split-complementary
#D256CB #8DD256 #56D29B
monochromatic
#892583 #B931B2 #D256CB #DF86DA #ECB7E9

Accessibility & contrast

On white

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

On black

5.93
#D256CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D256CB
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D256CB#FFFFFF#000000##000000
##D256CB1.003.545.935.93
#FFFFFF3.541.0021.0021.00
#0000005.9321.001.001.00
##0000005.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D7DCF
Deuteranopia (green-blind)
#768EC8
Tritanopia (blue-blind)
#D96389
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #d256cb;
/* rgb */ color: rgb(210, 86, 203);
/* oklch */ color: oklch(65.4% 0.206 329.9);
Tailwind
colors: {
  custom: {
    50: '#e38ddb',
    500: '#d256cb',
    950: '#000000',
  },
}
SCSS
$custom: #d256cb;
$custom-light: #e38ddb;
$custom-dark: #000000;
JSON
{
  "hex": "#d256cb",
  "rgb": {
    "r": 210,
    "g": 86,
    "b": 203
  },
  "hsl": {
    "h": 303.387,
    "s": 57.944,
    "l": 58.039
  },
  "oklch": {
    "l": 0.65379,
    "c": 0.2065,
    "h": 329.9
  },
  "luminance": 0.24669
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D256CB

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

Preview Lab → · Contrast checker → · Palette generator →

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