#DF96F2#DF96F2

#DF96F2 is a light, vivid purple. Relative luminance 0.439; OKLCH L 77.7% C 0.148 H 319.2°. Best body text is #000000 at 9.78:1 contrast (WCAG AA passes).

Color values

HEX#DF96F2
RGBrgb(223, 150, 242)
HSLhsl(288, 78%, 77%)
HSVhsv(288, 38%, 95%)
CMYKcmyk(7.9%, 38%, 0%, 5.1%)
CIE-LABlab(72.17, 42.49, -35.29)
CIE-LCHlch(72.17, 55.24, 320.29°)
OKLaboklab(77.72% 0.1121 -0.0969)
OKLCHoklch(77.72% 0.148 319.2)
XYZxyz(57.3627, 43.9132, 89.4416)
Luminance0.4391 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF96F2 #A9F296
analogous
#B196F2 #DF96F2 #F296D7
triadic
#DF96F2 #F2DF96 #96F2DF
tetradic
#DF96F2 #F2B196 #A9F296 #96D7F2
square
#DF96F2 #F2B196 #A9F296 #96D7F2
split-complementary
#DF96F2 #D7F296 #96F2B1
monochromatic
#BE29E5 #CE60EB #DF96F2 #F0CCF9 #F7E4FC

Accessibility & contrast

On white

2.15
#DF96F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.78
#DF96F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF96F2
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF96F2#FFFFFF#000000##000000
##DF96F21.002.159.789.78
#FFFFFF2.151.0021.0021.00
#0000009.7821.001.001.00
##0000009.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#89ACF5
Deuteranopia (green-blind)
#9CB4EF
Tritanopia (blue-blind)
#E0A1B9
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #df96f2;
/* rgb */ color: rgb(223, 150, 242);
/* oklch */ color: oklch(77.7% 0.148 319.2);
Tailwind
colors: {
  custom: {
    50: '#eab6f6',
    500: '#df96f2',
    950: '#000000',
  },
}
SCSS
$custom: #df96f2;
$custom-light: #eab6f6;
$custom-dark: #000000;
JSON
{
  "hex": "#df96f2",
  "rgb": {
    "r": 223,
    "g": 150,
    "b": 242
  },
  "hsl": {
    "h": 287.609,
    "s": 77.966,
    "l": 76.863
  },
  "oklch": {
    "l": 0.77722,
    "c": 0.14818,
    "h": 319.2
  },
  "luminance": 0.43911
}

Semantic roles & 50–950 ramp

primary
#DF96F2
secondary
#DDF3D8
accent
#DA0B36
background
#FEFBFF
surface
#FDF6FE
border
#D5D0D6
text
#161117
muted
#848085

Preview Lab

Preview with #DF96F2

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

Preview Lab → · Contrast checker → · Palette generator →

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