#D399CD#D399CD

#D399CD is a light, moderate purple. Relative luminance 0.410; OKLCH L 75.5% C 0.097 H 330.1°. Best body text is #000000 at 9.21:1 contrast (WCAG AA passes).

Color values

HEX#D399CD
RGBrgb(211, 153, 205)
HSLhsl(306, 40%, 71%)
HSVhsv(306, 27%, 83%)
CMYKcmyk(0%, 27.5%, 2.8%, 17.3%)
CIE-LABlab(70.20, 30.09, -18.09)
CIE-LCHlch(70.20, 35.11, 328.99°)
OKLaboklab(75.5% 0.0845 -0.0486)
OKLCHoklch(75.5% 0.097 330.1)
XYZxyz(49.2737, 41.0408, 63.0719)
Luminance0.4104 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D399CD #99D39F
analogous
#BC99D3 #D399CD #D399B0
triadic
#D399CD #CDD399 #99CDD3
tetradic
#D399CD #D3BC99 #99D39F #99B0D3
square
#D399CD #D3BC99 #99D39F #99B0D3
split-complementary
#D399CD #B0D399 #99D3BC
monochromatic
#A9499F #C16EB8 #D399CD #E5C4E2 #F6EAF5

Accessibility & contrast

On white

2.28
#D399CD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.21
#D399CD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D399CD
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D399CD#FFFFFF#000000##000000
##D399CD1.002.289.219.21
#FFFFFF2.281.0021.0021.00
#0000009.2121.001.001.00
##0000009.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#97A7CF
Deuteranopia (green-blind)
#A5AECB
Tritanopia (blue-blind)
#D89DAB
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #d399cd;
/* rgb */ color: rgb(211, 153, 205);
/* oklch */ color: oklch(75.5% 0.097 330.1);
Tailwind
colors: {
  custom: {
    50: '#e1b7dc',
    500: '#d399cd',
    950: '#000000',
  },
}
SCSS
$custom: #d399cd;
$custom-light: #e1b7dc;
$custom-dark: #000000;
JSON
{
  "hex": "#d399cd",
  "rgb": {
    "r": 211,
    "g": 153,
    "b": 205
  },
  "hsl": {
    "h": 306.207,
    "s": 39.726,
    "l": 71.373
  },
  "oklch": {
    "l": 0.75495,
    "c": 0.09746,
    "h": 330.1
  },
  "luminance": 0.41039
}

Semantic roles & 50–950 ramp

primary
#D399CD
secondary
#DCEBDE
accent
#B34033
background
#FDFBFD
surface
#FBF6FB
border
#D4D0D4
text
#151115
muted
#838083

Preview Lab

Preview with #D399CD

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

Preview Lab → · Contrast checker → · Palette generator →

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