#D252CF#D252CF

#D252CF is a light, highly saturated purple. Relative luminance 0.242; OKLCH L 65.1% C 0.215 H 328.6°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#D252CF
RGBrgb(210, 82, 207)
HSLhsl(301, 59%, 57%)
HSVhsv(301, 61%, 82%)
CMYKcmyk(0%, 61%, 1.4%, 17.6%)
CIE-LABlab(56.33, 65.58, -40.66)
CIE-LCHlch(56.33, 77.16, 328.20°)
OKLaboklab(65.13% 0.1838 -0.112)
OKLCHoklch(65.13% 0.215 328.6)
XYZxyz(40.8577, 24.2440, 61.5469)
Luminance0.2424 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D252CF #52D255
analogous
#9552D2 #D252CF #D2528F
triadic
#D252CF #CFD252 #52CFD2
tetradic
#D252CF #D29552 #52D255 #528FD2
square
#D252CF #D29552 #52D255 #528FD2
split-complementary
#D252CF #8FD252 #52D295
monochromatic
#872384 #B730B4 #D252CF #DF83DC #EBB3EA

Accessibility & contrast

On white

3.59
#D252CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.85
#D252CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D252CF
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D252CF#FFFFFF#000000##000000
##D252CF1.003.595.855.85
#FFFFFF3.591.0021.0021.00
#0000005.8521.001.001.00
##0000005.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#457CD3
Deuteranopia (green-blind)
#728DCC
Tritanopia (blue-blind)
#D96189
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #d252cf;
/* rgb */ color: rgb(210, 82, 207);
/* oklch */ color: oklch(65.1% 0.215 328.6);
Tailwind
colors: {
  custom: {
    50: '#e38bde',
    500: '#d252cf',
    950: '#000000',
  },
}
SCSS
$custom: #d252cf;
$custom-light: #e38bde;
$custom-dark: #000000;
JSON
{
  "hex": "#d252cf",
  "rgb": {
    "r": 210,
    "g": 82,
    "b": 207
  },
  "hsl": {
    "h": 301.406,
    "s": 58.716,
    "l": 57.255
  },
  "oklch": {
    "l": 0.65133,
    "c": 0.21528,
    "h": 328.6
  },
  "luminance": 0.24241
}

Semantic roles & 50–950 ramp

primary
#D252CF
secondary
#A6DAA7
accent
#E24A46
background
#FEF8FD
surface
#FDF0FB
border
#D5CBD4
text
#160C15
muted
#847D83

Preview Lab

Preview with #D252CF

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

Preview Lab → · Contrast checker → · Palette generator →

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