#DF7CDB#DF7CDB

#DF7CDB is a light, vivid purple. Relative luminance 0.352; OKLCH L 72.7% C 0.169 H 328.6°. Best body text is #000000 at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#DF7CDB
RGBrgb(223, 124, 219)
HSLhsl(302, 61%, 68%)
HSVhsv(302, 44%, 87%)
CMYKcmyk(0%, 44.4%, 1.8%, 12.5%)
CIE-LABlab(65.92, 51.66, -32.31)
CIE-LCHlch(65.92, 60.93, 327.98°)
OKLaboklab(72.73% 0.1446 -0.0882)
OKLCHoklch(72.73% 0.169 328.6)
XYZxyz(50.4245, 35.2204, 71.1463)
Luminance0.3522 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF7CDB #7CDF80
analogous
#B17CDF #DF7CDB #DF7CA9
triadic
#DF7CDB #DBDF7C #7CDBDF
tetradic
#DF7CDB #DFB17C #7CDF80 #7CA9DF
square
#DF7CDB #DFB17C #7CDF80 #7CA9DF
split-complementary
#DF7CDB #A9DF7C #7CDFB1
monochromatic
#B52CAF #D34BCD #DF7CDB #EBADE9 #F7DEF6

Accessibility & contrast

On white

2.61
#DF7CDB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.04
#DF7CDB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF7CDB
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF7CDB#FFFFFF#000000##000000
##DF7CDB1.002.618.048.04
#FFFFFF2.611.0021.0021.00
#0000008.0421.001.001.00
##0000008.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7598DE
Deuteranopia (green-blind)
#91A5D8
Tritanopia (blue-blind)
#E585A1
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #df7cdb;
/* rgb */ color: rgb(223, 124, 219);
/* oklch */ color: oklch(72.7% 0.169 328.6);
Tailwind
colors: {
  custom: {
    50: '#eba5e6',
    500: '#df7cdb',
    950: '#000000',
  },
}
SCSS
$custom: #df7cdb;
$custom-light: #eba5e6;
$custom-dark: #000000;
JSON
{
  "hex": "#df7cdb",
  "rgb": {
    "r": 223,
    "g": 124,
    "b": 219
  },
  "hsl": {
    "h": 302.424,
    "s": 60.736,
    "l": 68.039
  },
  "oklch": {
    "l": 0.72731,
    "c": 0.16937,
    "h": 328.6
  },
  "luminance": 0.35218
}

Semantic roles & 50–950 ramp

primary
#DF7CDB
secondary
#CCEBCD
accent
#C8241D
background
#FEFAFE
surface
#FDF4FC
border
#D5CED5
text
#160F16
muted
#847F84

Preview Lab

Preview with #DF7CDB

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

Preview Lab → · Contrast checker → · Palette generator →

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