#DF97F8#DF97F8

#DF97F8 is a light, vivid purple. Relative luminance 0.446; OKLCH L 78.1% C 0.153 H 317.1°. Best body text is #000000 at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#DF97F8
RGBrgb(223, 151, 248)
HSLhsl(285, 87%, 78%)
HSVhsv(285, 39%, 97%)
CMYKcmyk(10.1%, 39.1%, 0%, 2.7%)
CIE-LABlab(72.63, 43.15, -37.85)
CIE-LCHlch(72.63, 57.39, 318.75°)
OKLaboklab(78.15% 0.1119 -0.1042)
OKLCHoklch(78.15% 0.153 317.1)
XYZxyz(58.4389, 44.6001, 94.3190)
Luminance0.4460 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF97F8 #B0F897
analogous
#AE97F8 #DF97F8 #F897E0
triadic
#DF97F8 #F8DF97 #97F8DF
tetradic
#DF97F8 #F8AE97 #B0F897 #97E0F8
square
#DF97F8 #F8AE97 #B0F897 #97E0F8
split-complementary
#DF97F8 #E0F897 #97F8AE
monochromatic
#BC24F0 #CD5EF4 #DF97F8 #F1D0FC #F6E2FD

Accessibility & contrast

On white

2.12
#DF97F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.92
#DF97F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF97F8
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF97F8#FFFFFF#000000##000000
##DF97F81.002.129.929.92
#FFFFFF2.121.0021.0021.00
#0000009.9221.001.001.00
##0000009.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#88AEFC
Deuteranopia (green-blind)
#9AB5F5
Tritanopia (blue-blind)
#DFA4BC
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #df97f8;
/* rgb */ color: rgb(223, 151, 248);
/* oklch */ color: oklch(78.1% 0.153 317.1);
Tailwind
colors: {
  custom: {
    50: '#eab7fb',
    500: '#df97f8',
    950: '#000000',
  },
}
SCSS
$custom: #df97f8;
$custom-light: #eab7fb;
$custom-dark: #000000;
JSON
{
  "hex": "#df97f8",
  "rgb": {
    "r": 223,
    "g": 151,
    "b": 248
  },
  "hsl": {
    "h": 284.536,
    "s": 87.387,
    "l": 78.235
  },
  "oklch": {
    "l": 0.78146,
    "c": 0.15293,
    "h": 317.1
  },
  "luminance": 0.44599
}

Semantic roles & 50–950 ramp

primary
#DF97F8
secondary
#DEF5D6
accent
#E4023C
background
#FEFBFF
surface
#FDF6FF
border
#D5D0D7
text
#161117
muted
#848085

Preview Lab

Preview with #DF97F8

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

Preview Lab → · Contrast checker → · Palette generator →

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