#DF7FE2#DF7FE2

#DF7FE2 is a light, vivid purple. Relative luminance 0.364; OKLCH L 73.5% C 0.171 H 326.0°. Best body text is #000000 at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#DF7FE2
RGBrgb(223, 127, 226)
HSLhsl(298, 63%, 69%)
HSVhsv(298, 44%, 89%)
CMYKcmyk(1.3%, 43.8%, 0%, 11.4%)
CIE-LABlab(66.79, 51.40, -34.84)
CIE-LCHlch(66.79, 62.10, 325.87°)
OKLaboklab(73.48% 0.1417 -0.0954)
OKLCHoklch(73.48% 0.171 326)
XYZxyz(51.7472, 36.3602, 76.2292)
Luminance0.3636 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF7FE2 #82E27F
analogous
#AE7FE2 #DF7FE2 #E27FB4
triadic
#DF7FE2 #E2DF7F #7FE2DF
tetradic
#DF7FE2 #E2AE7F #82E27F #7FB4E2
square
#DF7FE2 #E2AE7F #82E27F #7FB4E2
split-complementary
#DF7FE2 #B4E27F #7FE2AE
monochromatic
#B82BBC #D34DD7 #DF7FE2 #EBB1ED #F8E3F9

Accessibility & contrast

On white

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

On black

8.27
#DF7FE2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF7FE2
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF7FE2#FFFFFF#000000##000000
##DF7FE21.002.548.278.27
#FFFFFF2.541.0021.0021.00
#0000008.2721.001.001.00
##0000008.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#769BE5
Deuteranopia (green-blind)
#90A7DF
Tritanopia (blue-blind)
#E489A6
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #df7fe2;
/* rgb */ color: rgb(223, 127, 226);
/* oklch */ color: oklch(73.5% 0.171 326.0);
Tailwind
colors: {
  custom: {
    50: '#eba7eb',
    500: '#df7fe2',
    950: '#000000',
  },
}
SCSS
$custom: #df7fe2;
$custom-light: #eba7eb;
$custom-dark: #000000;
JSON
{
  "hex": "#df7fe2",
  "rgb": {
    "r": 223,
    "g": 127,
    "b": 226
  },
  "hsl": {
    "h": 298.182,
    "s": 63.057,
    "l": 69.216
  },
  "oklch": {
    "l": 0.73477,
    "c": 0.17084,
    "h": 326
  },
  "luminance": 0.36358
}

Semantic roles & 50–950 ramp

primary
#DF7FE2
secondary
#D1EDD0
accent
#CB1B20
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#161016
muted
#847F84

Preview Lab

Preview with #DF7FE2

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

Preview Lab → · Contrast checker → · Palette generator →

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