#D247C7#D247C7

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

Color values

HEX#D247C7
RGBrgb(210, 71, 199)
HSLhsl(305, 61%, 55%)
HSVhsv(305, 66%, 82%)
CMYKcmyk(0%, 66.2%, 5.2%, 17.6%)
CIE-LABlab(54.38, 68.63, -39.15)
CIE-LCHlch(54.38, 79.01, 330.29°)
OKLaboklab(63.59% 0.1957 -0.1076)
OKLCHoklch(63.59% 0.223 331.2)
XYZxyz(39.1403, 22.3346, 56.2713)
Luminance0.2233 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D247C7 #47D252
analogous
#9747D2 #D247C7 #D24782
triadic
#D247C7 #C7D247 #47C7D2
tetradic
#D247C7 #D29747 #47D252 #4782D2
square
#D247C7 #D29747 #47D252 #4782D2
split-complementary
#D247C7 #82D247 #47D297
monochromatic
#7F1F78 #B12BA6 #D247C7 #DE78D6 #EAA9E5

Accessibility & contrast

On white

3.84
#D247C7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#D247C7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D247C7
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D247C7#FFFFFF#000000##000000
##D247C71.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E76CB
Deuteranopia (green-blind)
#7089C3
Tritanopia (blue-blind)
#DA5681
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #d247c7;
/* rgb */ color: rgb(210, 71, 199);
/* oklch */ color: oklch(63.6% 0.223 331.2);
Tailwind
colors: {
  custom: {
    50: '#e385d8',
    500: '#d247c7',
    950: '#000000',
  },
}
SCSS
$custom: #d247c7;
$custom-light: #e385d8;
$custom-dark: #000000;
JSON
{
  "hex": "#d247c7",
  "rgb": {
    "r": 210,
    "g": 71,
    "b": 199
  },
  "hsl": {
    "h": 304.748,
    "s": 60.699,
    "l": 55.098
  },
  "oklch": {
    "l": 0.63591,
    "c": 0.22329,
    "h": 331.2
  },
  "luminance": 0.22332
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D247C7

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

Preview Lab → · Contrast checker → · Palette generator →

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