#D868F2#D868F2

#D868F2 is a light, highly saturated purple. Relative luminance 0.309; OKLCH L 70.3% C 0.218 H 319.7°. Best body text is #000000 at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#D868F2
RGBrgb(216, 104, 242)
HSLhsl(289, 84%, 68%)
HSVhsv(289, 57%, 95%)
CMYKcmyk(10.7%, 57%, 0%, 5.1%)
CIE-LABlab(62.43, 63.64, -50.61)
CIE-LCHlch(62.43, 81.31, 321.51°)
OKLaboklab(70.31% 0.1663 -0.1409)
OKLCHoklch(70.31% 0.218 319.7)
XYZxyz(49.2942, 30.9125, 87.3573)
Luminance0.3091 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D868F2 #82F268
analogous
#9368F2 #D868F2 #F268C7
triadic
#D868F2 #F2D868 #68F2D8
tetradic
#D868F2 #F29368 #82F268 #68C7F2
square
#D868F2 #F29368 #82F268 #68C7F2
split-complementary
#D868F2 #C7F268 #68F293
monochromatic
#AA12CE #C930ED #D868F2 #E7A0F7 #F5D9FC

Accessibility & contrast

On white

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

On black

7.18
#D868F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D868F2
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D868F2#FFFFFF#000000##000000
##D868F21.002.927.187.18
#FFFFFF2.921.0021.0021.00
#0000007.1821.001.001.00
##0000007.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A8FF6
Deuteranopia (green-blind)
#729BEE
Tritanopia (blue-blind)
#D97DA4
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #d868f2;
/* rgb */ color: rgb(216, 104, 242);
/* oklch */ color: oklch(70.3% 0.218 319.7);
Tailwind
colors: {
  custom: {
    50: '#e798f7',
    500: '#d868f2',
    950: '#000000',
  },
}
SCSS
$custom: #d868f2;
$custom-light: #e798f7;
$custom-dark: #000000;
JSON
{
  "hex": "#d868f2",
  "rgb": {
    "r": 216,
    "g": 104,
    "b": 242
  },
  "hsl": {
    "h": 288.696,
    "s": 84.146,
    "l": 67.843
  },
  "oklch": {
    "l": 0.70314,
    "c": 0.21794,
    "h": 319.7
  },
  "luminance": 0.3091
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D868F2

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

Preview Lab → · Contrast checker → · Palette generator →

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