#D256F2#D256F2

#D256F2 is a light, highly saturated purple. Relative luminance 0.268; OKLCH L 67.5% C 0.240 H 318.8°. Best body text is #000000 at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#D256F2
RGBrgb(210, 86, 242)
HSLhsl(288, 86%, 64%)
HSVhsv(288, 64%, 95%)
CMYKcmyk(13.2%, 64.5%, 0%, 5.1%)
CIE-LABlab(58.76, 70.12, -56.50)
CIE-LCHlch(58.76, 90.05, 321.14°)
OKLaboklab(67.48% 0.1804 -0.1581)
OKLCHoklch(67.48% 0.24 318.8)
XYZxyz(45.9310, 26.7701, 86.7349)
Luminance0.2677 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D256F2 #76F256
analogous
#8456F2 #D256F2 #F256C4
triadic
#D256F2 #F2D256 #56F2D2
tetradic
#D256F2 #F28456 #76F256 #56C4F2
square
#D256F2 #F28456 #76F256 #56C4F2
split-complementary
#D256F2 #C4F256 #56F284
monochromatic
#9B0FBF #C31DEE #D256F2 #E18FF6 #F0C8FB

Accessibility & contrast

On white

3.31
#D256F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.35
#D256F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D256F2
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D256F2#FFFFFF#000000##000000
##D256F21.003.316.356.35
#FFFFFF3.311.0021.0021.00
#0000006.3521.001.001.00
##0000006.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2085F7
Deuteranopia (green-blind)
#5F91EE
Tritanopia (blue-blind)
#D2729D
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #d256f2;
/* rgb */ color: rgb(210, 86, 242);
/* oklch */ color: oklch(67.5% 0.240 318.8);
Tailwind
colors: {
  custom: {
    50: '#e38ef7',
    500: '#d256f2',
    950: '#000000',
  },
}
SCSS
$custom: #d256f2;
$custom-light: #e38ef7;
$custom-dark: #000000;
JSON
{
  "hex": "#d256f2",
  "rgb": {
    "r": 210,
    "g": 86,
    "b": 242
  },
  "hsl": {
    "h": 287.692,
    "s": 85.714,
    "l": 64.314
  },
  "oklch": {
    "l": 0.67484,
    "c": 0.23985,
    "h": 318.8
  },
  "luminance": 0.26768
}

Semantic roles & 50–950 ramp

primary
#D256F2
secondary
#C2EDB7
accent
#E20331
background
#FEF9FF
surface
#FDF1FF
border
#D5CBD7
text
#160D17
muted
#847E85

Preview Lab

Preview with #D256F2

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

Preview Lab → · Contrast checker → · Palette generator →

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