#D256E2#D256E2

#D256E2 is a light, highly saturated purple. Relative luminance 0.258; OKLCH L 66.6% C 0.226 H 323.0°. Best body text is #000000 at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#D256E2
RGBrgb(210, 86, 226)
HSLhsl(293, 71%, 61%)
HSVhsv(293, 62%, 89%)
CMYKcmyk(7.1%, 61.9%, 0%, 11.4%)
CIE-LABlab(57.90, 67.20, -48.93)
CIE-LCHlch(57.90, 83.12, 323.94°)
OKLaboklab(66.58% 0.1803 -0.136)
OKLCHoklch(66.58% 0.226 323)
XYZxyz(43.6323, 25.8506, 74.6282)
Luminance0.2585 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D256E2 #66E256
analogous
#8C56E2 #D256E2 #E256AC
triadic
#D256E2 #E2D256 #56E2D2
tetradic
#D256E2 #E28C56 #66E256 #56ACE2
square
#D256E2 #E28C56 #66E256 #56ACE2
split-complementary
#D256E2 #ACE256 #56E28C
monochromatic
#931CA2 #C225D6 #D256E2 #E08AEB #EEBEF4

Accessibility & contrast

On white

3.40
#D256E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.17
#D256E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D256E2
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D256E2#FFFFFF#000000##000000
##D256E21.003.406.176.17
#FFFFFF3.401.0021.0021.00
#0000006.1721.001.001.00
##0000006.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3982E6
Deuteranopia (green-blind)
#6A90DE
Tritanopia (blue-blind)
#D56B95
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #d256e2;
/* rgb */ color: rgb(210, 86, 226);
/* oklch */ color: oklch(66.6% 0.226 323.0);
Tailwind
colors: {
  custom: {
    50: '#e38dec',
    500: '#d256e2',
    950: '#000000',
  },
}
SCSS
$custom: #d256e2;
$custom-light: #e38dec;
$custom-dark: #000000;
JSON
{
  "hex": "#d256e2",
  "rgb": {
    "r": 210,
    "g": 86,
    "b": 226
  },
  "hsl": {
    "h": 293.143,
    "s": 70.707,
    "l": 61.176
  },
  "oklch": {
    "l": 0.66579,
    "c": 0.22583,
    "h": 323
  },
  "luminance": 0.25848
}

Semantic roles & 50–950 ramp

primary
#D256E2
secondary
#B6E4B0
accent
#D31329
background
#FEF9FE
surface
#FDF1FD
border
#D5CBD5
text
#160D16
muted
#847E84

Preview Lab

Preview with #D256E2

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

Preview Lab → · Contrast checker → · Palette generator →

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