#D398DC#D398DC

#D398DC is a light, moderate purple. Relative luminance 0.415; OKLCH L 75.9% C 0.114 H 322.0°. Best body text is #000000 at 9.29:1 contrast (WCAG AA passes).

Color values

HEX#D398DC
RGBrgb(211, 152, 220)
HSLhsl(292, 49%, 73%)
HSVhsv(292, 31%, 86%)
CMYKcmyk(4.1%, 30.9%, 0%, 13.7%)
CIE-LABlab(70.51, 33.45, -25.91)
CIE-LCHlch(70.51, 42.31, 322.24°)
OKLaboklab(75.9% 0.0902 -0.0705)
OKLCHoklch(75.9% 0.114 322)
XYZxyz(51.0089, 41.4741, 73.0146)
Luminance0.4147 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D398DC #A1DC98
analogous
#B198DC #D398DC #DC98C3
triadic
#D398DC #DCD398 #98DCD3
tetradic
#D398DC #DCB198 #A1DC98 #98C3DC
square
#D398DC #DCB198 #A1DC98 #98C3DC
split-complementary
#D398DC #C3DC98 #98DCB1
monochromatic
#AA3FBA #BF6ACC #D398DC #E7C6EC #F5E8F7

Accessibility & contrast

On white

2.26
#D398DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.29
#D398DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D398DC
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D398DC#FFFFFF#000000##000000
##D398DC1.002.269.299.29
#FFFFFF2.261.0021.0021.00
#0000009.2921.001.001.00
##0000009.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#91A8DF
Deuteranopia (green-blind)
#9FAFDA
Tritanopia (blue-blind)
#D59FB1
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #d398dc;
/* rgb */ color: rgb(211, 152, 220);
/* oklch */ color: oklch(75.9% 0.114 322.0);
Tailwind
colors: {
  custom: {
    50: '#e1b7e7',
    500: '#d398dc',
    950: '#000000',
  },
}
SCSS
$custom: #d398dc;
$custom-light: #e1b7e7;
$custom-dark: #000000;
JSON
{
  "hex": "#d398dc",
  "rgb": {
    "r": 211,
    "g": 152,
    "b": 220
  },
  "hsl": {
    "h": 292.059,
    "s": 49.275,
    "l": 72.941
  },
  "oklch": {
    "l": 0.75901,
    "c": 0.11449,
    "h": 322
  },
  "luminance": 0.41473
}

Semantic roles & 50–950 ramp

primary
#D398DC
secondary
#DFEEDD
accent
#BD293C
background
#FDFBFE
surface
#FBF6FC
border
#D4D0D5
text
#151116
muted
#838084

Preview Lab

Preview with #D398DC

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

Preview Lab → · Contrast checker → · Palette generator →

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