#D252FD#D252FD

#D252FD is a light, highly saturated purple. Relative luminance 0.268; OKLCH L 67.7% C 0.254 H 316.3°. Best body text is #000000 at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#D252FD
RGBrgb(210, 82, 253)
HSLhsl(285, 98%, 66%)
HSVhsv(285, 68%, 99%)
CMYKcmyk(17%, 67.6%, 0%, 0.8%)
CIE-LABlab(58.82, 73.81, -62.51)
CIE-LCHlch(58.82, 96.72, 319.73°)
OKLaboklab(67.73% 0.1841 -0.1757)
OKLCHoklch(67.73% 0.254 316.3)
XYZxyz(47.3226, 26.8299, 95.5954)
Luminance0.2683 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D252FD #7DFD52
analogous
#7C52FD #D252FD #FD52D3
triadic
#D252FD #FDD252 #52FDD2
tetradic
#D252FD #FD7C52 #7DFD52 #52D3FD
square
#D252FD #FD7C52 #7DFD52 #52D3FD
split-complementary
#D252FD #D3FD52 #52FD7C
monochromatic
#9E02D2 #C215FC #D252FD #E28EFE #F1CBFE

Accessibility & contrast

On white

3.30
#D252FD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.37
#D252FD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D252FD
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D252FD#FFFFFF#000000##000000
##D252FD1.003.306.376.37
#FFFFFF3.301.0021.0021.00
#0000006.3721.001.001.00
##0000006.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0086FF
Deuteranopia (green-blind)
#5291F9
Tritanopia (blue-blind)
#CF73A2
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #d252fd;
/* rgb */ color: rgb(210, 82, 253);
/* oklch */ color: oklch(67.7% 0.254 316.3);
Tailwind
colors: {
  custom: {
    50: '#e48cff',
    500: '#d252fd',
    950: '#000000',
  },
}
SCSS
$custom: #d252fd;
$custom-light: #e48cff;
$custom-dark: #000000;
JSON
{
  "hex": "#d252fd",
  "rgb": {
    "r": 210,
    "g": 82,
    "b": 253
  },
  "hsl": {
    "h": 284.912,
    "s": 97.714,
    "l": 65.686
  },
  "oklch": {
    "l": 0.67727,
    "c": 0.25449,
    "h": 316.3
  },
  "luminance": 0.26828
}

Semantic roles & 50–950 ramp

primary
#D252FD
secondary
#C7F2B9
accent
#E6003A
background
#FEF9FF
surface
#FDF1FF
border
#D5CBD7
text
#160D18
muted
#847E86

Preview Lab

Preview with #D252FD

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

Preview Lab → · Contrast checker → · Palette generator →

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