#DF97EF#DF97EF

#DF97EF is a light, vivid purple. Relative luminance 0.441; OKLCH L 77.8% C 0.143 H 320.2°. Best body text is #000000 at 9.81:1 contrast (WCAG AA passes).

Color values

HEX#DF97EF
RGBrgb(223, 151, 239)
HSLhsl(289, 73%, 76%)
HSVhsv(289, 37%, 94%)
CMYKcmyk(6.7%, 36.8%, 0%, 6.3%)
CIE-LABlab(72.27, 41.38, -33.51)
CIE-LCHlch(72.27, 53.25, 321.00°)
OKLaboklab(77.75% 0.11 -0.0918)
OKLCHoklch(77.75% 0.143 320.2)
XYZxyz(57.0760, 44.0549, 87.1415)
Luminance0.4405 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF97EF #A7EF97
analogous
#B397EF #DF97EF #EF97D3
triadic
#DF97EF #EFDF97 #97EFDF
tetradic
#DF97EF #EFB397 #A7EF97 #97D3EF
square
#DF97EF #EFB397 #A7EF97 #97D3EF
split-complementary
#DF97EF #D3EF97 #97EFB3
monochromatic
#BE2DDF #CF62E7 #DF97EF #EFCCF7 #F7E4FB

Accessibility & contrast

On white

2.14
#DF97EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.81
#DF97EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF97EF
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF97EF#FFFFFF#000000##000000
##DF97EF1.002.149.819.81
#FFFFFF2.141.0021.0021.00
#0000009.8121.001.001.00
##0000009.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8CACF2
Deuteranopia (green-blind)
#9EB4EC
Tritanopia (blue-blind)
#E0A1B8
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #df97ef;
/* rgb */ color: rgb(223, 151, 239);
/* oklch */ color: oklch(77.8% 0.143 320.2);
Tailwind
colors: {
  custom: {
    50: '#eab7f4',
    500: '#df97ef',
    950: '#000000',
  },
}
SCSS
$custom: #df97ef;
$custom-light: #eab7f4;
$custom-dark: #000000;
JSON
{
  "hex": "#df97ef",
  "rgb": {
    "r": 223,
    "g": 151,
    "b": 239
  },
  "hsl": {
    "h": 289.091,
    "s": 73.333,
    "l": 76.471
  },
  "oklch": {
    "l": 0.77754,
    "c": 0.14329,
    "h": 320.2
  },
  "luminance": 0.44053
}

Semantic roles & 50–950 ramp

primary
#DF97EF
secondary
#DDF3D8
accent
#D51034
background
#FEFBFE
surface
#FDF6FD
border
#D5D0D5
text
#161117
muted
#848085

Preview Lab

Preview with #DF97EF

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

Preview Lab → · Contrast checker → · Palette generator →

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