#D398DB#D398DB

#D398DB is a light, moderate purple. Relative luminance 0.414; OKLCH L 75.9% C 0.113 H 322.5°. Best body text is #000000 at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#D398DB
RGBrgb(211, 152, 219)
HSLhsl(293, 48%, 73%)
HSVhsv(293, 31%, 86%)
CMYKcmyk(3.7%, 30.6%, 0%, 14.1%)
CIE-LABlab(70.47, 33.26, -25.41)
CIE-LCHlch(70.47, 41.86, 322.62°)
OKLaboklab(75.86% 0.09 -0.0691)
OKLCHoklch(75.86% 0.113 322.5)
XYZxyz(50.8769, 41.4213, 72.3192)
Luminance0.4142 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D398DB #A0DB98
analogous
#B198DB #D398DB #DB98C1
triadic
#D398DB #DBD398 #98DBD3
tetradic
#D398DB #DBB198 #A0DB98 #98C1DB
square
#D398DB #DBB198 #A0DB98 #98C1DB
split-complementary
#D398DB #C1DB98 #98DBB1
monochromatic
#AA40B8 #C06BCB #D398DB #E6C5EB #F5E8F7

Accessibility & contrast

On white

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

On black

9.28
#D398DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D398DB
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D398DB#FFFFFF#000000##000000
##D398DB1.002.269.289.28
#FFFFFF2.261.0021.0021.00
#0000009.2821.001.001.00
##0000009.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#91A8DE
Deuteranopia (green-blind)
#9FAFD9
Tritanopia (blue-blind)
#D59FB0
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #d398db;
/* rgb */ color: rgb(211, 152, 219);
/* oklch */ color: oklch(75.9% 0.113 322.5);
Tailwind
colors: {
  custom: {
    50: '#e1b7e6',
    500: '#d398db',
    950: '#000000',
  },
}
SCSS
$custom: #d398db;
$custom-light: #e1b7e6;
$custom-dark: #000000;
JSON
{
  "hex": "#d398db",
  "rgb": {
    "r": 211,
    "g": 152,
    "b": 219
  },
  "hsl": {
    "h": 292.836,
    "s": 48.201,
    "l": 72.745
  },
  "oklch": {
    "l": 0.75861,
    "c": 0.11343,
    "h": 322.5
  },
  "luminance": 0.4142
}

Semantic roles & 50–950 ramp

primary
#D398DB
secondary
#DFEEDD
accent
#BB2A3B
background
#FDFBFE
surface
#FBF6FC
border
#D4D0D5
text
#151116
muted
#838084

Preview Lab

Preview with #D398DB

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

Preview Lab → · Contrast checker → · Palette generator →

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