#DF7FD2#DF7FD2

#DF7FD2 is a light, vivid purple. Relative luminance 0.355; OKLCH L 72.8% C 0.156 H 332.2°. Best body text is #000000 at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#DF7FD2
RGBrgb(223, 127, 210)
HSLhsl(308, 60%, 69%)
HSVhsv(308, 43%, 87%)
CMYKcmyk(0%, 43%, 5.8%, 12.5%)
CIE-LABlab(66.15, 48.58, -26.93)
CIE-LCHlch(66.15, 55.55, 331.00°)
OKLaboklab(72.79% 0.1384 -0.073)
OKLCHoklch(72.79% 0.156 332.2)
XYZxyz(49.6533, 35.5226, 65.2015)
Luminance0.3552 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF7FD2 #7FDF8C
analogous
#BC7FDF #DF7FD2 #DF7FA2
triadic
#DF7FD2 #D2DF7F #7FD2DF
tetradic
#DF7FD2 #DFBC7F #7FDF8C #7FA2DF
square
#DF7FD2 #DFBC7F #7FDF8C #7FA2DF
split-complementary
#DF7FD2 #A2DF7F #7FDFBC
monochromatic
#B62EA4 #D34EC1 #DF7FD2 #EBB0E3 #F7E1F4

Accessibility & contrast

On white

2.59
#DF7FD2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.10
#DF7FD2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF7FD2
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF7FD2#FFFFFF#000000##000000
##DF7FD21.002.598.108.10
#FFFFFF2.591.0021.0021.00
#0000008.1021.001.001.00
##0000008.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D98D5
Deuteranopia (green-blind)
#96A6CF
Tritanopia (blue-blind)
#E6859F
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #df7fd2;
/* rgb */ color: rgb(223, 127, 210);
/* oklch */ color: oklch(72.8% 0.156 332.2);
Tailwind
colors: {
  custom: {
    50: '#eba6e0',
    500: '#df7fd2',
    950: '#000000',
  },
}
SCSS
$custom: #df7fd2;
$custom-light: #eba6e0;
$custom-dark: #000000;
JSON
{
  "hex": "#df7fd2",
  "rgb": {
    "r": 223,
    "g": 127,
    "b": 210
  },
  "hsl": {
    "h": 308.125,
    "s": 60,
    "l": 68.627
  },
  "oklch": {
    "l": 0.72788,
    "c": 0.15643,
    "h": 332.2
  },
  "luminance": 0.3552
}

Semantic roles & 50–950 ramp

primary
#DF7FD2
secondary
#CFEBD2
accent
#C8351E
background
#FEFAFD
surface
#FDF4FB
border
#D5CED4
text
#161015
muted
#847F83

Preview Lab

Preview with #DF7FD2

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

Preview Lab → · Contrast checker → · Palette generator →

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