#D252CE#D252CE

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

Color values

HEX#D252CE
RGBrgb(210, 82, 206)
HSLhsl(302, 59%, 57%)
HSVhsv(302, 61%, 82%)
CMYKcmyk(0%, 61%, 1.9%, 17.6%)
CIE-LABlab(56.28, 65.41, -40.16)
CIE-LCHlch(56.28, 76.76, 328.45°)
OKLaboklab(65.08% 0.1838 -0.1106)
OKLCHoklch(65.08% 0.214 329)
XYZxyz(40.7358, 24.1952, 60.9051)
Luminance0.2419 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D252CE #52D256
analogous
#9652D2 #D252CE #D2528E
triadic
#D252CE #CED252 #52CED2
tetradic
#D252CE #D29652 #52D256 #528ED2
square
#D252CE #D29652 #52D256 #528ED2
split-complementary
#D252CE #8ED252 #52D296
monochromatic
#872383 #B730B3 #D252CE #DF83DC #EBB3EA

Accessibility & contrast

On white

3.60
#D252CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.84
#D252CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D252CE
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D252CE#FFFFFF#000000##000000
##D252CE1.003.605.845.84
#FFFFFF3.601.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#467CD2
Deuteranopia (green-blind)
#728DCB
Tritanopia (blue-blind)
#D96189
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #d252ce;
/* rgb */ color: rgb(210, 82, 206);
/* oklch */ color: oklch(65.1% 0.214 329.0);
Tailwind
colors: {
  custom: {
    50: '#e38bdd',
    500: '#d252ce',
    950: '#000000',
  },
}
SCSS
$custom: #d252ce;
$custom-light: #e38bdd;
$custom-dark: #000000;
JSON
{
  "hex": "#d252ce",
  "rgb": {
    "r": 210,
    "g": 82,
    "b": 206
  },
  "hsl": {
    "h": 301.875,
    "s": 58.716,
    "l": 57.255
  },
  "oklch": {
    "l": 0.65082,
    "c": 0.21447,
    "h": 329
  },
  "luminance": 0.24192
}

Semantic roles & 50–950 ramp

primary
#D252CE
secondary
#A6DAA8
accent
#E24B46
background
#FEF8FD
surface
#FDF0FB
border
#D5CBD4
text
#160C15
muted
#847D83

Preview Lab

Preview with #D252CE

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

Preview Lab → · Contrast checker → · Palette generator →

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