#DF97FF#DF97FF

#DF97FF is a light, vivid purple. Relative luminance 0.450; OKLCH L 78.5% C 0.161 H 314.9°. Best body text is #000000 at 10.01:1 contrast (WCAG AA passes).

Color values

HEX#DF97FF
RGBrgb(223, 151, 255)
HSLhsl(282, 100%, 80%)
HSVhsv(282, 41%, 100%)
CMYKcmyk(12.5%, 40.8%, 0%, 0%)
CIE-LABlab(72.92, 44.56, -41.19)
CIE-LCHlch(72.92, 60.68, 317.25°)
OKLaboklab(78.46% 0.1133 -0.1138)
OKLCHoklch(78.46% 0.161 314.9)
XYZxyz(59.5452, 45.0426, 100.1457)
Luminance0.4504 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF97FF #B7FF97
analogous
#AB97FF #DF97FF #FF97EB
triadic
#DF97FF #FFDF97 #97FFDF
tetradic
#DF97FF #FFAB97 #B7FF97 #97EBFF
square
#DF97FF #FFAB97 #B7FF97 #97EBFF
split-complementary
#DF97FF #EBFF97 #97FFAB
monochromatic
#B91DFF #CC5AFF #DF97FF #F2D4FF #F6E0FF

Accessibility & contrast

On white

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

On black

10.01
#DF97FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF97FF
10.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF97FF#FFFFFF#000000##000000
##DF97FF1.002.1010.0110.01
#FFFFFF2.101.0021.0021.00
#00000010.0121.001.001.00
##00000010.0121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #df97ff;
/* rgb */ color: rgb(223, 151, 255);
/* oklch */ color: oklch(78.5% 0.161 314.9);
Tailwind
colors: {
  custom: {
    50: '#eab7ff',
    500: '#df97ff',
    950: '#000000',
  },
}
SCSS
$custom: #df97ff;
$custom-light: #eab7ff;
$custom-dark: #000000;
JSON
{
  "hex": "#df97ff",
  "rgb": {
    "r": 223,
    "g": 151,
    "b": 255
  },
  "hsl": {
    "h": 281.538,
    "s": 100,
    "l": 79.608
  },
  "oklch": {
    "l": 0.78462,
    "c": 0.16057,
    "h": 314.9
  },
  "luminance": 0.45041
}

Semantic roles & 50–950 ramp

primary
#DF97FF
secondary
#DFF7D4
accent
#E60047
background
#FEFBFF
surface
#FDF6FF
border
#D5D0D7
text
#161118
muted
#848086

Preview Lab

Preview with #DF97FF

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

Preview Lab → · Contrast checker → · Palette generator →

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