#DF97F0#DF97F0

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

Color values

HEX#DF97F0
RGBrgb(223, 151, 240)
HSLhsl(289, 75%, 77%)
HSVhsv(289, 37%, 94%)
CMYKcmyk(7.1%, 37.1%, 0%, 5.9%)
CIE-LABlab(72.30, 41.57, -33.99)
CIE-LCHlch(72.30, 53.70, 320.73°)
OKLaboklab(77.8% 0.1102 -0.0932)
OKLCHoklch(77.8% 0.144 319.8)
XYZxyz(57.2242, 44.1142, 87.9217)
Luminance0.4411 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF97F0 #A8F097
analogous
#B397F0 #DF97F0 #F097D5
triadic
#DF97F0 #F0DF97 #97F0DF
tetradic
#DF97F0 #F0B397 #A8F097 #97D5F0
square
#DF97F0 #F0B397 #A8F097 #97D5F0
split-complementary
#DF97F0 #D5F097 #97F0B3
monochromatic
#BE2CE1 #CF62E8 #DF97F0 #EFCCF8 #F7E4FB

Accessibility & contrast

On white

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

On black

9.82
#DF97F0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF97F0
9.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF97F0#FFFFFF#000000##000000
##DF97F01.002.149.829.82
#FFFFFF2.141.0021.0021.00
#0000009.8221.001.001.00
##0000009.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8BACF3
Deuteranopia (green-blind)
#9DB4ED
Tritanopia (blue-blind)
#E0A1B9
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #df97f0;
/* rgb */ color: rgb(223, 151, 240);
/* oklch */ color: oklch(77.8% 0.144 319.8);
Tailwind
colors: {
  custom: {
    50: '#eab7f5',
    500: '#df97f0',
    950: '#000000',
  },
}
SCSS
$custom: #df97f0;
$custom-light: #eab7f5;
$custom-dark: #000000;
JSON
{
  "hex": "#df97f0",
  "rgb": {
    "r": 223,
    "g": 151,
    "b": 240
  },
  "hsl": {
    "h": 288.539,
    "s": 74.79,
    "l": 76.667
  },
  "oklch": {
    "l": 0.77797,
    "c": 0.14434,
    "h": 319.8
  },
  "luminance": 0.44112
}

Semantic roles & 50–950 ramp

primary
#DF97F0
secondary
#DDF3D8
accent
#D70F35
background
#FEFBFE
surface
#FDF6FD
border
#D5D0D5
text
#161117
muted
#848085

Preview Lab

Preview with #DF97F0

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

Preview Lab → · Contrast checker → · Palette generator →

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