#D299DF#D299DF

#D299DF is a light, moderate purple. Relative luminance 0.418; OKLCH L 76.1% C 0.115 H 320.0°. Best body text is #000000 at 9.36:1 contrast (WCAG AA passes).

Color values

HEX#D299DF
RGBrgb(210, 153, 223)
HSLhsl(289, 52%, 74%)
HSVhsv(289, 31%, 87%)
CMYKcmyk(5.8%, 31.4%, 0%, 12.5%)
CIE-LABlab(70.74, 33.17, -27.21)
CIE-LCHlch(70.74, 42.90, 320.65°)
OKLaboklab(76.09% 0.0884 -0.0742)
OKLCHoklch(76.09% 0.115 320)
XYZxyz(51.2871, 41.8131, 75.1668)
Luminance0.4181 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D299DF #A6DF99
analogous
#AF99DF #D299DF #DF99C9
triadic
#D299DF #DFD299 #99DFD2
tetradic
#D299DF #DFAF99 #A6DF99 #99C9DF
square
#D299DF #DFAF99 #A6DF99 #99C9DF
split-complementary
#D299DF #C9DF99 #99DFAF
monochromatic
#A83DC1 #BD6AD0 #D299DF #E7C8EE #F5E8F8

Accessibility & contrast

On white

2.24
#D299DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.36
#D299DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D299DF
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D299DF#FFFFFF#000000##000000
##D299DF1.002.249.369.36
#FFFFFF2.241.0021.0021.00
#0000009.3621.001.001.00
##0000009.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#91A9E2
Deuteranopia (green-blind)
#9EAFDD
Tritanopia (blue-blind)
#D3A1B2
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #d299df;
/* rgb */ color: rgb(210, 153, 223);
/* oklch */ color: oklch(76.1% 0.115 320.0);
Tailwind
colors: {
  custom: {
    50: '#e0b7e9',
    500: '#d299df',
    950: '#000000',
  },
}
SCSS
$custom: #d299df;
$custom-light: #e0b7e9;
$custom-dark: #000000;
JSON
{
  "hex": "#d299df",
  "rgb": {
    "r": 210,
    "g": 153,
    "b": 223
  },
  "hsl": {
    "h": 288.857,
    "s": 52.239,
    "l": 73.725
  },
  "oklch": {
    "l": 0.76093,
    "c": 0.11539,
    "h": 320
  },
  "luminance": 0.41812
}

Semantic roles & 50–950 ramp

primary
#D299DF
secondary
#E0EFDC
accent
#C02642
background
#FDFBFE
surface
#FBF6FC
border
#D4D0D5
text
#151116
muted
#838084

Preview Lab

Preview with #D299DF

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

Preview Lab → · Contrast checker → · Palette generator →

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