#D252F3#D252F3

#D252F3 is a light, highly saturated purple. Relative luminance 0.262; OKLCH L 67.1% C 0.246 H 318.7°. Best body text is #000000 at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#D252F3
RGBrgb(210, 82, 243)
HSLhsl(288, 87%, 64%)
HSVhsv(288, 66%, 95%)
CMYKcmyk(13.6%, 66.3%, 0%, 4.7%)
CIE-LABlab(58.24, 71.93, -57.90)
CIE-LCHlch(58.24, 92.34, 321.17°)
OKLaboklab(67.12% 0.1846 -0.1622)
OKLCHoklch(67.12% 0.246 318.7)
XYZxyz(45.7711, 26.2093, 87.4246)
Luminance0.2621 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D252F3 #73F352
analogous
#8152F3 #D252F3 #F352C3
triadic
#D252F3 #F3D252 #52F3D2
tetradic
#D252F3 #F38152 #73F352 #52C3F3
square
#D252F3 #F38152 #73F352 #52C3F3
split-complementary
#D252F3 #C3F352 #52F381
monochromatic
#990DBD #C319EF #D252F3 #E18BF7 #F0C4FB

Accessibility & contrast

On white

3.36
#D252F3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.24
#D252F3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D252F3
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D252F3#FFFFFF#000000##000000
##D252F31.003.366.246.24
#FFFFFF3.361.0021.0021.00
#0000006.2421.001.001.00
##0000006.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0B84F8
Deuteranopia (green-blind)
#5B90EF
Tritanopia (blue-blind)
#D26F9C
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #d252f3;
/* rgb */ color: rgb(210, 82, 243);
/* oklch */ color: oklch(67.1% 0.246 318.7);
Tailwind
colors: {
  custom: {
    50: '#e48cf8',
    500: '#d252f3',
    950: '#000000',
  },
}
SCSS
$custom: #d252f3;
$custom-light: #e48cf8;
$custom-dark: #000000;
JSON
{
  "hex": "#d252f3",
  "rgb": {
    "r": 210,
    "g": 82,
    "b": 243
  },
  "hsl": {
    "h": 287.702,
    "s": 87.027,
    "l": 63.725
  },
  "oklch": {
    "l": 0.67124,
    "c": 0.24572,
    "h": 318.7
  },
  "luminance": 0.26207
}

Semantic roles & 50–950 ramp

primary
#D252F3
secondary
#C0EDB4
accent
#E40230
background
#FEF9FF
surface
#FDF1FF
border
#D5CBD7
text
#160D17
muted
#847E85

Preview Lab

Preview with #D252F3

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

Preview Lab → · Contrast checker → · Palette generator →

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