#D252E2#D252E2

#D252E2 is a light, highly saturated purple. Relative luminance 0.252; OKLCH L 66.1% C 0.231 H 323.1°. Best body text is #000000 at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#D252E2
RGBrgb(210, 82, 226)
HSLhsl(293, 71%, 60%)
HSVhsv(293, 64%, 89%)
CMYKcmyk(7.1%, 63.7%, 0%, 11.4%)
CIE-LABlab(57.30, 68.85, -49.88)
CIE-LCHlch(57.30, 85.02, 324.08°)
OKLaboklab(66.15% 0.1848 -0.1388)
OKLCHoklch(66.15% 0.231 323.1)
XYZxyz(43.3218, 25.2296, 74.5247)
Luminance0.2523 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D252E2 #62E252
analogous
#8A52E2 #D252E2 #E252AA
triadic
#D252E2 #E2D252 #52E2D2
tetradic
#D252E2 #E28A52 #62E252 #52AAE2
square
#D252E2 #E28A52 #62E252 #52AAE2
split-complementary
#D252E2 #AAE252 #52E28A
monochromatic
#901B9F #C023D3 #D252E2 #E086EB #EDBBF4

Accessibility & contrast

On white

3.47
#D252E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.05
#D252E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D252E2
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D252E2#FFFFFF#000000##000000
##D252E21.003.476.056.05
#FFFFFF3.471.0021.0021.00
#0000006.0521.001.001.00
##0000006.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3180E6
Deuteranopia (green-blind)
#678FDE
Tritanopia (blue-blind)
#D56993
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #d252e2;
/* rgb */ color: rgb(210, 82, 226);
/* oklch */ color: oklch(66.1% 0.231 323.1);
Tailwind
colors: {
  custom: {
    50: '#e38bec',
    500: '#d252e2',
    950: '#000000',
  },
}
SCSS
$custom: #d252e2;
$custom-light: #e38bec;
$custom-dark: #000000;
JSON
{
  "hex": "#d252e2",
  "rgb": {
    "r": 210,
    "g": 82,
    "b": 226
  },
  "hsl": {
    "h": 293.333,
    "s": 71.287,
    "l": 60.392
  },
  "oklch": {
    "l": 0.66148,
    "c": 0.23108,
    "h": 323.1
  },
  "luminance": 0.25227
}

Semantic roles & 50–950 ramp

primary
#D252E2
secondary
#B3E3AC
accent
#D31228
background
#FEF8FE
surface
#FDF0FD
border
#D5CBD5
text
#160D16
muted
#847D84

Preview Lab

Preview with #D252E2

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

Preview Lab → · Contrast checker → · Palette generator →

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