#D247CC#D247CC

#D247CC is a light, highly saturated purple. Relative luminance 0.226; OKLCH L 63.8% C 0.227 H 329.6°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#D247CC
RGBrgb(210, 71, 204)
HSLhsl(303, 61%, 55%)
HSVhsv(303, 66%, 82%)
CMYKcmyk(0%, 66.2%, 2.9%, 17.6%)
CIE-LABlab(54.63, 69.42, -41.63)
CIE-LCHlch(54.63, 80.95, 329.05°)
OKLaboklab(63.85% 0.196 -0.1148)
OKLCHoklch(63.85% 0.227 329.6)
XYZxyz(39.7304, 22.5706, 59.3790)
Luminance0.2257 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D247CC #47D24D
analogous
#9347D2 #D247CC #D24786
triadic
#D247CC #CCD247 #47CCD2
tetradic
#D247CC #D29347 #47D24D #4786D2
square
#D247CC #D29347 #47D24D #4786D2
split-complementary
#D247CC #86D247 #47D293
monochromatic
#7F1F7B #B12BAB #D247CC #DE78DA #EAA9E7

Accessibility & contrast

On white

3.81
#D247CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#D247CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D247CC
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D247CC#FFFFFF#000000##000000
##D247CC1.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3977D0
Deuteranopia (green-blind)
#6D89C8
Tritanopia (blue-blind)
#D95884
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #d247cc;
/* rgb */ color: rgb(210, 71, 204);
/* oklch */ color: oklch(63.8% 0.227 329.6);
Tailwind
colors: {
  custom: {
    50: '#e385dc',
    500: '#d247cc',
    950: '#000000',
  },
}
SCSS
$custom: #d247cc;
$custom-light: #e385dc;
$custom-dark: #000000;
JSON
{
  "hex": "#d247cc",
  "rgb": {
    "r": 210,
    "g": 71,
    "b": 204
  },
  "hsl": {
    "h": 302.59,
    "s": 60.699,
    "l": 55.098
  },
  "oklch": {
    "l": 0.6385,
    "c": 0.22711,
    "h": 329.6
  },
  "luminance": 0.22568
}

Semantic roles & 50–950 ramp

primary
#D247CC
secondary
#9DD8A0
accent
#E44B44
background
#FEF8FD
surface
#FDF0FB
border
#D5CBD4
text
#160C15
muted
#847D83

Preview Lab

Preview with #D247CC

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

Preview Lab → · Contrast checker → · Palette generator →

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