#DF7CEE#DF7CEE

#DF7CEE is a light, vivid purple. Relative luminance 0.363; OKLCH L 73.6% C 0.187 H 322.2°. Best body text is #000000 at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#DF7CEE
RGBrgb(223, 124, 238)
HSLhsl(292, 77%, 71%)
HSVhsv(292, 48%, 93%)
CMYKcmyk(6.3%, 47.9%, 0%, 6.7%)
CIE-LABlab(66.73, 55.12, -41.57)
CIE-LCHlch(66.73, 69.04, 322.98°)
OKLaboklab(73.6% 0.1479 -0.1147)
OKLCHoklch(73.6% 0.187 322.2)
XYZxyz(53.0700, 36.2786, 85.0794)
Luminance0.3628 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF7CEE #8BEE7C
analogous
#A67CEE #DF7CEE #EE7CC4
triadic
#DF7CEE #EEDF7C #7CEEDF
tetradic
#DF7CEE #EEA67C #8BEE7C #7CC4EE
square
#DF7CEE #EEA67C #8BEE7C #7CC4EE
split-complementary
#DF7CEE #C4EE7C #7CEEA6
monochromatic
#BC1CD4 #D246E7 #DF7CEE #ECB2F5 #F8E4FB

Accessibility & contrast

On white

2.54
#DF7CEE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.26
#DF7CEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF7CEE
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF7CEE#FFFFFF#000000##000000
##DF7CEE1.002.548.268.26
#FFFFFF2.541.0021.0021.00
#0000008.2621.001.001.00
##0000008.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C9BF2
Deuteranopia (green-blind)
#89A6EB
Tritanopia (blue-blind)
#E28AAA
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #df7cee;
/* rgb */ color: rgb(223, 124, 238);
/* oklch */ color: oklch(73.6% 0.187 322.2);
Tailwind
colors: {
  custom: {
    50: '#eba5f4',
    500: '#df7cee',
    950: '#000000',
  },
}
SCSS
$custom: #df7cee;
$custom-light: #eba5f4;
$custom-dark: #000000;
JSON
{
  "hex": "#df7cee",
  "rgb": {
    "r": 223,
    "g": 124,
    "b": 238
  },
  "hsl": {
    "h": 292.105,
    "s": 77.027,
    "l": 70.98
  },
  "oklch": {
    "l": 0.73601,
    "c": 0.18712,
    "h": 322.2
  },
  "luminance": 0.36276
}

Semantic roles & 50–950 ramp

primary
#DF7CEE
secondary
#D8F2D4
accent
#D90C27
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#160F17
muted
#847F85

Preview Lab

Preview with #DF7CEE

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

Preview Lab → · Contrast checker → · Palette generator →

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