#DF97FA#DF97FA

#DF97FA is a light, vivid purple. Relative luminance 0.447; OKLCH L 78.2% C 0.155 H 316.4°. Best body text is #000000 at 9.94:1 contrast (WCAG AA passes).

Color values

HEX#DF97FA
RGBrgb(223, 151, 250)
HSLhsl(284, 91%, 79%)
HSVhsv(284, 40%, 98%)
CMYKcmyk(10.8%, 39.6%, 0%, 2%)
CIE-LABlab(72.71, 43.55, -38.80)
CIE-LCHlch(72.71, 58.33, 318.30°)
OKLaboklab(78.24% 0.1123 -0.1069)
OKLCHoklch(78.24% 0.155 316.4)
XYZxyz(58.7508, 44.7248, 95.9618)
Luminance0.4472 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF97FA #B2FA97
analogous
#AD97FA #DF97FA #FA97E4
triadic
#DF97FA #FADF97 #97FADF
tetradic
#DF97FA #FAAD97 #B2FA97 #97E4FA
square
#DF97FA #FAAD97 #B2FA97 #97E4FA
split-complementary
#DF97FA #E4FA97 #97FAAD
monochromatic
#BB22F4 #CD5DF7 #DF97FA #F1D1FD #F6E2FE

Accessibility & contrast

On white

2.11
#DF97FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.94
#DF97FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF97FA
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF97FA#FFFFFF#000000##000000
##DF97FA1.002.119.949.94
#FFFFFF2.111.0021.0021.00
#0000009.9421.001.001.00
##0000009.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#87AEFE
Deuteranopia (green-blind)
#99B5F7
Tritanopia (blue-blind)
#DEA4BD
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #df97fa;
/* rgb */ color: rgb(223, 151, 250);
/* oklch */ color: oklch(78.2% 0.155 316.4);
Tailwind
colors: {
  custom: {
    50: '#eab7fc',
    500: '#df97fa',
    950: '#000000',
  },
}
SCSS
$custom: #df97fa;
$custom-light: #eab7fc;
$custom-dark: #000000;
JSON
{
  "hex": "#df97fa",
  "rgb": {
    "r": 223,
    "g": 151,
    "b": 250
  },
  "hsl": {
    "h": 283.636,
    "s": 90.826,
    "l": 78.627
  },
  "oklch": {
    "l": 0.78236,
    "c": 0.15509,
    "h": 316.4
  },
  "luminance": 0.44723
}

Semantic roles & 50–950 ramp

primary
#DF97FA
secondary
#DEF6D5
accent
#E6003F
background
#FEFBFF
surface
#FDF6FF
border
#D5D0D7
text
#161117
muted
#848085

Preview Lab

Preview with #DF97FA

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

Preview Lab → · Contrast checker → · Palette generator →

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