#DF97F4#DF97F4

#DF97F4 is a light, vivid purple. Relative luminance 0.444; OKLCH L 78.0% C 0.149 H 318.4°. Best body text is #000000 at 9.87:1 contrast (WCAG AA passes).

Color values

HEX#DF97F4
RGBrgb(223, 151, 244)
HSLhsl(286, 81%, 77%)
HSVhsv(286, 38%, 96%)
CMYKcmyk(8.6%, 38.1%, 0%, 4.3%)
CIE-LABlab(72.46, 42.36, -35.92)
CIE-LCHlch(72.46, 55.54, 319.70°)
OKLaboklab(77.97% 0.1111 -0.0987)
OKLCHoklch(77.97% 0.149 318.4)
XYZxyz(57.8249, 44.3545, 91.0856)
Luminance0.4435 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF97F4 #ACF497
analogous
#B197F4 #DF97F4 #F497DA
triadic
#DF97F4 #F4DF97 #97F4DF
tetradic
#DF97F4 #F4B197 #ACF497 #97DAF4
square
#DF97F4 #F4B197 #ACF497 #97DAF4
split-complementary
#DF97F4 #DAF497 #97F4B1
monochromatic
#BD28E8 #CE60EE #DF97F4 #F0CEFA #F6E3FC

Accessibility & contrast

On white

2.13
#DF97F4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.87
#DF97F4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF97F4
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF97F4#FFFFFF#000000##000000
##DF97F41.002.139.879.87
#FFFFFF2.131.0021.0021.00
#0000009.8721.001.001.00
##0000009.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8AADF7
Deuteranopia (green-blind)
#9CB4F1
Tritanopia (blue-blind)
#DFA2BA
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #df97f4;
/* rgb */ color: rgb(223, 151, 244);
/* oklch */ color: oklch(78.0% 0.149 318.4);
Tailwind
colors: {
  custom: {
    50: '#eab7f8',
    500: '#df97f4',
    950: '#000000',
  },
}
SCSS
$custom: #df97f4;
$custom-light: #eab7f8;
$custom-dark: #000000;
JSON
{
  "hex": "#df97f4",
  "rgb": {
    "r": 223,
    "g": 151,
    "b": 244
  },
  "hsl": {
    "h": 286.452,
    "s": 80.87,
    "l": 77.451
  },
  "oklch": {
    "l": 0.7797,
    "c": 0.14861,
    "h": 318.4
  },
  "luminance": 0.44353
}

Semantic roles & 50–950 ramp

primary
#DF97F4
secondary
#DEF4D7
accent
#DD0838
background
#FEFBFF
surface
#FDF6FF
border
#D5D0D7
text
#161117
muted
#848085

Preview Lab

Preview with #DF97F4

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

Preview Lab → · Contrast checker → · Palette generator →

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