#D398DF#D398DF

#D398DF is a light, moderate purple. Relative luminance 0.416; OKLCH L 76.0% C 0.118 H 320.6°. Best body text is #000000 at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#D398DF
RGBrgb(211, 152, 223)
HSLhsl(290, 53%, 74%)
HSVhsv(290, 32%, 87%)
CMYKcmyk(5.4%, 31.8%, 0%, 12.5%)
CIE-LABlab(70.62, 34.03, -27.39)
CIE-LCHlch(70.62, 43.68, 321.17°)
OKLaboklab(76.02% 0.091 -0.0746)
OKLCHoklch(76.02% 0.118 320.6)
XYZxyz(51.4098, 41.6345, 75.1258)
Luminance0.4163 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D398DF #A4DF98
analogous
#AF98DF #D398DF #DF98C7
triadic
#D398DF #DFD398 #98DFD3
tetradic
#D398DF #DFAF98 #A4DF98 #98C7DF
square
#D398DF #DFAF98 #A4DF98 #98C7DF
split-complementary
#D398DF #C7DF98 #98DFAF
monochromatic
#AA3CC1 #BF69D0 #D398DF #E7C7EE #F5E8F8

Accessibility & contrast

On white

2.25
#D398DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.33
#D398DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D398DF
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D398DF#FFFFFF#000000##000000
##D398DF1.002.259.339.33
#FFFFFF2.251.0021.0021.00
#0000009.3321.001.001.00
##0000009.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#90A9E2
Deuteranopia (green-blind)
#9EAFDD
Tritanopia (blue-blind)
#D4A0B2
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #d398df;
/* rgb */ color: rgb(211, 152, 223);
/* oklch */ color: oklch(76.0% 0.118 320.6);
Tailwind
colors: {
  custom: {
    50: '#e1b7e9',
    500: '#d398df',
    950: '#000000',
  },
}
SCSS
$custom: #d398df;
$custom-light: #e1b7e9;
$custom-dark: #000000;
JSON
{
  "hex": "#d398df",
  "rgb": {
    "r": 211,
    "g": 152,
    "b": 223
  },
  "hsl": {
    "h": 289.859,
    "s": 52.593,
    "l": 73.529
  },
  "oklch": {
    "l": 0.76022,
    "c": 0.11772,
    "h": 320.6
  },
  "luminance": 0.41633
}

Semantic roles & 50–950 ramp

primary
#D398DF
secondary
#DFEFDC
accent
#C02540
background
#FDFBFE
surface
#FBF6FC
border
#D4D0D5
text
#151116
muted
#838084

Preview Lab

Preview with #D398DF

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

Preview Lab → · Contrast checker → · Palette generator →

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