#D965FE#D965FE

#D965FE is a light, highly saturated purple. Relative luminance 0.312; OKLCH L 70.7% C 0.234 H 317.2°. Best body text is #000000 at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#D965FE
RGBrgb(217, 101, 254)
HSLhsl(285, 99%, 70%)
HSVhsv(285, 60%, 100%)
CMYKcmyk(14.6%, 60.2%, 0%, 0.4%)
CIE-LABlab(62.69, 67.53, -56.82)
CIE-LCHlch(62.69, 88.26, 319.92°)
OKLaboklab(70.73% 0.1715 -0.1589)
OKLCHoklch(70.73% 0.234 317.2)
XYZxyz(51.1558, 31.2168, 97.0775)
Luminance0.3121 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D965FE #8AFE65
analogous
#8C65FE #D965FE #FE65D7
triadic
#D965FE #FED965 #65FED9
tetradic
#D965FE #FE8C65 #8AFE65 #65D7FE
square
#D965FE #FE8C65 #8AFE65 #65D7FE
split-complementary
#D965FE #D7FE65 #65FE8C
monochromatic
#B002E7 #CA28FE #D965FE #E8A2FE #F7DFFF

Accessibility & contrast

On white

2.90
#D965FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.24
#D965FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D965FE
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D965FE#FFFFFF#000000##000000
##D965FE1.002.907.247.24
#FFFFFF2.901.0021.0021.00
#0000007.2421.001.001.00
##0000007.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3890FF
Deuteranopia (green-blind)
#699BFA
Tritanopia (blue-blind)
#D87FA9
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #d965fe;
/* rgb */ color: rgb(217, 101, 254);
/* oklch */ color: oklch(70.7% 0.234 317.2);
Tailwind
colors: {
  custom: {
    50: '#e897ff',
    500: '#d965fe',
    950: '#000000',
  },
}
SCSS
$custom: #d965fe;
$custom-light: #e897ff;
$custom-dark: #000000;
JSON
{
  "hex": "#d965fe",
  "rgb": {
    "r": 217,
    "g": 101,
    "b": 254
  },
  "hsl": {
    "h": 285.49,
    "s": 98.71,
    "l": 69.608
  },
  "oklch": {
    "l": 0.70731,
    "c": 0.2338,
    "h": 317.2
  },
  "luminance": 0.31215
}

Semantic roles & 50–950 ramp

primary
#D965FE
secondary
#D4F5CA
accent
#E60038
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160E18
muted
#847E86

Preview Lab

Preview with #D965FE

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

Preview Lab → · Contrast checker → · Palette generator →

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