#D256FD#D256FD

#D256FD is a light, highly saturated purple. Relative luminance 0.274; OKLCH L 68.1% C 0.250 H 316.1°. Best body text is #000000 at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#D256FD
RGBrgb(210, 86, 253)
HSLhsl(285, 98%, 66%)
HSVhsv(285, 66%, 99%)
CMYKcmyk(17%, 66%, 0%, 0.8%)
CIE-LABlab(59.39, 72.20, -61.60)
CIE-LCHlch(59.39, 94.91, 319.53°)
OKLaboklab(68.14% 0.18 -0.173)
OKLCHoklch(68.14% 0.25 316.1)
XYZxyz(47.6330, 27.4509, 95.6989)
Luminance0.2745 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D256FD #81FD56
analogous
#7F56FD #D256FD #FD56D5
triadic
#D256FD #FDD256 #56FDD2
tetradic
#D256FD #FD7F56 #81FD56 #56D5FD
square
#D256FD #FD7F56 #81FD56 #56D5FD
split-complementary
#D256FD #D5FD56 #56FD7F
monochromatic
#A003D6 #C21AFC #D256FD #E292FE #F2CFFE

Accessibility & contrast

On white

3.24
#D256FD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.49
#D256FD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D256FD
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D256FD#FFFFFF#000000##000000
##D256FD1.003.246.496.49
#FFFFFF3.241.0021.0021.00
#0000006.4921.001.001.00
##0000006.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0088FF
Deuteranopia (green-blind)
#5693F9
Tritanopia (blue-blind)
#CF76A3
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #d256fd;
/* rgb */ color: rgb(210, 86, 253);
/* oklch */ color: oklch(68.1% 0.250 316.1);
Tailwind
colors: {
  custom: {
    50: '#e48eff',
    500: '#d256fd',
    950: '#000000',
  },
}
SCSS
$custom: #d256fd;
$custom-light: #e48eff;
$custom-dark: #000000;
JSON
{
  "hex": "#d256fd",
  "rgb": {
    "r": 210,
    "g": 86,
    "b": 253
  },
  "hsl": {
    "h": 284.551,
    "s": 97.661,
    "l": 66.471
  },
  "oklch": {
    "l": 0.68138,
    "c": 0.24966,
    "h": 316.1
  },
  "luminance": 0.27449
}

Semantic roles & 50–950 ramp

primary
#D256FD
secondary
#CAF2BC
accent
#E6003B
background
#FEF9FF
surface
#FDF1FF
border
#D5CBD7
text
#160D18
muted
#847E86

Preview Lab

Preview with #D256FD

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

Preview Lab → · Contrast checker → · Palette generator →

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