#D299CC#D299CC

#D299CC is a light, moderate purple. Relative luminance 0.408; OKLCH L 75.4% C 0.096 H 330.1°. Best body text is #000000 at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#D299CC
RGBrgb(210, 153, 204)
HSLhsl(306, 39%, 71%)
HSVhsv(306, 27%, 82%)
CMYKcmyk(0%, 27.1%, 2.9%, 17.6%)
CIE-LABlab(70.07, 29.58, -17.76)
CIE-LCHlch(70.07, 34.50, 329.02°)
OKLaboklab(75.36% 0.083 -0.0477)
OKLCHoklch(75.36% 0.096 330.1)
XYZxyz(48.8678, 40.8454, 62.4248)
Luminance0.4084 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D299CC #99D29F
analogous
#BB99D2 #D299CC #D299AF
triadic
#D299CC #CCD299 #99CCD2
tetradic
#D299CC #D2BB99 #99D29F #99AFD2
square
#D299CC #D2BB99 #99D29F #99AFD2
split-complementary
#D299CC #AFD299 #99D2BB
monochromatic
#A74A9D #BF6FB7 #D299CC #E5C3E1 #F6EAF4

Accessibility & contrast

On white

2.29
#D299CC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.17
#D299CC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D299CC
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D299CC#FFFFFF#000000##000000
##D299CC1.002.299.179.17
#FFFFFF2.291.0021.0021.00
#0000009.1721.001.001.00
##0000009.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#97A7CE
Deuteranopia (green-blind)
#A4AECA
Tritanopia (blue-blind)
#D79DAB
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #d299cc;
/* rgb */ color: rgb(210, 153, 204);
/* oklch */ color: oklch(75.4% 0.096 330.1);
Tailwind
colors: {
  custom: {
    50: '#e0b7db',
    500: '#d299cc',
    950: '#000000',
  },
}
SCSS
$custom: #d299cc;
$custom-light: #e0b7db;
$custom-dark: #000000;
JSON
{
  "hex": "#d299cc",
  "rgb": {
    "r": 210,
    "g": 153,
    "b": 204
  },
  "hsl": {
    "h": 306.316,
    "s": 38.776,
    "l": 71.176
  },
  "oklch": {
    "l": 0.75356,
    "c": 0.09574,
    "h": 330.1
  },
  "luminance": 0.40844
}

Semantic roles & 50–950 ramp

primary
#D299CC
secondary
#DCEBDD
accent
#B24134
background
#FDFBFD
surface
#FBF6FB
border
#D4D0D4
text
#151115
muted
#838083

Preview Lab

Preview with #D299CC

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

Preview Lab → · Contrast checker → · Palette generator →

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