#D256F5#D256F5

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

Color values

HEX#D256F5
RGBrgb(210, 86, 245)
HSLhsl(287, 89%, 65%)
HSVhsv(287, 65%, 96%)
CMYKcmyk(14.3%, 64.9%, 0%, 3.9%)
CIE-LABlab(58.93, 70.68, -57.90)
CIE-LCHlch(58.93, 91.37, 320.68°)
OKLaboklab(67.66% 0.1803 -0.1622)
OKLCHoklch(67.66% 0.243 318)
XYZxyz(46.3853, 26.9518, 89.1274)
Luminance0.2695 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D256F5 #79F556
analogous
#8256F5 #D256F5 #F556C9
triadic
#D256F5 #F5D256 #56F5D2
tetradic
#D256F5 #F58256 #79F556 #56C9F5
square
#D256F5 #F58256 #79F556 #56C9F5
split-complementary
#D256F5 #C9F556 #56F582
monochromatic
#9C0CC5 #C31CF2 #D256F5 #E190F8 #F1CAFC

Accessibility & contrast

On white

3.29
#D256F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.39
#D256F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D256F5
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D256F5#FFFFFF#000000##000000
##D256F51.003.296.396.39
#FFFFFF3.291.0021.0021.00
#0000006.3921.001.001.00
##0000006.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#1886FA
Deuteranopia (green-blind)
#5D92F1
Tritanopia (blue-blind)
#D1739F
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #d256f5;
/* rgb */ color: rgb(210, 86, 245);
/* oklch */ color: oklch(67.7% 0.243 318.0);
Tailwind
colors: {
  custom: {
    50: '#e48ef9',
    500: '#d256f5',
    950: '#000000',
  },
}
SCSS
$custom: #d256f5;
$custom-light: #e48ef9;
$custom-dark: #000000;
JSON
{
  "hex": "#d256f5",
  "rgb": {
    "r": 210,
    "g": 86,
    "b": 245
  },
  "hsl": {
    "h": 286.792,
    "s": 88.827,
    "l": 64.902
  },
  "oklch": {
    "l": 0.6766,
    "c": 0.24252,
    "h": 318
  },
  "luminance": 0.2695
}

Semantic roles & 50–950 ramp

primary
#D256F5
secondary
#C4EFB8
accent
#E50033
background
#FEF9FF
surface
#FDF1FF
border
#D5CBD7
text
#160D17
muted
#847E85

Preview Lab

Preview with #D256F5

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

Preview Lab → · Contrast checker → · Palette generator →

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