#D256F3#D256F3

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

Color values

HEX#D256F3
RGBrgb(210, 86, 243)
HSLhsl(287, 87%, 65%)
HSVhsv(287, 65%, 95%)
CMYKcmyk(13.6%, 64.6%, 0%, 4.7%)
CIE-LABlab(58.82, 70.31, -56.97)
CIE-LCHlch(58.82, 90.49, 320.98°)
OKLaboklab(67.54% 0.1803 -0.1595)
OKLCHoklch(67.54% 0.241 318.5)
XYZxyz(46.0816, 26.8303, 87.5281)
Luminance0.2683 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D256F3 #77F356
analogous
#8456F3 #D256F3 #F356C5
triadic
#D256F3 #F3D256 #56F3D2
tetradic
#D256F3 #F38456 #77F356 #56C5F3
square
#D256F3 #F38456 #77F356 #56C5F3
split-complementary
#D256F3 #C5F356 #56F384
monochromatic
#9B0EC1 #C31DEF #D256F3 #E18FF7 #F0C8FB

Accessibility & contrast

On white

3.30
#D256F3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.37
#D256F3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D256F3
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D256F3#FFFFFF#000000##000000
##D256F31.003.306.376.37
#FFFFFF3.301.0021.0021.00
#0000006.3721.001.001.00
##0000006.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#1D85F8
Deuteranopia (green-blind)
#5E92EF
Tritanopia (blue-blind)
#D2729E
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #d256f3;
/* rgb */ color: rgb(210, 86, 243);
/* oklch */ color: oklch(67.5% 0.241 318.5);
Tailwind
colors: {
  custom: {
    50: '#e38ef8',
    500: '#d256f3',
    950: '#000000',
  },
}
SCSS
$custom: #d256f3;
$custom-light: #e38ef8;
$custom-dark: #000000;
JSON
{
  "hex": "#d256f3",
  "rgb": {
    "r": 210,
    "g": 86,
    "b": 243
  },
  "hsl": {
    "h": 287.389,
    "s": 86.74,
    "l": 64.51
  },
  "oklch": {
    "l": 0.67543,
    "c": 0.24073,
    "h": 318.5
  },
  "luminance": 0.26828
}

Semantic roles & 50–950 ramp

primary
#D256F3
secondary
#C3EDB7
accent
#E30232
background
#FEF9FF
surface
#FDF1FF
border
#D5CBD7
text
#160D17
muted
#847E85

Preview Lab

Preview with #D256F3

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

Preview Lab → · Contrast checker → · Palette generator →

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