#DF97F3#DF97F3

#DF97F3 is a light, vivid purple. Relative luminance 0.443; OKLCH L 77.9% C 0.148 H 318.7°. Best body text is #000000 at 9.86:1 contrast (WCAG AA passes).

Color values

HEX#DF97F3
RGBrgb(223, 151, 243)
HSLhsl(287, 79%, 77%)
HSVhsv(287, 38%, 95%)
CMYKcmyk(8.2%, 37.9%, 0%, 4.7%)
CIE-LABlab(72.42, 42.16, -35.44)
CIE-LCHlch(72.42, 55.08, 319.95°)
OKLaboklab(77.93% 0.1109 -0.0973)
OKLCHoklch(77.93% 0.148 318.7)
XYZxyz(57.6735, 44.2939, 90.2881)
Luminance0.4429 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF97F3 #ABF397
analogous
#B197F3 #DF97F3 #F397D9
triadic
#DF97F3 #F3DF97 #97F3DF
tetradic
#DF97F3 #F3B197 #ABF397 #97D9F3
square
#DF97F3 #F3B197 #ABF397 #97D9F3
split-complementary
#DF97F3 #D9F397 #97F3B1
monochromatic
#BD29E6 #CE60ED #DF97F3 #F0CEF9 #F7E4FC

Accessibility & contrast

On white

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

On black

9.86
#DF97F3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF97F3
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF97F3#FFFFFF#000000##000000
##DF97F31.002.139.869.86
#FFFFFF2.131.0021.0021.00
#0000009.8621.001.001.00
##0000009.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8AADF6
Deuteranopia (green-blind)
#9CB4F0
Tritanopia (blue-blind)
#E0A2BA
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #df97f3;
/* rgb */ color: rgb(223, 151, 243);
/* oklch */ color: oklch(77.9% 0.148 318.7);
Tailwind
colors: {
  custom: {
    50: '#eab7f7',
    500: '#df97f3',
    950: '#000000',
  },
}
SCSS
$custom: #df97f3;
$custom-light: #eab7f7;
$custom-dark: #000000;
JSON
{
  "hex": "#df97f3",
  "rgb": {
    "r": 223,
    "g": 151,
    "b": 243
  },
  "hsl": {
    "h": 286.957,
    "s": 79.31,
    "l": 77.255
  },
  "oklch": {
    "l": 0.77927,
    "c": 0.14754,
    "h": 318.7
  },
  "luminance": 0.44292
}

Semantic roles & 50–950 ramp

primary
#DF97F3
secondary
#DDF4D7
accent
#DC0A37
background
#FEFBFF
surface
#FDF6FE
border
#D5D0D6
text
#161117
muted
#848085

Preview Lab

Preview with #DF97F3

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

Preview Lab → · Contrast checker → · Palette generator →

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