#D252E8#D252E8

#D252E8 is a light, highly saturated purple. Relative luminance 0.256; OKLCH L 66.5% C 0.236 H 321.5°. Best body text is #000000 at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#D252E8
RGBrgb(210, 82, 232)
HSLhsl(291, 77%, 62%)
HSVhsv(291, 65%, 91%)
CMYKcmyk(9.5%, 64.7%, 0%, 9%)
CIE-LABlab(57.62, 69.92, -52.73)
CIE-LCHlch(57.62, 87.58, 322.98°)
OKLaboklab(66.49% 0.1848 -0.1471)
OKLCHoklch(66.49% 0.236 321.5)
XYZxyz(44.1595, 25.5647, 78.9367)
Luminance0.2556 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D252E8 #68E852
analogous
#8752E8 #D252E8 #E852B3
triadic
#D252E8 #E8D252 #52E8D2
tetradic
#D252E8 #E88752 #68E852 #52B3E8
square
#D252E8 #E88752 #68E852 #52B3E8
split-complementary
#D252E8 #B3E852 #52E887
monochromatic
#9416A9 #C31EDF #D252E8 #E088EF #EEBEF6

Accessibility & contrast

On white

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

On black

6.11
#D252E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D252E8
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D252E8#FFFFFF#000000##000000
##D252E81.003.446.116.11
#FFFFFF3.441.0021.0021.00
#0000006.1121.001.001.00
##0000006.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2881EC
Deuteranopia (green-blind)
#638FE4
Tritanopia (blue-blind)
#D46B96
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #d252e8;
/* rgb */ color: rgb(210, 82, 232);
/* oklch */ color: oklch(66.5% 0.236 321.5);
Tailwind
colors: {
  custom: {
    50: '#e38bf0',
    500: '#d252e8',
    950: '#000000',
  },
}
SCSS
$custom: #d252e8;
$custom-light: #e38bf0;
$custom-dark: #000000;
JSON
{
  "hex": "#d252e8",
  "rgb": {
    "r": 210,
    "g": 82,
    "b": 232
  },
  "hsl": {
    "h": 291.2,
    "s": 76.531,
    "l": 61.569
  },
  "oklch": {
    "l": 0.66485,
    "c": 0.2362,
    "h": 321.5
  },
  "luminance": 0.25562
}

Semantic roles & 50–950 ramp

primary
#D252E8
secondary
#B7E7AF
accent
#D90D2B
background
#FEF9FE
surface
#FDF1FD
border
#D5CBD5
text
#160D17
muted
#847E85

Preview Lab

Preview with #D252E8

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

Preview Lab → · Contrast checker → · Palette generator →

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