#D472F2#D472F2

#D472F2 is a light, highly saturated purple. Relative luminance 0.324; OKLCH L 71.1% C 0.201 H 317.8°. Best body text is #000000 at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#D472F2
RGBrgb(212, 114, 242)
HSLhsl(286, 83%, 70%)
HSVhsv(286, 53%, 95%)
CMYKcmyk(12.4%, 52.9%, 0%, 5.1%)
CIE-LABlab(63.71, 57.87, -48.63)
CIE-LCHlch(63.71, 75.59, 319.96°)
OKLaboklab(71.14% 0.149 -0.1353)
OKLCHoklch(71.14% 0.201 317.8)
XYZxyz(49.1935, 32.4443, 87.6582)
Luminance0.3244 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D472F2 #90F272
analogous
#9472F2 #D472F2 #F272D0
triadic
#D472F2 #F2D472 #72F2D4
tetradic
#D472F2 #F29472 #90F272 #72D0F2
square
#D472F2 #F29472 #90F272 #72D0F2
split-complementary
#D472F2 #D0F272 #72F294
monochromatic
#A814D6 #C33AED #D472F2 #E5AAF7 #F6E2FC

Accessibility & contrast

On white

2.80
#D472F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.49
#D472F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D472F2
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D472F2#FFFFFF#000000##000000
##D472F21.002.807.497.49
#FFFFFF2.801.0021.0021.00
#0000007.4921.001.001.00
##0000007.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5794F6
Deuteranopia (green-blind)
#779EEF
Tritanopia (blue-blind)
#D485A8
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #d472f2;
/* rgb */ color: rgb(212, 114, 242);
/* oklch */ color: oklch(71.1% 0.201 317.8);
Tailwind
colors: {
  custom: {
    50: '#e49ef7',
    500: '#d472f2',
    950: '#000000',
  },
}
SCSS
$custom: #d472f2;
$custom-light: #e49ef7;
$custom-dark: #000000;
JSON
{
  "hex": "#d472f2",
  "rgb": {
    "r": 212,
    "g": 114,
    "b": 242
  },
  "hsl": {
    "h": 285.938,
    "s": 83.117,
    "l": 69.804
  },
  "oklch": {
    "l": 0.71142,
    "c": 0.20124,
    "h": 317.8
  },
  "luminance": 0.32442
}

Semantic roles & 50–950 ramp

primary
#D472F2
secondary
#D6F2CE
accent
#E00639
background
#FEFAFF
surface
#FCF3FF
border
#D5CDD7
text
#160F17
muted
#847F85

Preview Lab

Preview with #D472F2

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

Preview Lab → · Contrast checker → · Palette generator →

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