#D256F6#D256F6

#D256F6 is a light, highly saturated purple. Relative luminance 0.270; OKLCH L 67.7% C 0.243 H 317.8°. Best body text is #000000 at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#D256F6
RGBrgb(210, 86, 246)
HSLhsl(287, 90%, 65%)
HSVhsv(287, 65%, 96%)
CMYKcmyk(14.6%, 65%, 0%, 3.5%)
CIE-LABlab(58.99, 70.87, -58.36)
CIE-LCHlch(58.99, 91.81, 320.53°)
OKLaboklab(67.72% 0.1803 -0.1635)
OKLCHoklch(67.72% 0.243 317.8)
XYZxyz(46.5383, 27.0130, 89.9335)
Luminance0.2701 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D256F6 #7AF656
analogous
#8256F6 #D256F6 #F656CA
triadic
#D256F6 #F6D256 #56F6D2
tetradic
#D256F6 #F68256 #7AF656 #56CAF6
square
#D256F6 #F68256 #7AF656 #56CAF6
split-complementary
#D256F6 #CAF656 #56F682
monochromatic
#9D0BC7 #C31CF3 #D256F6 #E190F9 #F1CAFC

Accessibility & contrast

On white

3.28
#D256F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.40
#D256F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D256F6
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D256F6#FFFFFF#000000##000000
##D256F61.003.286.406.40
#FFFFFF3.281.0021.0021.00
#0000006.4021.001.001.00
##0000006.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#1586FB
Deuteranopia (green-blind)
#5C92F2
Tritanopia (blue-blind)
#D1739F
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #d256f6;
/* rgb */ color: rgb(210, 86, 246);
/* oklch */ color: oklch(67.7% 0.243 317.8);
Tailwind
colors: {
  custom: {
    50: '#e48efa',
    500: '#d256f6',
    950: '#000000',
  },
}
SCSS
$custom: #d256f6;
$custom-light: #e48efa;
$custom-dark: #000000;
JSON
{
  "hex": "#d256f6",
  "rgb": {
    "r": 210,
    "g": 86,
    "b": 246
  },
  "hsl": {
    "h": 286.5,
    "s": 89.888,
    "l": 65.098
  },
  "oklch": {
    "l": 0.67719,
    "c": 0.2434,
    "h": 317.8
  },
  "luminance": 0.27011
}

Semantic roles & 50–950 ramp

primary
#D256F6
secondary
#C5EFB9
accent
#E60034
background
#FEF9FF
surface
#FDF1FF
border
#D5CBD7
text
#160D17
muted
#847E85

Preview Lab

Preview with #D256F6

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

Preview Lab → · Contrast checker → · Palette generator →

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