#DF97FE#DF97FE

#DF97FE is a light, vivid purple. Relative luminance 0.450; OKLCH L 78.4% C 0.159 H 315.2°. Best body text is #000000 at 10.00:1 contrast (WCAG AA passes).

Color values

HEX#DF97FE
RGBrgb(223, 151, 254)
HSLhsl(282, 98%, 79%)
HSVhsv(282, 41%, 100%)
CMYKcmyk(12.2%, 40.6%, 0%, 0.4%)
CIE-LABlab(72.88, 44.35, -40.71)
CIE-LCHlch(72.88, 60.21, 317.45°)
OKLaboklab(78.42% 0.1131 -0.1124)
OKLCHoklch(78.42% 0.159 315.2)
XYZxyz(59.3847, 44.9784, 99.3001)
Luminance0.4498 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF97FE #B6FE97
analogous
#AC97FE #DF97FE #FE97E9
triadic
#DF97FE #FEDF97 #97FEDF
tetradic
#DF97FE #FEAC97 #B6FE97 #97E9FE
square
#DF97FE #FEAC97 #B6FE97 #97E9FE
split-complementary
#DF97FE #E9FE97 #97FEAC
monochromatic
#BA1EFD #CC5AFD #DF97FE #F2D4FF #F6E1FF

Accessibility & contrast

On white

2.10
#DF97FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.00
#DF97FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF97FE
10.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF97FE#FFFFFF#000000##000000
##DF97FE1.002.1010.0010.00
#FFFFFF2.101.0021.0021.00
#00000010.0021.001.001.00
##00000010.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#85AFFF
Deuteranopia (green-blind)
#97B5FB
Tritanopia (blue-blind)
#DDA5BF
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #df97fe;
/* rgb */ color: rgb(223, 151, 254);
/* oklch */ color: oklch(78.4% 0.159 315.2);
Tailwind
colors: {
  custom: {
    50: '#eab7ff',
    500: '#df97fe',
    950: '#000000',
  },
}
SCSS
$custom: #df97fe;
$custom-light: #eab7ff;
$custom-dark: #000000;
JSON
{
  "hex": "#df97fe",
  "rgb": {
    "r": 223,
    "g": 151,
    "b": 254
  },
  "hsl": {
    "h": 281.942,
    "s": 98.095,
    "l": 79.412
  },
  "oklch": {
    "l": 0.78416,
    "c": 0.15947,
    "h": 315.2
  },
  "luminance": 0.44977
}

Semantic roles & 50–950 ramp

primary
#DF97FE
secondary
#DFF7D4
accent
#E60045
background
#FEFBFF
surface
#FDF6FF
border
#D5D0D7
text
#161118
muted
#848086

Preview Lab

Preview with #DF97FE

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

Preview Lab → · Contrast checker → · Palette generator →

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