#DF7FDC#DF7FDC

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

Color values

HEX#DF7FDC
RGBrgb(223, 127, 220)
HSLhsl(302, 60%, 69%)
HSVhsv(302, 43%, 87%)
CMYKcmyk(0%, 43%, 1.3%, 12.5%)
CIE-LABlab(66.55, 50.33, -31.89)
CIE-LCHlch(66.55, 59.58, 327.64°)
OKLaboklab(73.21% 0.1405 -0.087)
OKLCHoklch(73.21% 0.165 328.2)
XYZxyz(50.9382, 36.0366, 71.9689)
Luminance0.3603 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF7FDC #7FDF82
analogous
#B27FDF #DF7FDC #DF7FAC
triadic
#DF7FDC #DCDF7F #7FDCDF
tetradic
#DF7FDC #DFB27F #7FDF82 #7FACDF
square
#DF7FDC #DFB27F #7FDF82 #7FACDF
split-complementary
#DF7FDC #ACDF7F #7FDFB2
monochromatic
#B62EB2 #D34ECF #DF7FDC #EBB0E9 #F7E1F7

Accessibility & contrast

On white

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

On black

8.21
#DF7FDC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF7FDC
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF7FDC#FFFFFF#000000##000000
##DF7FDC1.002.568.218.21
#FFFFFF2.561.0021.0021.00
#0000008.2121.001.001.00
##0000008.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#789ADF
Deuteranopia (green-blind)
#93A6D9
Tritanopia (blue-blind)
#E588A3
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #df7fdc;
/* rgb */ color: rgb(223, 127, 220);
/* oklch */ color: oklch(73.2% 0.165 328.2);
Tailwind
colors: {
  custom: {
    50: '#eba7e7',
    500: '#df7fdc',
    950: '#000000',
  },
}
SCSS
$custom: #df7fdc;
$custom-light: #eba7e7;
$custom-dark: #000000;
JSON
{
  "hex": "#df7fdc",
  "rgb": {
    "r": 223,
    "g": 127,
    "b": 220
  },
  "hsl": {
    "h": 301.875,
    "s": 60,
    "l": 68.627
  },
  "oklch": {
    "l": 0.73212,
    "c": 0.1653,
    "h": 328.2
  },
  "luminance": 0.36034
}

Semantic roles & 50–950 ramp

primary
#DF7FDC
secondary
#CFEBCF
accent
#C8231E
background
#FEFAFE
surface
#FDF4FC
border
#D5CED5
text
#161016
muted
#847F84

Preview Lab

Preview with #DF7FDC

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

Preview Lab → · Contrast checker → · Palette generator →

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