#D248D9#D248D9

#D248D9 is a light, highly saturated purple. Relative luminance 0.233; OKLCH L 64.6% C 0.236 H 325.8°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#D248D9
RGBrgb(210, 72, 217)
HSLhsl(297, 66%, 57%)
HSVhsv(297, 67%, 85%)
CMYKcmyk(3.2%, 66.8%, 0%, 14.9%)
CIE-LABlab(55.43, 71.19, -47.76)
CIE-LCHlch(55.43, 85.73, 326.14°)
OKLaboklab(64.65% 0.1954 -0.1325)
OKLCHoklch(64.65% 0.236 325.8)
XYZxyz(41.4192, 23.3488, 67.9574)
Luminance0.2335 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D248D9 #4FD948
analogous
#8948D9 #D248D9 #D94898
triadic
#D248D9 #D9D248 #48D9D2
tetradic
#D248D9 #D98948 #4FD948 #4898D9
square
#D248D9 #D98948 #4FD948 #4898D9
split-complementary
#D248D9 #98D948 #48D989
monochromatic
#851D8A #B527BD #D248D9 #DE7BE4 #EBADEE

Accessibility & contrast

On white

3.70
#D248D9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.67
#D248D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D248D9
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D248D9#FFFFFF#000000##000000
##D248D91.003.705.675.67
#FFFFFF3.701.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B7ADD
Deuteranopia (green-blind)
#678BD5
Tritanopia (blue-blind)
#D75E8B
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #d248d9;
/* rgb */ color: rgb(210, 72, 217);
/* oklch */ color: oklch(64.6% 0.236 325.8);
Tailwind
colors: {
  custom: {
    50: '#e386e5',
    500: '#d248d9',
    950: '#000000',
  },
}
SCSS
$custom: #d248d9;
$custom-light: #e386e5;
$custom-dark: #000000;
JSON
{
  "hex": "#d248d9",
  "rgb": {
    "r": 210,
    "g": 72,
    "b": 217
  },
  "hsl": {
    "h": 297.103,
    "s": 65.611,
    "l": 56.667
  },
  "oklch": {
    "l": 0.64646,
    "c": 0.23609,
    "h": 325.8
  },
  "luminance": 0.23346
}

Semantic roles & 50–950 ramp

primary
#D248D9
secondary
#A4DCA1
accent
#E93F47
background
#FEF8FE
surface
#FDF0FC
border
#D5CBD5
text
#160C16
muted
#847D84

Preview Lab

Preview with #D248D9

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

Preview Lab → · Contrast checker → · Palette generator →

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