#DF97E4#DF97E4

#DF97E4 is a light, vivid purple. Relative luminance 0.434; OKLCH L 77.3% C 0.132 H 324.5°. Best body text is #000000 at 9.68:1 contrast (WCAG AA passes).

Color values

HEX#DF97E4
RGBrgb(223, 151, 228)
HSLhsl(296, 59%, 74%)
HSVhsv(296, 34%, 89%)
CMYKcmyk(2.2%, 33.8%, 0%, 10.6%)
CIE-LABlab(71.84, 39.29, -28.14)
CIE-LCHlch(71.84, 48.33, 324.38°)
OKLaboklab(77.3% 0.1074 -0.0766)
OKLCHoklch(77.3% 0.132 324.5)
XYZxyz(55.5002, 43.4246, 78.8420)
Luminance0.4342 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF97E4 #9CE497
analogous
#B997E4 #DF97E4 #E497C3
triadic
#DF97E4 #E4DF97 #97E4DF
tetradic
#DF97E4 #E4B997 #9CE497 #97C3E4
square
#DF97E4 #E4B997 #9CE497 #97C3E4
split-complementary
#DF97E4 #C3E497 #97E4B9
monochromatic
#C136CB #D066D7 #DF97E4 #EEC8F1 #F8E7F9

Accessibility & contrast

On white

2.17
#DF97E4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.68
#DF97E4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF97E4
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF97E4#FFFFFF#000000##000000
##DF97E41.002.179.689.68
#FFFFFF2.171.0021.0021.00
#0000009.6821.001.001.00
##0000009.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#90ABE7
Deuteranopia (green-blind)
#A2B3E1
Tritanopia (blue-blind)
#E29FB3
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #df97e4;
/* rgb */ color: rgb(223, 151, 228);
/* oklch */ color: oklch(77.3% 0.132 324.5);
Tailwind
colors: {
  custom: {
    50: '#eab6ec',
    500: '#df97e4',
    950: '#000000',
  },
}
SCSS
$custom: #df97e4;
$custom-light: #eab6ec;
$custom-dark: #000000;
JSON
{
  "hex": "#df97e4",
  "rgb": {
    "r": 223,
    "g": 151,
    "b": 228
  },
  "hsl": {
    "h": 296.104,
    "s": 58.779,
    "l": 74.314
  },
  "oklch": {
    "l": 0.77295,
    "c": 0.13193,
    "h": 324.5
  },
  "luminance": 0.43423
}

Semantic roles & 50–950 ramp

primary
#DF97E4
secondary
#DCF0DB
accent
#C61F2A
background
#FEFBFE
surface
#FDF6FD
border
#D5D0D5
text
#161116
muted
#848084

Preview Lab

Preview with #DF97E4

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

Preview Lab → · Contrast checker → · Palette generator →

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