#D398EA#D398EA

#D398EA is a light, vivid purple. Relative luminance 0.422; OKLCH L 76.5% C 0.130 H 316.2°. Best body text is #000000 at 9.45:1 contrast (WCAG AA passes).

Color values

HEX#D398EA
RGBrgb(211, 152, 234)
HSLhsl(283, 66%, 76%)
HSVhsv(283, 35%, 92%)
CMYKcmyk(9.8%, 35%, 0%, 8.2%)
CIE-LABlab(71.04, 36.22, -32.77)
CIE-LCHlch(71.04, 48.84, 317.86°)
OKLaboklab(76.48% 0.0937 -0.0899)
OKLCHoklch(76.48% 0.13 316.2)
XYZxyz(52.9413, 42.2471, 83.1916)
Luminance0.4225 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D398EA #AFEA98
analogous
#AA98EA #D398EA #EA98D8
triadic
#D398EA #EAD398 #98EAD3
tetradic
#D398EA #EAAA98 #AFEA98 #98D8EA
square
#D398EA #EAAA98 #AFEA98 #98D8EA
split-complementary
#D398EA #D8EA98 #98EAAA
monochromatic
#A832D5 #BD65E0 #D398EA #E9CBF4 #F4E6FA

Accessibility & contrast

On white

2.22
#D398EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.45
#D398EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D398EA
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D398EA#FFFFFF#000000##000000
##D398EA1.002.229.459.45
#FFFFFF2.221.0021.0021.00
#0000009.4521.001.001.00
##0000009.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8CAAED
Deuteranopia (green-blind)
#9AB0E7
Tritanopia (blue-blind)
#D2A2B6
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #d398ea;
/* rgb */ color: rgb(211, 152, 234);
/* oklch */ color: oklch(76.5% 0.130 316.2);
Tailwind
colors: {
  custom: {
    50: '#e1b7f1',
    500: '#d398ea',
    950: '#000000',
  },
}
SCSS
$custom: #d398ea;
$custom-light: #e1b7f1;
$custom-dark: #000000;
JSON
{
  "hex": "#d398ea",
  "rgb": {
    "r": 211,
    "g": 152,
    "b": 234
  },
  "hsl": {
    "h": 283.171,
    "s": 66.129,
    "l": 75.686
  },
  "oklch": {
    "l": 0.76482,
    "c": 0.12989,
    "h": 316.2
  },
  "luminance": 0.42246
}

Semantic roles & 50–950 ramp

primary
#D398EA
secondary
#E0F1DA
accent
#CE184B
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151116
muted
#838084

Preview Lab

Preview with #D398EA

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

Preview Lab → · Contrast checker → · Palette generator →

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