#D397ED#D397ED

#D397ED is a light, vivid purple. Relative luminance 0.421; OKLCH L 76.4% C 0.135 H 315.2°. Best body text is #000000 at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#D397ED
RGBrgb(211, 151, 237)
HSLhsl(282, 70%, 76%)
HSVhsv(282, 36%, 93%)
CMYKcmyk(11%, 36.3%, 0%, 7.1%)
CIE-LABlab(70.94, 37.36, -34.57)
CIE-LCHlch(70.94, 50.90, 317.23°)
OKLaboklab(76.44% 0.0959 -0.095)
OKLCHoklch(76.44% 0.135 315.2)
XYZxyz(53.2143, 42.0977, 85.4268)
Luminance0.4210 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D397ED #B1ED97
analogous
#A897ED #D397ED #ED97DC
triadic
#D397ED #EDD397 #97EDD3
tetradic
#D397ED #EDA897 #B1ED97 #97DCED
square
#D397ED #EDA897 #B1ED97 #97DCED
split-complementary
#D397ED #DCED97 #97EDA8
monochromatic
#A72FDB #BD63E4 #D397ED #E9CBF6 #F4E5FA

Accessibility & contrast

On white

2.23
#D397ED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.42
#D397ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D397ED
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D397ED#FFFFFF#000000##000000
##D397ED1.002.239.429.42
#FFFFFF2.231.0021.0021.00
#0000009.4221.001.001.00
##0000009.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#89AAF0
Deuteranopia (green-blind)
#98AFEA
Tritanopia (blue-blind)
#D2A2B7
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #d397ed;
/* rgb */ color: rgb(211, 151, 237);
/* oklch */ color: oklch(76.4% 0.135 315.2);
Tailwind
colors: {
  custom: {
    50: '#e1b6f3',
    500: '#d397ed',
    950: '#000000',
  },
}
SCSS
$custom: #d397ed;
$custom-light: #e1b6f3;
$custom-dark: #000000;
JSON
{
  "hex": "#d397ed",
  "rgb": {
    "r": 211,
    "g": 151,
    "b": 237
  },
  "hsl": {
    "h": 281.86,
    "s": 70.492,
    "l": 76.078
  },
  "oklch": {
    "l": 0.76444,
    "c": 0.135,
    "h": 315.2
  },
  "luminance": 0.42097
}

Semantic roles & 50–950 ramp

primary
#D397ED
secondary
#E1F2D9
accent
#D3134D
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151117
muted
#838085

Preview Lab

Preview with #D397ED

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

Preview Lab → · Contrast checker → · Palette generator →

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