#D252E7#D252E7

#D252E7 is a light, highly saturated purple. Relative luminance 0.255; OKLCH L 66.4% C 0.235 H 321.8°. Best body text is #000000 at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#D252E7
RGBrgb(210, 82, 231)
HSLhsl(292, 76%, 61%)
HSVhsv(292, 65%, 91%)
CMYKcmyk(9.1%, 64.5%, 0%, 9.4%)
CIE-LABlab(57.57, 69.74, -52.26)
CIE-LCHlch(57.57, 87.15, 323.15°)
OKLaboklab(66.43% 0.1848 -0.1457)
OKLCHoklch(66.43% 0.235 321.8)
XYZxyz(44.0179, 25.5080, 78.1908)
Luminance0.2551 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D252E7 #67E752
analogous
#8852E7 #D252E7 #E752B2
triadic
#D252E7 #E7D252 #52E7D2
tetradic
#D252E7 #E78852 #67E752 #52B2E7
square
#D252E7 #E78852 #67E752 #52B2E7
split-complementary
#D252E7 #B2E752 #52E788
monochromatic
#9317A7 #C21FDD #D252E7 #E088EE #EEBDF6

Accessibility & contrast

On white

3.44
#D252E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.10
#D252E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D252E7
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D252E7#FFFFFF#000000##000000
##D252E71.003.446.106.10
#FFFFFF3.441.0021.0021.00
#0000006.1021.001.001.00
##0000006.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A81EB
Deuteranopia (green-blind)
#648FE3
Tritanopia (blue-blind)
#D46B96
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #d252e7;
/* rgb */ color: rgb(210, 82, 231);
/* oklch */ color: oklch(66.4% 0.235 321.8);
Tailwind
colors: {
  custom: {
    50: '#e38bef',
    500: '#d252e7',
    950: '#000000',
  },
}
SCSS
$custom: #d252e7;
$custom-light: #e38bef;
$custom-dark: #000000;
JSON
{
  "hex": "#d252e7",
  "rgb": {
    "r": 210,
    "g": 82,
    "b": 231
  },
  "hsl": {
    "h": 291.544,
    "s": 75.635,
    "l": 61.373
  },
  "oklch": {
    "l": 0.66428,
    "c": 0.23534,
    "h": 321.8
  },
  "luminance": 0.25506
}

Semantic roles & 50–950 ramp

primary
#D252E7
secondary
#B6E6AF
accent
#D80E2A
background
#FEF9FE
surface
#FDF1FD
border
#D5CBD5
text
#160D16
muted
#847E84

Preview Lab

Preview with #D252E7

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

Preview Lab → · Contrast checker → · Palette generator →

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