#D399DF#D399DF

#D399DF is a light, moderate purple. Relative luminance 0.420; OKLCH L 76.2% C 0.116 H 320.5°. Best body text is #000000 at 9.39:1 contrast (WCAG AA passes).

Color values

HEX#D399DF
RGBrgb(211, 153, 223)
HSLhsl(290, 52%, 74%)
HSVhsv(290, 31%, 87%)
CMYKcmyk(5.4%, 31.4%, 0%, 12.5%)
CIE-LABlab(70.84, 33.49, -27.04)
CIE-LCHlch(70.84, 43.04, 321.08°)
OKLaboklab(76.19% 0.0895 -0.0737)
OKLCHoklch(76.19% 0.116 320.5)
XYZxyz(51.5728, 41.9604, 75.1802)
Luminance0.4196 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D399DF #A5DF99
analogous
#B099DF #D399DF #DF99C8
triadic
#D399DF #DFD399 #99DFD3
tetradic
#D399DF #DFB099 #A5DF99 #99C8DF
square
#D399DF #DFB099 #A5DF99 #99C8DF
split-complementary
#D399DF #C8DF99 #99DFB0
monochromatic
#AA3DC1 #BF6AD0 #D399DF #E7C8EE #F5E8F8

Accessibility & contrast

On white

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

On black

9.39
#D399DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D399DF
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D399DF#FFFFFF#000000##000000
##D399DF1.002.249.399.39
#FFFFFF2.241.0021.0021.00
#0000009.3921.001.001.00
##0000009.3921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d399df;
/* rgb */ color: rgb(211, 153, 223);
/* oklch */ color: oklch(76.2% 0.116 320.5);
Tailwind
colors: {
  custom: {
    50: '#e1b7e9',
    500: '#d399df',
    950: '#000000',
  },
}
SCSS
$custom: #d399df;
$custom-light: #e1b7e9;
$custom-dark: #000000;
JSON
{
  "hex": "#d399df",
  "rgb": {
    "r": 211,
    "g": 153,
    "b": 223
  },
  "hsl": {
    "h": 289.714,
    "s": 52.239,
    "l": 73.725
  },
  "oklch": {
    "l": 0.76193,
    "c": 0.11596,
    "h": 320.5
  },
  "luminance": 0.41959
}

Semantic roles & 50–950 ramp

primary
#D399DF
secondary
#DFEFDC
accent
#C02640
background
#FDFBFE
surface
#FBF6FC
border
#D4D0D5
text
#151116
muted
#838084

Preview Lab

Preview with #D399DF

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

Preview Lab → · Contrast checker → · Palette generator →

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