#D248C7#D248C7

#D248C7 is a light, highly saturated purple. Relative luminance 0.225; OKLCH L 63.7% C 0.222 H 331.2°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#D248C7
RGBrgb(210, 72, 199)
HSLhsl(305, 61%, 55%)
HSVhsv(305, 66%, 82%)
CMYKcmyk(0%, 65.7%, 5.2%, 17.6%)
CIE-LABlab(54.51, 68.25, -38.94)
CIE-LCHlch(54.51, 78.58, 330.29°)
OKLaboklab(63.69% 0.1946 -0.107)
OKLCHoklch(63.69% 0.222 331.2)
XYZxyz(39.2044, 22.4628, 56.2927)
Luminance0.2246 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D248C7 #48D253
analogous
#9848D2 #D248C7 #D24882
triadic
#D248C7 #C7D248 #48C7D2
tetradic
#D248C7 #D29848 #48D253 #4882D2
square
#D248C7 #D29848 #48D253 #4882D2
split-complementary
#D248C7 #82D248 #48D298
monochromatic
#802078 #B12CA7 #D248C7 #DE79D6 #EAAAE5

Accessibility & contrast

On white

3.82
#D248C7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#D248C7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D248C7
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D248C7#FFFFFF#000000##000000
##D248C71.003.825.495.49
#FFFFFF3.821.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d248c7;
/* rgb */ color: rgb(210, 72, 199);
/* oklch */ color: oklch(63.7% 0.222 331.2);
Tailwind
colors: {
  custom: {
    50: '#e385d8',
    500: '#d248c7',
    950: '#000000',
  },
}
SCSS
$custom: #d248c7;
$custom-light: #e385d8;
$custom-dark: #000000;
JSON
{
  "hex": "#d248c7",
  "rgb": {
    "r": 210,
    "g": 72,
    "b": 199
  },
  "hsl": {
    "h": 304.783,
    "s": 60.526,
    "l": 55.294
  },
  "oklch": {
    "l": 0.63689,
    "c": 0.22205,
    "h": 331.2
  },
  "luminance": 0.2246
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D248C7

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

Preview Lab → · Contrast checker → · Palette generator →

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