#D247C2#D247C2

#D247C2 is a light, highly saturated purple. Relative luminance 0.221; OKLCH L 63.3% C 0.220 H 332.8°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#D247C2
RGBrgb(210, 71, 194)
HSLhsl(307, 61%, 55%)
HSVhsv(307, 66%, 82%)
CMYKcmyk(0%, 66.2%, 7.6%, 17.6%)
CIE-LABlab(54.14, 67.85, -36.66)
CIE-LCHlch(54.14, 77.12, 331.62°)
OKLaboklab(63.34% 0.1952 -0.1004)
OKLCHoklch(63.34% 0.22 332.8)
XYZxyz(38.5693, 22.1062, 53.2640)
Luminance0.2210 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D247C2 #47D257
analogous
#9C47D2 #D247C2 #D2477D
triadic
#D247C2 #C2D247 #47C2D2
tetradic
#D247C2 #D29C47 #47D257 #477DD2
square
#D247C2 #D29C47 #47D257 #477DD2
split-complementary
#D247C2 #7DD247 #47D29C
monochromatic
#7F1F74 #B12BA1 #D247C2 #DE78D2 #EAA9E3

Accessibility & contrast

On white

3.87
#D247C2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#D247C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D247C2
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D247C2#FFFFFF#000000##000000
##D247C21.003.875.425.42
#FFFFFF3.871.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4275C6
Deuteranopia (green-blind)
#7289BE
Tritanopia (blue-blind)
#DB547F
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #d247c2;
/* rgb */ color: rgb(210, 71, 194);
/* oklch */ color: oklch(63.3% 0.220 332.8);
Tailwind
colors: {
  custom: {
    50: '#e385d5',
    500: '#d247c2',
    950: '#000000',
  },
}
SCSS
$custom: #d247c2;
$custom-light: #e385d5;
$custom-dark: #000000;
JSON
{
  "hex": "#d247c2",
  "rgb": {
    "r": 210,
    "g": 71,
    "b": 194
  },
  "hsl": {
    "h": 306.906,
    "s": 60.699,
    "l": 55.098
  },
  "oklch": {
    "l": 0.63339,
    "c": 0.21955,
    "h": 332.8
  },
  "luminance": 0.22103
}

Semantic roles & 50–950 ramp

primary
#D247C2
secondary
#9DD8A4
accent
#E45644
background
#FEF8FD
surface
#FDF0FA
border
#D5CBD3
text
#160C14
muted
#847D83

Preview Lab

Preview with #D247C2

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

Preview Lab → · Contrast checker → · Palette generator →

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