#DE97E2#DE97E2

#DE97E2 is a light, vivid purple. Relative luminance 0.432; OKLCH L 77.1% C 0.129 H 324.9°. Best body text is #000000 at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#DE97E2
RGBrgb(222, 151, 226)
HSLhsl(297, 56%, 74%)
HSVhsv(297, 33%, 89%)
CMYKcmyk(1.8%, 33.2%, 0%, 11.4%)
CIE-LABlab(71.66, 38.60, -27.34)
CIE-LCHlch(71.66, 47.30, 324.69°)
OKLaboklab(77.11% 0.1058 -0.0743)
OKLCHoklch(77.11% 0.129 324.9)
XYZxyz(54.9169, 43.1557, 77.3738)
Luminance0.4315 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DE97E2 #9BE297
analogous
#B997E2 #DE97E2 #E297C1
triadic
#DE97E2 #E2DE97 #97E2DE
tetradic
#DE97E2 #E2B997 #9BE297 #97C1E2
square
#DE97E2 #E2B997 #9BE297 #97C1E2
split-complementary
#DE97E2 #C1E297 #97E2B9
monochromatic
#BF38C7 #CF67D5 #DE97E2 #EDC7EF #F7E7F8

Accessibility & contrast

On white

2.18
#DE97E2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.63
#DE97E2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DE97E2
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DE97E2#FFFFFF#000000##000000
##DE97E21.002.189.639.63
#FFFFFF2.181.0021.0021.00
#0000009.6321.001.001.00
##0000009.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#91AAE5
Deuteranopia (green-blind)
#A2B3DF
Tritanopia (blue-blind)
#E29EB3
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #de97e2;
/* rgb */ color: rgb(222, 151, 226);
/* oklch */ color: oklch(77.1% 0.129 324.9);
Tailwind
colors: {
  custom: {
    50: '#e9b6eb',
    500: '#de97e2',
    950: '#000000',
  },
}
SCSS
$custom: #de97e2;
$custom-light: #e9b6eb;
$custom-dark: #000000;
JSON
{
  "hex": "#de97e2",
  "rgb": {
    "r": 222,
    "g": 151,
    "b": 226
  },
  "hsl": {
    "h": 296.8,
    "s": 56.391,
    "l": 73.922
  },
  "oklch": {
    "l": 0.77109,
    "c": 0.12928,
    "h": 324.9
  },
  "luminance": 0.43154
}

Semantic roles & 50–950 ramp

primary
#DE97E2
secondary
#DDF0DB
accent
#C4222A
background
#FEFBFE
surface
#FDF6FD
border
#D5D0D5
text
#161116
muted
#848084

Preview Lab

Preview with #DE97E2

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

Preview Lab → · Contrast checker → · Palette generator →

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