#D949CB#D949CB

#D949CB is a light, highly saturated purple. Relative luminance 0.238; OKLCH L 65.0% C 0.228 H 332.0°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#D949CB
RGBrgb(217, 73, 203)
HSLhsl(306, 65%, 57%)
HSVhsv(306, 66%, 85%)
CMYKcmyk(0%, 66.4%, 6.5%, 14.9%)
CIE-LABlab(55.92, 70.17, -38.95)
CIE-LCHlch(55.92, 80.25, 330.96°)
OKLaboklab(64.98% 0.201 -0.1069)
OKLCHoklch(64.98% 0.228 332)
XYZxyz(41.7773, 23.8318, 58.8880)
Luminance0.2383 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D949CB #49D957
analogous
#9F49D9 #D949CB #D94983
triadic
#D949CB #CBD949 #49CBD9
tetradic
#D949CB #D99F49 #49D957 #4983D9
square
#D949CB #D99F49 #49D957 #4983D9
split-complementary
#D949CB #83D949 #49D99F
monochromatic
#8B1D80 #BD28AF #D949CB #E47CD9 #EEAEE8

Accessibility & contrast

On white

3.64
#D949CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.77
#D949CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D949CB
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D949CB#FFFFFF#000000##000000
##D949CB1.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4179CF
Deuteranopia (green-blind)
#748DC7
Tritanopia (blue-blind)
#E25784
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #d949cb;
/* rgb */ color: rgb(217, 73, 203);
/* oklch */ color: oklch(65.0% 0.228 332.0);
Tailwind
colors: {
  custom: {
    50: '#e887db',
    500: '#d949cb',
    950: '#000000',
  },
}
SCSS
$custom: #d949cb;
$custom-light: #e887db;
$custom-dark: #000000;
JSON
{
  "hex": "#d949cb",
  "rgb": {
    "r": 217,
    "g": 73,
    "b": 203
  },
  "hsl": {
    "h": 305.833,
    "s": 65.455,
    "l": 56.863
  },
  "oklch": {
    "l": 0.64979,
    "c": 0.22768,
    "h": 332
  },
  "luminance": 0.23829
}

Semantic roles & 50–950 ramp

primary
#D949CB
secondary
#A2DCA7
accent
#E8503F
background
#FEF8FD
surface
#FDF0FB
border
#D5CBD4
text
#170C15
muted
#857D83

Preview Lab

Preview with #D949CB

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

Preview Lab → · Contrast checker → · Palette generator →

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