#DF7CE2#DF7CE2

#DF7CE2 is a light, vivid purple. Relative luminance 0.356; OKLCH L 73.0% C 0.176 H 326.1°. Best body text is #000000 at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#DF7CE2
RGBrgb(223, 124, 226)
HSLhsl(298, 64%, 69%)
HSVhsv(298, 45%, 89%)
CMYKcmyk(1.3%, 45.1%, 0%, 11.4%)
CIE-LABlab(66.21, 52.91, -35.75)
CIE-LCHlch(66.21, 63.86, 325.96°)
OKLaboklab(73.04% 0.1459 -0.098)
OKLCHoklch(73.04% 0.176 326.1)
XYZxyz(51.3655, 35.5968, 76.1020)
Luminance0.3559 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF7CE2 #7FE27C
analogous
#AC7CE2 #DF7CE2 #E27CB2
triadic
#DF7CE2 #E2DF7C #7CE2DF
tetradic
#DF7CE2 #E2AC7C #7FE27C #7CB2E2
square
#DF7CE2 #E2AC7C #7FE27C #7CB2E2
split-complementary
#DF7CE2 #B2E27C #7CE2AC
monochromatic
#B629BA #D34AD7 #DF7CE2 #EBAEED #F7E0F8

Accessibility & contrast

On white

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

On black

8.12
#DF7CE2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF7CE2
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF7CE2#FFFFFF#000000##000000
##DF7CE21.002.598.128.12
#FFFFFF2.591.0021.0021.00
#0000008.1221.001.001.00
##0000008.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7299E6
Deuteranopia (green-blind)
#8EA5DF
Tritanopia (blue-blind)
#E487A5
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #df7ce2;
/* rgb */ color: rgb(223, 124, 226);
/* oklch */ color: oklch(73.0% 0.176 326.1);
Tailwind
colors: {
  custom: {
    50: '#eba5eb',
    500: '#df7ce2',
    950: '#000000',
  },
}
SCSS
$custom: #df7ce2;
$custom-light: #eba5eb;
$custom-dark: #000000;
JSON
{
  "hex": "#df7ce2",
  "rgb": {
    "r": 223,
    "g": 124,
    "b": 226
  },
  "hsl": {
    "h": 298.235,
    "s": 63.75,
    "l": 68.627
  },
  "oklch": {
    "l": 0.73043,
    "c": 0.17576,
    "h": 326.1
  },
  "luminance": 0.35594
}

Semantic roles & 50–950 ramp

primary
#DF7CE2
secondary
#CFECCE
accent
#CC1A1F
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#160F16
muted
#847F84

Preview Lab

Preview with #DF7CE2

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

Preview Lab → · Contrast checker → · Palette generator →

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