#D964F2#D964F2

#D964F2 is a light, highly saturated purple. Relative luminance 0.303; OKLCH L 69.9% C 0.224 H 320.3°. Best body text is #000000 at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#D964F2
RGBrgb(217, 100, 242)
HSLhsl(289, 85%, 67%)
HSVhsv(289, 59%, 95%)
CMYKcmyk(10.3%, 58.7%, 0%, 5.1%)
CIE-LABlab(61.89, 65.70, -51.46)
CIE-LCHlch(61.89, 83.46, 321.93°)
OKLaboklab(69.95% 0.1723 -0.1433)
OKLCHoklch(69.95% 0.224 320.3)
XYZxyz(49.1975, 30.2791, 87.2402)
Luminance0.3028 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D964F2 #7DF264
analogous
#9264F2 #D964F2 #F264C4
triadic
#D964F2 #F2D964 #64F2D9
tetradic
#D964F2 #F29264 #7DF264 #64C4F2
square
#D964F2 #F29264 #7DF264 #64C4F2
split-complementary
#D964F2 #C4F264 #64F292
monochromatic
#AA11CB #CB2CED #D964F2 #E79CF7 #F5D5FB

Accessibility & contrast

On white

2.98
#D964F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.06
#D964F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D964F2
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D964F2#FFFFFF#000000##000000
##D964F21.002.987.067.06
#FFFFFF2.981.0021.0021.00
#0000007.0621.001.001.00
##0000007.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#448DF6
Deuteranopia (green-blind)
#709AEE
Tritanopia (blue-blind)
#DA7AA2
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #d964f2;
/* rgb */ color: rgb(217, 100, 242);
/* oklch */ color: oklch(69.9% 0.224 320.3);
Tailwind
colors: {
  custom: {
    50: '#e896f7',
    500: '#d964f2',
    950: '#000000',
  },
}
SCSS
$custom: #d964f2;
$custom-light: #e896f7;
$custom-dark: #000000;
JSON
{
  "hex": "#d964f2",
  "rgb": {
    "r": 217,
    "g": 100,
    "b": 242
  },
  "hsl": {
    "h": 289.437,
    "s": 84.524,
    "l": 67.059
  },
  "oklch": {
    "l": 0.69948,
    "c": 0.2241,
    "h": 320.3
  },
  "luminance": 0.30277
}

Semantic roles & 50–950 ramp

primary
#D964F2
secondary
#CAEFC2
accent
#E1052B
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160E17
muted
#847E85

Preview Lab

Preview with #D964F2

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

Preview Lab → · Contrast checker → · Palette generator →

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