#DF7FDB#DF7FDB

#DF7FDB is a light, vivid purple. Relative luminance 0.360; OKLCH L 73.2% C 0.164 H 328.6°. Best body text is #000000 at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#DF7FDB
RGBrgb(223, 127, 219)
HSLhsl(303, 60%, 69%)
HSVhsv(303, 43%, 87%)
CMYKcmyk(0%, 43%, 1.8%, 12.5%)
CIE-LABlab(66.51, 50.15, -31.40)
CIE-LCHlch(66.51, 59.17, 327.95°)
OKLaboklab(73.17% 0.1403 -0.0856)
OKLCHoklch(73.17% 0.164 328.6)
XYZxyz(50.8062, 35.9838, 71.2735)
Luminance0.3598 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF7FDB #7FDF83
analogous
#B37FDF #DF7FDB #DF7FAB
triadic
#DF7FDB #DBDF7F #7FDBDF
tetradic
#DF7FDB #DFB37F #7FDF83 #7FABDF
square
#DF7FDB #DFB37F #7FDF83 #7FABDF
split-complementary
#DF7FDB #ABDF7F #7FDFB3
monochromatic
#B62EB0 #D34ECD #DF7FDB #EBB0E9 #F7E1F7

Accessibility & contrast

On white

2.56
#DF7FDB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.20
#DF7FDB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF7FDB
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF7FDB#FFFFFF#000000##000000
##DF7FDB1.002.568.208.20
#FFFFFF2.561.0021.0021.00
#0000008.2021.001.001.00
##0000008.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#799ADE
Deuteranopia (green-blind)
#93A6D8
Tritanopia (blue-blind)
#E588A3
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #df7fdb;
/* rgb */ color: rgb(223, 127, 219);
/* oklch */ color: oklch(73.2% 0.164 328.6);
Tailwind
colors: {
  custom: {
    50: '#eba7e6',
    500: '#df7fdb',
    950: '#000000',
  },
}
SCSS
$custom: #df7fdb;
$custom-light: #eba7e6;
$custom-dark: #000000;
JSON
{
  "hex": "#df7fdb",
  "rgb": {
    "r": 223,
    "g": 127,
    "b": 219
  },
  "hsl": {
    "h": 302.5,
    "s": 60,
    "l": 68.627
  },
  "oklch": {
    "l": 0.73169,
    "c": 0.16438,
    "h": 328.6
  },
  "luminance": 0.35981
}

Semantic roles & 50–950 ramp

primary
#DF7FDB
secondary
#CFEBD0
accent
#C8251E
background
#FEFAFE
surface
#FDF4FC
border
#D5CED5
text
#161016
muted
#847F84

Preview Lab

Preview with #DF7FDB

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

Preview Lab → · Contrast checker → · Palette generator →

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