#D256F9#D256F9

#D256F9 is a light, highly saturated purple. Relative luminance 0.272; OKLCH L 67.9% C 0.246 H 317.1°. Best body text is #000000 at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#D256F9
RGBrgb(210, 86, 249)
HSLhsl(286, 93%, 66%)
HSVhsv(286, 65%, 98%)
CMYKcmyk(15.7%, 65.5%, 0%, 2.4%)
CIE-LABlab(59.16, 71.44, -59.75)
CIE-LCHlch(59.16, 93.13, 320.09°)
OKLaboklab(67.9% 0.1802 -0.1676)
OKLCHoklch(67.9% 0.246 317.1)
XYZxyz(47.0025, 27.1987, 92.3781)
Luminance0.2720 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D256F9 #7DF956
analogous
#8056F9 #D256F9 #F956CF
triadic
#D256F9 #F9D256 #56F9D2
tetradic
#D256F9 #F98056 #7DF956 #56CFF9
square
#D256F9 #F98056 #7DF956 #56CFF9
split-complementary
#D256F9 #CFF956 #56F980
monochromatic
#9E07CD #C21BF7 #D256F9 #E291FB #F1CCFD

Accessibility & contrast

On white

3.26
#D256F9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.44
#D256F9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D256F9
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D256F9#FFFFFF#000000##000000
##D256F91.003.266.446.44
#FFFFFF3.261.0021.0021.00
#0000006.4421.001.001.00
##0000006.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0787FE
Deuteranopia (green-blind)
#5992F5
Tritanopia (blue-blind)
#D074A1
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #d256f9;
/* rgb */ color: rgb(210, 86, 249);
/* oklch */ color: oklch(67.9% 0.246 317.1);
Tailwind
colors: {
  custom: {
    50: '#e48efc',
    500: '#d256f9',
    950: '#000000',
  },
}
SCSS
$custom: #d256f9;
$custom-light: #e48efc;
$custom-dark: #000000;
JSON
{
  "hex": "#d256f9",
  "rgb": {
    "r": 210,
    "g": 86,
    "b": 249
  },
  "hsl": {
    "h": 285.644,
    "s": 93.143,
    "l": 65.686
  },
  "oklch": {
    "l": 0.67897,
    "c": 0.24608,
    "h": 317.1
  },
  "luminance": 0.27197
}

Semantic roles & 50–950 ramp

primary
#D256F9
secondary
#C7F1BA
accent
#E60037
background
#FEF9FF
surface
#FDF1FF
border
#D5CBD7
text
#160D18
muted
#847E86

Preview Lab

Preview with #D256F9

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

Preview Lab → · Contrast checker → · Palette generator →

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