#D398CC#D398CC

#D398CC is a light, moderate purple. Relative luminance 0.407; OKLCH L 75.3% C 0.098 H 330.6°. Best body text is #000000 at 9.13:1 contrast (WCAG AA passes).

Color values

HEX#D398CC
RGBrgb(211, 152, 204)
HSLhsl(307, 40%, 71%)
HSVhsv(307, 28%, 83%)
CMYKcmyk(0%, 28%, 3.3%, 17.3%)
CIE-LABlab(69.94, 30.45, -17.94)
CIE-LCHlch(69.94, 35.34, 329.50°)
OKLaboklab(75.28% 0.0857 -0.0482)
OKLCHoklch(75.28% 0.098 330.6)
XYZxyz(48.9904, 40.6667, 62.3839)
Luminance0.4067 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D398CC #98D39F
analogous
#BC98D3 #D398CC #D398AE
triadic
#D398CC #CCD398 #98CCD3
tetradic
#D398CC #D3BC98 #98D39F #98AED3
square
#D398CC #D3BC98 #98D39F #98AED3
split-complementary
#D398CC #AED398 #98D3BC
monochromatic
#A9489D #C16DB7 #D398CC #E5C3E1 #F6EAF4

Accessibility & contrast

On white

2.30
#D398CC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.13
#D398CC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D398CC
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D398CC#FFFFFF#000000##000000
##D398CC1.002.309.139.13
#FFFFFF2.301.0021.0021.00
#0000009.1321.001.001.00
##0000009.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#96A6CE
Deuteranopia (green-blind)
#A4AECA
Tritanopia (blue-blind)
#D89CAA
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #d398cc;
/* rgb */ color: rgb(211, 152, 204);
/* oklch */ color: oklch(75.3% 0.098 330.6);
Tailwind
colors: {
  custom: {
    50: '#e1b7db',
    500: '#d398cc',
    950: '#000000',
  },
}
SCSS
$custom: #d398cc;
$custom-light: #e1b7db;
$custom-dark: #000000;
JSON
{
  "hex": "#d398cc",
  "rgb": {
    "r": 211,
    "g": 152,
    "b": 204
  },
  "hsl": {
    "h": 307.119,
    "s": 40.136,
    "l": 71.176
  },
  "oklch": {
    "l": 0.75284,
    "c": 0.0983,
    "h": 330.6
  },
  "luminance": 0.40665
}

Semantic roles & 50–950 ramp

primary
#D398CC
secondary
#DCEBDD
accent
#B34232
background
#FDFBFD
surface
#FBF6FB
border
#D4D0D4
text
#151115
muted
#838083

Preview Lab

Preview with #D398CC

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

Preview Lab → · Contrast checker → · Palette generator →

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