#D868F0#D868F0

#D868F0 is a light, highly saturated purple. Relative luminance 0.308; OKLCH L 70.2% C 0.216 H 320.3°. Best body text is #000000 at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#D868F0
RGBrgb(216, 104, 240)
HSLhsl(289, 82%, 67%)
HSVhsv(289, 57%, 94%)
CMYKcmyk(10%, 56.7%, 0%, 5.9%)
CIE-LABlab(62.33, 63.27, -49.66)
CIE-LCHlch(62.33, 80.43, 321.87°)
OKLaboklab(70.21% 0.1662 -0.1381)
OKLCHoklch(70.21% 0.216 320.3)
XYZxyz(48.9955, 30.7930, 85.7840)
Luminance0.3079 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D868F0 #80F068
analogous
#9468F0 #D868F0 #F068C4
triadic
#D868F0 #F0D868 #68F0D8
tetradic
#D868F0 #F09468 #80F068 #68C4F0
square
#D868F0 #F09468 #80F068 #68C4F0
split-complementary
#D868F0 #C4F068 #68F094
monochromatic
#AA14CA #CA30EA #D868F0 #E6A0F6 #F5D7FB

Accessibility & contrast

On white

2.93
#D868F0 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.16
#D868F0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D868F0
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D868F0#FFFFFF#000000##000000
##D868F01.002.937.167.16
#FFFFFF2.931.0021.0021.00
#0000007.1621.001.001.00
##0000007.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C8FF4
Deuteranopia (green-blind)
#739BEC
Tritanopia (blue-blind)
#D97DA2
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #d868f0;
/* rgb */ color: rgb(216, 104, 240);
/* oklch */ color: oklch(70.2% 0.216 320.3);
Tailwind
colors: {
  custom: {
    50: '#e798f5',
    500: '#d868f0',
    950: '#000000',
  },
}
SCSS
$custom: #d868f0;
$custom-light: #e798f5;
$custom-dark: #000000;
JSON
{
  "hex": "#d868f0",
  "rgb": {
    "r": 216,
    "g": 104,
    "b": 240
  },
  "hsl": {
    "h": 289.412,
    "s": 81.928,
    "l": 67.451
  },
  "oklch": {
    "l": 0.70207,
    "c": 0.21608,
    "h": 320.3
  },
  "luminance": 0.30791
}

Semantic roles & 50–950 ramp

primary
#D868F0
secondary
#CCEFC5
accent
#DE072D
background
#FEF9FF
surface
#FDF2FE
border
#D5CCD6
text
#160E17
muted
#847E85

Preview Lab

Preview with #D868F0

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

Preview Lab → · Contrast checker → · Palette generator →

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