#D867F7#D867F7

#D867F7 is a light, highly saturated purple. Relative luminance 0.310; OKLCH L 70.5% C 0.224 H 318.5°. Best body text is #000000 at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#D867F7
RGBrgb(216, 103, 247)
HSLhsl(287, 90%, 69%)
HSVhsv(287, 58%, 97%)
CMYKcmyk(12.6%, 58.3%, 0%, 3.1%)
CIE-LABlab(62.52, 65.05, -53.24)
CIE-LCHlch(62.52, 84.06, 320.70°)
OKLaboklab(70.46% 0.1677 -0.1485)
OKLCHoklch(70.46% 0.224 318.5)
XYZxyz(49.9554, 31.0169, 91.3331)
Luminance0.3101 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D867F7 #86F767
analogous
#9067F7 #D867F7 #F767CE
triadic
#D867F7 #F7D867 #67F7D8
tetradic
#D867F7 #F79067 #86F767 #67CEF7
square
#D867F7 #F79067 #86F767 #67CEF7
split-complementary
#D867F7 #CEF767 #67F790
monochromatic
#AC0BD8 #C92DF4 #D867F7 #E7A1FA #F6DBFD

Accessibility & contrast

On white

2.92
#D867F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.20
#D867F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D867F7
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D867F7#FFFFFF#000000##000000
##D867F71.002.927.207.20
#FFFFFF2.921.0021.0021.00
#0000007.2021.001.001.00
##0000007.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4390FC
Deuteranopia (green-blind)
#6E9BF3
Tritanopia (blue-blind)
#D87EA6
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #d867f7;
/* rgb */ color: rgb(216, 103, 247);
/* oklch */ color: oklch(70.5% 0.224 318.5);
Tailwind
colors: {
  custom: {
    50: '#e798fa',
    500: '#d867f7',
    950: '#000000',
  },
}
SCSS
$custom: #d867f7;
$custom-light: #e798fa;
$custom-dark: #000000;
JSON
{
  "hex": "#d867f7",
  "rgb": {
    "r": 216,
    "g": 103,
    "b": 247
  },
  "hsl": {
    "h": 287.083,
    "s": 90,
    "l": 68.627
  },
  "oklch": {
    "l": 0.70462,
    "c": 0.22405,
    "h": 318.5
  },
  "luminance": 0.31015
}

Semantic roles & 50–950 ramp

primary
#D867F7
secondary
#D1F2C7
accent
#E60031
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160E17
muted
#847E85

Preview Lab

Preview with #D867F7

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

Preview Lab → · Contrast checker → · Palette generator →

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