#D256C7#D256C7

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

Color values

HEX#D256C7
RGBrgb(210, 86, 199)
HSLhsl(305, 58%, 58%)
HSVhsv(305, 59%, 82%)
CMYKcmyk(0%, 59%, 5.2%, 17.6%)
CIE-LABlab(56.57, 62.57, -35.72)
CIE-LCHlch(56.57, 72.05, 330.28°)
OKLaboklab(65.18% 0.1782 -0.0979)
OKLCHoklch(65.18% 0.203 331.2)
XYZxyz(40.2148, 24.4836, 56.6294)
Luminance0.2448 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D256C7 #56D261
analogous
#9F56D2 #D256C7 #D25689
triadic
#D256C7 #C7D256 #56C7D2
tetradic
#D256C7 #D29F56 #56D261 #5689D2
square
#D256C7 #D29F56 #56D261 #5689D2
split-complementary
#D256C7 #89D256 #56D29F
monochromatic
#892580 #B931AD #D256C7 #DF86D7 #ECB7E7

Accessibility & contrast

On white

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

On black

5.90
#D256C7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D256C7
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D256C7#FFFFFF#000000##000000
##D256C71.003.565.905.90
#FFFFFF3.561.0021.0021.00
#0000005.9021.001.001.00
##0000005.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F7DCA
Deuteranopia (green-blind)
#788EC4
Tritanopia (blue-blind)
#DA6187
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #d256c7;
/* rgb */ color: rgb(210, 86, 199);
/* oklch */ color: oklch(65.2% 0.203 331.2);
Tailwind
colors: {
  custom: {
    50: '#e38dd8',
    500: '#d256c7',
    950: '#000000',
  },
}
SCSS
$custom: #d256c7;
$custom-light: #e38dd8;
$custom-dark: #000000;
JSON
{
  "hex": "#d256c7",
  "rgb": {
    "r": 210,
    "g": 86,
    "b": 199
  },
  "hsl": {
    "h": 305.323,
    "s": 57.944,
    "l": 58.039
  },
  "oklch": {
    "l": 0.65183,
    "c": 0.20328,
    "h": 331.2
  },
  "luminance": 0.24481
}

Semantic roles & 50–950 ramp

primary
#D256C7
secondary
#A9DBAE
accent
#E15447
background
#FEF9FD
surface
#FDF1FA
border
#D5CBD3
text
#160D14
muted
#847E83

Preview Lab

Preview with #D256C7

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

Preview Lab → · Contrast checker → · Palette generator →

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