#D399EA#D399EA

#D399EA is a light, vivid purple. Relative luminance 0.426; OKLCH L 76.7% C 0.128 H 316.1°. Best body text is #000000 at 9.51:1 contrast (WCAG AA passes).

Color values

HEX#D399EA
RGBrgb(211, 153, 234)
HSLhsl(283, 66%, 76%)
HSVhsv(283, 35%, 92%)
CMYKcmyk(9.8%, 34.6%, 0%, 8.2%)
CIE-LABlab(71.26, 35.67, -32.42)
CIE-LCHlch(71.26, 48.21, 317.73°)
OKLaboklab(76.65% 0.0923 -0.0889)
OKLCHoklch(76.65% 0.128 316.1)
XYZxyz(53.1043, 42.5730, 83.2459)
Luminance0.4257 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D399EA #B0EA99
analogous
#AA99EA #D399EA #EA99D8
triadic
#D399EA #EAD399 #99EAD3
tetradic
#D399EA #EAAA99 #B0EA99 #99D8EA
square
#D399EA #EAAA99 #B0EA99 #99D8EA
split-complementary
#D399EA #D8EA99 #99EAAA
monochromatic
#A733D5 #BD66E0 #D399EA #E9CCF4 #F4E6FA

Accessibility & contrast

On white

2.21
#D399EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.51
#D399EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D399EA
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D399EA#FFFFFF#000000##000000
##D399EA1.002.219.519.51
#FFFFFF2.211.0021.0021.00
#0000009.5121.001.001.00
##0000009.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8DABED
Deuteranopia (green-blind)
#9BB0E8
Tritanopia (blue-blind)
#D2A3B7
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #d399ea;
/* rgb */ color: rgb(211, 153, 234);
/* oklch */ color: oklch(76.7% 0.128 316.1);
Tailwind
colors: {
  custom: {
    50: '#e1b8f1',
    500: '#d399ea',
    950: '#000000',
  },
}
SCSS
$custom: #d399ea;
$custom-light: #e1b8f1;
$custom-dark: #000000;
JSON
{
  "hex": "#d399ea",
  "rgb": {
    "r": 211,
    "g": 153,
    "b": 234
  },
  "hsl": {
    "h": 282.963,
    "s": 65.854,
    "l": 75.882
  },
  "oklch": {
    "l": 0.76651,
    "c": 0.12817,
    "h": 316.1
  },
  "luminance": 0.42572
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D399EA

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

Preview Lab → · Contrast checker → · Palette generator →

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