#D256C2#D256C2

#D256C2 is a light, vivid purple. Relative luminance 0.243; OKLCH L 64.9% C 0.199 H 332.9°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#D256C2
RGBrgb(210, 86, 194)
HSLhsl(308, 58%, 58%)
HSVhsv(308, 59%, 82%)
CMYKcmyk(0%, 59%, 7.6%, 17.6%)
CIE-LABlab(56.34, 61.76, -33.21)
CIE-LCHlch(56.34, 70.12, 331.73°)
OKLaboklab(64.94% 0.1775 -0.0907)
OKLCHoklch(64.94% 0.199 332.9)
XYZxyz(39.6438, 24.2552, 53.6222)
Luminance0.2425 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D256C2 #56D266
analogous
#A456D2 #D256C2 #D25684
triadic
#D256C2 #C2D256 #56C2D2
tetradic
#D256C2 #D2A456 #56D266 #5684D2
square
#D256C2 #D2A456 #56D266 #5684D2
split-complementary
#D256C2 #84D256 #56D2A4
monochromatic
#89257C #B931A8 #D256C2 #DF86D3 #ECB7E5

Accessibility & contrast

On white

3.59
#D256C2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.85
#D256C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D256C2
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D256C2#FFFFFF#000000##000000
##D256C21.003.595.855.85
#FFFFFF3.591.0021.0021.00
#0000005.8521.001.001.00
##0000005.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#537CC5
Deuteranopia (green-blind)
#7A8EBF
Tritanopia (blue-blind)
#DB6084
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #d256c2;
/* rgb */ color: rgb(210, 86, 194);
/* oklch */ color: oklch(64.9% 0.199 332.9);
Tailwind
colors: {
  custom: {
    50: '#e38cd5',
    500: '#d256c2',
    950: '#000000',
  },
}
SCSS
$custom: #d256c2;
$custom-light: #e38cd5;
$custom-dark: #000000;
JSON
{
  "hex": "#d256c2",
  "rgb": {
    "r": 210,
    "g": 86,
    "b": 194
  },
  "hsl": {
    "h": 307.742,
    "s": 57.944,
    "l": 58.039
  },
  "oklch": {
    "l": 0.64944,
    "c": 0.19934,
    "h": 332.9
  },
  "luminance": 0.24252
}

Semantic roles & 50–950 ramp

primary
#D256C2
secondary
#A9DBB0
accent
#E15B47
background
#FEF9FD
surface
#FCF1FA
border
#D5CBD3
text
#160D14
muted
#847E83

Preview Lab

Preview with #D256C2

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

Preview Lab → · Contrast checker → · Palette generator →

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