#D865FB#D865FB

#D865FB is a light, highly saturated purple. Relative luminance 0.309; OKLCH L 70.4% C 0.231 H 317.6°. Best body text is #000000 at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#D865FB
RGBrgb(216, 101, 251)
HSLhsl(286, 95%, 69%)
HSVhsv(286, 60%, 98%)
CMYKcmyk(13.9%, 59.8%, 0%, 1.6%)
CIE-LABlab(62.40, 66.72, -55.64)
CIE-LCHlch(62.40, 86.87, 320.18°)
OKLaboklab(70.44% 0.1703 -0.1555)
OKLCHoklch(70.44% 0.231 317.6)
XYZxyz(50.3827, 30.8733, 94.5533)
Luminance0.3087 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D865FB #88FB65
analogous
#8D65FB #D865FB #FB65D3
triadic
#D865FB #FBD865 #65FBD8
tetradic
#D865FB #FB8D65 #88FB65 #65D3FB
square
#D865FB #FB8D65 #88FB65 #65D3FB
split-complementary
#D865FB #D3FB65 #65FB8D
monochromatic
#AD06E0 #C929F9 #D865FB #E7A1FD #F6DCFE

Accessibility & contrast

On white

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

On black

7.17
#D865FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D865FB
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D865FB#FFFFFF#000000##000000
##D865FB1.002.937.177.17
#FFFFFF2.931.0021.0021.00
#0000007.1721.001.001.00
##0000007.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B8FFF
Deuteranopia (green-blind)
#6A9BF7
Tritanopia (blue-blind)
#D77EA7
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #d865fb;
/* rgb */ color: rgb(216, 101, 251);
/* oklch */ color: oklch(70.4% 0.231 317.6);
Tailwind
colors: {
  custom: {
    50: '#e797fd',
    500: '#d865fb',
    950: '#000000',
  },
}
SCSS
$custom: #d865fb;
$custom-light: #e797fd;
$custom-dark: #000000;
JSON
{
  "hex": "#d865fb",
  "rgb": {
    "r": 216,
    "g": 101,
    "b": 251
  },
  "hsl": {
    "h": 286,
    "s": 94.937,
    "l": 69.02
  },
  "oklch": {
    "l": 0.70442,
    "c": 0.23058,
    "h": 317.6
  },
  "luminance": 0.30871
}

Semantic roles & 50–950 ramp

primary
#D865FB
secondary
#D2F4C8
accent
#E60036
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160E18
muted
#847E86

Preview Lab

Preview with #D865FB

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

Preview Lab → · Contrast checker → · Palette generator →

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