#D247C5#D247C5

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

Color values

HEX#D247C5
RGBrgb(210, 71, 197)
HSLhsl(306, 61%, 55%)
HSVhsv(306, 66%, 82%)
CMYKcmyk(0%, 66.2%, 6.2%, 17.6%)
CIE-LABlab(54.28, 68.31, -38.16)
CIE-LCHlch(54.28, 78.25, 330.81°)
OKLaboklab(63.49% 0.1955 -0.1047)
OKLCHoklch(63.49% 0.222 331.8)
XYZxyz(38.9096, 22.2423, 55.0564)
Luminance0.2224 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D247C5 #47D254
analogous
#9A47D2 #D247C5 #D2477F
triadic
#D247C5 #C5D247 #47C5D2
tetradic
#D247C5 #D29A47 #47D254 #477FD2
square
#D247C5 #D29A47 #47D254 #477FD2
split-complementary
#D247C5 #7FD247 #47D29A
monochromatic
#7F1F76 #B12BA4 #D247C5 #DE78D4 #EAA9E4

Accessibility & contrast

On white

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

On black

5.45
#D247C5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D247C5
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D247C5#FFFFFF#000000##000000
##D247C51.003.855.455.45
#FFFFFF3.851.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F75C9
Deuteranopia (green-blind)
#7189C1
Tritanopia (blue-blind)
#DA5580
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #d247c5;
/* rgb */ color: rgb(210, 71, 197);
/* oklch */ color: oklch(63.5% 0.222 331.8);
Tailwind
colors: {
  custom: {
    50: '#e385d7',
    500: '#d247c5',
    950: '#000000',
  },
}
SCSS
$custom: #d247c5;
$custom-light: #e385d7;
$custom-dark: #000000;
JSON
{
  "hex": "#d247c5",
  "rgb": {
    "r": 210,
    "g": 71,
    "b": 197
  },
  "hsl": {
    "h": 305.612,
    "s": 60.699,
    "l": 55.098
  },
  "oklch": {
    "l": 0.6349,
    "c": 0.22178,
    "h": 331.8
  },
  "luminance": 0.22239
}

Semantic roles & 50–950 ramp

primary
#D247C5
secondary
#9DD8A3
accent
#E45344
background
#FEF8FD
surface
#FDF0FA
border
#D5CBD3
text
#160C14
muted
#847D83

Preview Lab

Preview with #D247C5

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

Preview Lab → · Contrast checker → · Palette generator →

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