#D256EF#D256EF

#D256EF is a light, highly saturated purple. Relative luminance 0.266; OKLCH L 67.3% C 0.237 H 319.5°. Best body text is #000000 at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#D256EF
RGBrgb(210, 86, 239)
HSLhsl(289, 83%, 64%)
HSVhsv(289, 64%, 94%)
CMYKcmyk(12.1%, 64%, 0%, 6.3%)
CIE-LABlab(58.59, 69.56, -55.10)
CIE-LCHlch(58.59, 88.74, 321.62°)
OKLaboklab(67.31% 0.1804 -0.154)
OKLCHoklch(67.31% 0.237 319.5)
XYZxyz(45.4841, 26.5913, 84.3814)
Luminance0.2659 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D256EF #73EF56
analogous
#8556EF #D256EF #EF56C0
triadic
#D256EF #EFD256 #56EFD2
tetradic
#D256EF #EF8556 #73EF56 #56C0EF
square
#D256EF #EF8556 #73EF56 #56C0EF
split-complementary
#D256EF #C0EF56 #56EF85
monochromatic
#9912B9 #C31EEA #D256EF #E18EF4 #F0C6FA

Accessibility & contrast

On white

3.32
#D256EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.32
#D256EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D256EF
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D256EF#FFFFFF#000000##000000
##D256EF1.003.326.326.32
#FFFFFF3.321.0021.0021.00
#0000006.3221.001.001.00
##0000006.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2684F4
Deuteranopia (green-blind)
#6191EB
Tritanopia (blue-blind)
#D2709B
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #d256ef;
/* rgb */ color: rgb(210, 86, 239);
/* oklch */ color: oklch(67.3% 0.237 319.5);
Tailwind
colors: {
  custom: {
    50: '#e38ef5',
    500: '#d256ef',
    950: '#000000',
  },
}
SCSS
$custom: #d256ef;
$custom-light: #e38ef5;
$custom-dark: #000000;
JSON
{
  "hex": "#d256ef",
  "rgb": {
    "r": 210,
    "g": 86,
    "b": 239
  },
  "hsl": {
    "h": 288.627,
    "s": 82.703,
    "l": 63.725
  },
  "oklch": {
    "l": 0.6731,
    "c": 0.23719,
    "h": 319.5
  },
  "luminance": 0.26589
}

Semantic roles & 50–950 ramp

primary
#D256EF
secondary
#C0EBB5
accent
#DF062F
background
#FEF9FF
surface
#FDF1FE
border
#D5CBD6
text
#160D17
muted
#847E85

Preview Lab

Preview with #D256EF

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

Preview Lab → · Contrast checker → · Palette generator →

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