#D299DC#D299DC

#D299DC is a light, moderate purple. Relative luminance 0.417; OKLCH L 76.0% C 0.112 H 321.4°. Best body text is #000000 at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#D299DC
RGBrgb(210, 153, 220)
HSLhsl(291, 49%, 73%)
HSVhsv(291, 30%, 86%)
CMYKcmyk(4.5%, 30.5%, 0%, 13.7%)
CIE-LABlab(70.63, 32.59, -25.73)
CIE-LCHlch(70.63, 41.52, 321.71°)
OKLaboklab(75.97% 0.0876 -0.07)
OKLCHoklch(75.97% 0.112 321.4)
XYZxyz(50.8862, 41.6528, 73.0555)
Luminance0.4165 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D299DC #A3DC99
analogous
#B099DC #D299DC #DC99C4
triadic
#D299DC #DCD299 #99DCD2
tetradic
#D299DC #DCB099 #A3DC99 #99C4DC
square
#D299DC #DCB099 #A3DC99 #99C4DC
split-complementary
#D299DC #C4DC99 #99DCB0
monochromatic
#A840BB #BE6BCC #D299DC #E6C7EC #F5E8F7

Accessibility & contrast

On white

2.25
#D299DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.33
#D299DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D299DC
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D299DC#FFFFFF#000000##000000
##D299DC1.002.259.339.33
#FFFFFF2.251.0021.0021.00
#0000009.3321.001.001.00
##0000009.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#92A9DF
Deuteranopia (green-blind)
#9FAFDA
Tritanopia (blue-blind)
#D4A0B1
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #d299dc;
/* rgb */ color: rgb(210, 153, 220);
/* oklch */ color: oklch(76.0% 0.112 321.4);
Tailwind
colors: {
  custom: {
    50: '#e0b7e7',
    500: '#d299dc',
    950: '#000000',
  },
}
SCSS
$custom: #d299dc;
$custom-light: #e0b7e7;
$custom-dark: #000000;
JSON
{
  "hex": "#d299dc",
  "rgb": {
    "r": 210,
    "g": 153,
    "b": 220
  },
  "hsl": {
    "h": 291.045,
    "s": 48.905,
    "l": 73.137
  },
  "oklch": {
    "l": 0.75972,
    "c": 0.11213,
    "h": 321.4
  },
  "luminance": 0.41651
}

Semantic roles & 50–950 ramp

primary
#D299DC
secondary
#DFEEDD
accent
#BC293F
background
#FDFBFE
surface
#FBF6FC
border
#D4D0D5
text
#151116
muted
#838084

Preview Lab

Preview with #D299DC

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

Preview Lab → · Contrast checker → · Palette generator →

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