#DF97DF#DF97DF

#DF97DF is a light, vivid purple. Relative luminance 0.431; OKLCH L 77.1% C 0.127 H 326.7°. Best body text is #000000 at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#DF97DF
RGBrgb(223, 151, 223)
HSLhsl(300, 53%, 73%)
HSVhsv(300, 32%, 87%)
CMYKcmyk(0%, 32.3%, 0%, 12.5%)
CIE-LABlab(71.66, 38.36, -25.68)
CIE-LCHlch(71.66, 46.16, 326.19°)
OKLaboklab(77.09% 0.1061 -0.0697)
OKLCHoklch(77.09% 0.127 326.7)
XYZxyz(54.8161, 43.1510, 75.2392)
Luminance0.4315 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF97DF #97DF97
analogous
#BB97DF #DF97DF #DF97BB
triadic
#DF97DF #DFDF97 #97DFDF
tetradic
#DF97DF #DFBB97 #97DF97 #97BBDF
square
#DF97DF #DFBB97 #97DF97 #97BBDF
split-complementary
#DF97DF #BBDF97 #97DFBB
monochromatic
#C03BC0 #D168D1 #DF97DF #EDC6ED #F8E8F8

Accessibility & contrast

On white

2.18
#DF97DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.63
#DF97DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF97DF
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF97DF#FFFFFF#000000##000000
##DF97DF1.002.189.639.63
#FFFFFF2.181.0021.0021.00
#0000009.6321.001.001.00
##0000009.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#92AAE2
Deuteranopia (green-blind)
#A4B3DD
Tritanopia (blue-blind)
#E39DB1
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #df97df;
/* rgb */ color: rgb(223, 151, 223);
/* oklch */ color: oklch(77.1% 0.127 326.7);
Tailwind
colors: {
  custom: {
    50: '#eab6e9',
    500: '#df97df',
    950: '#000000',
  },
}
SCSS
$custom: #df97df;
$custom-light: #eab6e9;
$custom-dark: #000000;
JSON
{
  "hex": "#df97df",
  "rgb": {
    "r": 223,
    "g": 151,
    "b": 223
  },
  "hsl": {
    "h": 300,
    "s": 52.941,
    "l": 73.333
  },
  "oklch": {
    "l": 0.77094,
    "c": 0.12696,
    "h": 326.7
  },
  "luminance": 0.43149
}

Semantic roles & 50–950 ramp

primary
#DF97DF
secondary
#DCEFDC
accent
#C02525
background
#FEFBFE
surface
#FDF6FC
border
#D5D0D5
text
#161116
muted
#848084

Preview Lab

Preview with #DF97DF

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

Preview Lab → · Contrast checker → · Palette generator →

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