#D867ED#D867ED

#D867ED is a light, highly saturated purple. Relative luminance 0.304; OKLCH L 69.9% C 0.215 H 321.1°. Best body text is #000000 at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#D867ED
RGBrgb(216, 103, 237)
HSLhsl(291, 79%, 67%)
HSVhsv(291, 57%, 93%)
CMYKcmyk(8.9%, 56.5%, 0%, 7.1%)
CIE-LABlab(62.01, 63.17, -48.51)
CIE-LCHlch(62.01, 79.64, 322.48°)
OKLaboklab(69.92% 0.1672 -0.1348)
OKLCHoklch(69.92% 0.215 321.1)
XYZxyz(48.4535, 30.4161, 83.4230)
Luminance0.3041 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D867ED #7CED67
analogous
#9567ED #D867ED #ED67BF
triadic
#D867ED #EDD867 #67EDD8
tetradic
#D867ED #ED9567 #7CED67 #67BFED
square
#D867ED #ED9567 #7CED67 #67BFED
split-complementary
#D867ED #BFED67 #67ED95
monochromatic
#A817C3 #CA30E7 #D867ED #E69EF3 #F4D4FA

Accessibility & contrast

On white

2.96
#D867ED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.08
#D867ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D867ED
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D867ED#FFFFFF#000000##000000
##D867ED1.002.967.087.08
#FFFFFF2.961.0021.0021.00
#0000007.0821.001.001.00
##0000007.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D8EF1
Deuteranopia (green-blind)
#749AE9
Tritanopia (blue-blind)
#DA7BA1
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #d867ed;
/* rgb */ color: rgb(216, 103, 237);
/* oklch */ color: oklch(69.9% 0.215 321.1);
Tailwind
colors: {
  custom: {
    50: '#e798f3',
    500: '#d867ed',
    950: '#000000',
  },
}
SCSS
$custom: #d867ed;
$custom-light: #e798f3;
$custom-dark: #000000;
JSON
{
  "hex": "#d867ed",
  "rgb": {
    "r": 216,
    "g": 103,
    "b": 237
  },
  "hsl": {
    "h": 290.597,
    "s": 78.824,
    "l": 66.667
  },
  "oklch": {
    "l": 0.69924,
    "c": 0.21475,
    "h": 321.1
  },
  "luminance": 0.30414
}

Semantic roles & 50–950 ramp

primary
#D867ED
secondary
#C9EDC2
accent
#DB0A2B
background
#FEF9FE
surface
#FDF2FD
border
#D5CCD5
text
#160E17
muted
#847E85

Preview Lab

Preview with #D867ED

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

Preview Lab → · Contrast checker → · Palette generator →

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