#D952F5#D952F5

#D952F5 is a light, highly saturated purple. Relative luminance 0.274; OKLCH L 68.1% C 0.250 H 320.3°. Best body text is #000000 at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#D952F5
RGBrgb(217, 82, 245)
HSLhsl(290, 89%, 64%)
HSVhsv(290, 67%, 96%)
CMYKcmyk(11.4%, 66.5%, 0%, 3.9%)
CIE-LABlab(59.33, 73.80, -57.21)
CIE-LCHlch(59.33, 93.38, 322.22°)
OKLaboklab(68.14% 0.1925 -0.16)
OKLCHoklch(68.14% 0.25 320.3)
XYZxyz(48.1120, 27.3812, 89.1194)
Luminance0.2738 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D952F5 #6EF552
analogous
#8852F5 #D952F5 #F552C0
triadic
#D952F5 #F5D952 #52F5D9
tetradic
#D952F5 #F58852 #6EF552 #52C0F5
square
#D952F5 #F58852 #6EF552 #52C0F5
split-complementary
#D952F5 #C0F552 #52F588
monochromatic
#A20BC1 #CC18F2 #D952F5 #E68CF8 #F2C6FC

Accessibility & contrast

On white

3.24
#D952F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.48
#D952F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D952F5
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D952F5#FFFFFF#000000##000000
##D952F51.003.246.486.48
#FFFFFF3.241.0021.0021.00
#0000006.4821.001.001.00
##0000006.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#1585FA
Deuteranopia (green-blind)
#6194F1
Tritanopia (blue-blind)
#DA6F9D
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #d952f5;
/* rgb */ color: rgb(217, 82, 245);
/* oklch */ color: oklch(68.1% 0.250 320.3);
Tailwind
colors: {
  custom: {
    50: '#e98cf9',
    500: '#d952f5',
    950: '#000000',
  },
}
SCSS
$custom: #d952f5;
$custom-light: #e98cf9;
$custom-dark: #000000;
JSON
{
  "hex": "#d952f5",
  "rgb": {
    "r": 217,
    "g": 82,
    "b": 245
  },
  "hsl": {
    "h": 289.693,
    "s": 89.071,
    "l": 64.118
  },
  "oklch": {
    "l": 0.68142,
    "c": 0.25031,
    "h": 320.3
  },
  "luminance": 0.27379
}

Semantic roles & 50–950 ramp

primary
#D952F5
secondary
#BFEEB5
accent
#E60027
background
#FEF9FF
surface
#FDF1FF
border
#D5CBD7
text
#170D17
muted
#857E85

Preview Lab

Preview with #D952F5

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

Preview Lab → · Contrast checker → · Palette generator →

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