#D867F2#D867F2

#D867F2 is a light, highly saturated purple. Relative luminance 0.307; OKLCH L 70.2% C 0.219 H 319.8°. Best body text is #000000 at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#D867F2
RGBrgb(216, 103, 242)
HSLhsl(289, 84%, 68%)
HSVhsv(289, 57%, 95%)
CMYKcmyk(10.7%, 57.4%, 0%, 5.1%)
CIE-LABlab(62.26, 64.10, -50.88)
CIE-LCHlch(62.26, 81.84, 321.56°)
OKLaboklab(70.19% 0.1675 -0.1417)
OKLCHoklch(70.19% 0.219 319.8)
XYZxyz(49.1942, 30.7124, 87.3240)
Luminance0.3071 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D867F2 #81F267
analogous
#9267F2 #D867F2 #F267C6
triadic
#D867F2 #F2D867 #67F2D8
tetradic
#D867F2 #F29267 #81F267 #67C6F2
square
#D867F2 #F29267 #81F267 #67C6F2
split-complementary
#D867F2 #C6F267 #67F292
monochromatic
#AA12CD #CA2FED #D867F2 #E69FF7 #F5D8FC

Accessibility & contrast

On white

2.94
#D867F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.14
#D867F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D867F2
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D867F2#FFFFFF#000000##000000
##D867F21.002.947.147.14
#FFFFFF2.941.0021.0021.00
#0000007.1421.001.001.00
##0000007.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#488FF6
Deuteranopia (green-blind)
#719BEE
Tritanopia (blue-blind)
#D97DA3
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #d867f2;
/* rgb */ color: rgb(216, 103, 242);
/* oklch */ color: oklch(70.2% 0.219 319.8);
Tailwind
colors: {
  custom: {
    50: '#e798f7',
    500: '#d867f2',
    950: '#000000',
  },
}
SCSS
$custom: #d867f2;
$custom-light: #e798f7;
$custom-dark: #000000;
JSON
{
  "hex": "#d867f2",
  "rgb": {
    "r": 216,
    "g": 103,
    "b": 242
  },
  "hsl": {
    "h": 288.777,
    "s": 84.242,
    "l": 67.647
  },
  "oklch": {
    "l": 0.7019,
    "c": 0.21939,
    "h": 319.8
  },
  "luminance": 0.3071
}

Semantic roles & 50–950 ramp

primary
#D867F2
secondary
#CDF0C5
accent
#E1052E
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160E17
muted
#847E85

Preview Lab

Preview with #D867F2

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

Preview Lab → · Contrast checker → · Palette generator →

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