#D248C5#D248C5

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

Color values

HEX#D248C5
RGBrgb(210, 72, 197)
HSLhsl(306, 61%, 55%)
HSVhsv(306, 66%, 82%)
CMYKcmyk(0%, 65.7%, 6.2%, 17.6%)
CIE-LABlab(54.42, 67.94, -37.95)
CIE-LCHlch(54.42, 77.81, 330.81°)
OKLaboklab(63.59% 0.1944 -0.1041)
OKLCHoklch(63.59% 0.221 331.8)
XYZxyz(38.9737, 22.3706, 55.0777)
Luminance0.2237 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D248C5 #48D255
analogous
#9A48D2 #D248C5 #D24880
triadic
#D248C5 #C5D248 #48C5D2
tetradic
#D248C5 #D29A48 #48D255 #4880D2
square
#D248C5 #D29A48 #48D255 #4880D2
split-complementary
#D248C5 #80D248 #48D29A
monochromatic
#802077 #B12CA5 #D248C5 #DE79D5 #EAAAE4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D248C5#FFFFFF#000000##000000
##D248C51.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)
#4076C9
Deuteranopia (green-blind)
#7189C1
Tritanopia (blue-blind)
#DA5680
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #d248c5;
/* rgb */ color: rgb(210, 72, 197);
/* oklch */ color: oklch(63.6% 0.221 331.8);
Tailwind
colors: {
  custom: {
    50: '#e385d7',
    500: '#d248c5',
    950: '#000000',
  },
}
SCSS
$custom: #d248c5;
$custom-light: #e385d7;
$custom-dark: #000000;
JSON
{
  "hex": "#d248c5",
  "rgb": {
    "r": 210,
    "g": 72,
    "b": 197
  },
  "hsl": {
    "h": 305.652,
    "s": 60.526,
    "l": 55.294
  },
  "oklch": {
    "l": 0.63587,
    "c": 0.22054,
    "h": 331.8
  },
  "luminance": 0.22368
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D248C5

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

Preview Lab → · Contrast checker → · Palette generator →

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