#D247C6#D247C6

#D247C6 is a light, highly saturated purple. Relative luminance 0.223; OKLCH L 63.5% C 0.223 H 331.5°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#D247C6
RGBrgb(210, 71, 198)
HSLhsl(305, 61%, 55%)
HSVhsv(305, 66%, 82%)
CMYKcmyk(0%, 66.2%, 5.7%, 17.6%)
CIE-LABlab(54.33, 68.47, -38.66)
CIE-LCHlch(54.33, 78.63, 330.55°)
OKLaboklab(63.54% 0.1956 -0.1062)
OKLCHoklch(63.54% 0.223 331.5)
XYZxyz(39.0246, 22.2883, 55.6618)
Luminance0.2228 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D247C6 #47D253
analogous
#9947D2 #D247C6 #D24780
triadic
#D247C6 #C6D247 #47C6D2
tetradic
#D247C6 #D29947 #47D253 #4780D2
square
#D247C6 #D29947 #47D253 #4780D2
split-complementary
#D247C6 #80D247 #47D299
monochromatic
#7F1F77 #B12BA5 #D247C6 #DE78D5 #EAA9E4

Accessibility & contrast

On white

3.85
#D247C6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.46
#D247C6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D247C6
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D247C6#FFFFFF#000000##000000
##D247C61.003.855.465.46
#FFFFFF3.851.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E75CA
Deuteranopia (green-blind)
#7089C2
Tritanopia (blue-blind)
#DA5581
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #d247c6;
/* rgb */ color: rgb(210, 71, 198);
/* oklch */ color: oklch(63.5% 0.223 331.5);
Tailwind
colors: {
  custom: {
    50: '#e385d7',
    500: '#d247c6',
    950: '#000000',
  },
}
SCSS
$custom: #d247c6;
$custom-light: #e385d7;
$custom-dark: #000000;
JSON
{
  "hex": "#d247c6",
  "rgb": {
    "r": 210,
    "g": 71,
    "b": 198
  },
  "hsl": {
    "h": 305.18,
    "s": 60.699,
    "l": 55.098
  },
  "oklch": {
    "l": 0.6354,
    "c": 0.22253,
    "h": 331.5
  },
  "luminance": 0.22285
}

Semantic roles & 50–950 ramp

primary
#D247C6
secondary
#9DD8A2
accent
#E45244
background
#FEF8FD
surface
#FDF0FA
border
#D5CBD3
text
#160C14
muted
#847D83

Preview Lab

Preview with #D247C6

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

Preview Lab → · Contrast checker → · Palette generator →

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