#D864F1#D864F1

#D864F1 is a light, highly saturated purple. Relative luminance 0.301; OKLCH L 69.8% C 0.223 H 320.2°. Best body text is #000000 at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#D864F1
RGBrgb(216, 100, 241)
HSLhsl(289, 83%, 67%)
HSVhsv(289, 59%, 95%)
CMYKcmyk(10.4%, 58.5%, 0%, 5.5%)
CIE-LABlab(61.71, 65.28, -51.20)
CIE-LCHlch(61.71, 82.96, 321.89°)
OKLaboklab(69.77% 0.1711 -0.1426)
OKLCHoklch(69.77% 0.223 320.2)
XYZxyz(48.7513, 30.0663, 86.4375)
Luminance0.3006 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D864F1 #7DF164
analogous
#9264F1 #D864F1 #F164C3
triadic
#D864F1 #F1D864 #64F1D8
tetradic
#D864F1 #F19264 #7DF164 #64C3F1
square
#D864F1 #F19264 #7DF164 #64C3F1
split-complementary
#D864F1 #C3F164 #64F192
monochromatic
#A812C8 #CA2CEC #D864F1 #E69CF6 #F4D4FB

Accessibility & contrast

On white

2.99
#D864F1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.01
#D864F1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D864F1
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D864F1#FFFFFF#000000##000000
##D864F11.002.997.017.01
#FFFFFF2.991.0021.0021.00
#0000007.0121.001.001.00
##0000007.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#448DF5
Deuteranopia (green-blind)
#7099ED
Tritanopia (blue-blind)
#D97AA1
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #d864f1;
/* rgb */ color: rgb(216, 100, 241);
/* oklch */ color: oklch(69.8% 0.223 320.2);
Tailwind
colors: {
  custom: {
    50: '#e796f6',
    500: '#d864f1',
    950: '#000000',
  },
}
SCSS
$custom: #d864f1;
$custom-light: #e796f6;
$custom-dark: #000000;
JSON
{
  "hex": "#d864f1",
  "rgb": {
    "r": 216,
    "g": 100,
    "b": 241
  },
  "hsl": {
    "h": 289.362,
    "s": 83.432,
    "l": 66.863
  },
  "oklch": {
    "l": 0.69771,
    "c": 0.22273,
    "h": 320.2
  },
  "luminance": 0.30064
}

Semantic roles & 50–950 ramp

primary
#D864F1
secondary
#CAEFC2
accent
#E0062C
background
#FEF9FF
surface
#FDF2FE
border
#D5CCD6
text
#160E17
muted
#847E85

Preview Lab

Preview with #D864F1

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

Preview Lab → · Contrast checker → · Palette generator →

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