#DF7FE3#DF7FE3

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

Color values

HEX#DF7FE3
RGBrgb(223, 127, 227)
HSLhsl(298, 64%, 69%)
HSVhsv(298, 44%, 89%)
CMYKcmyk(1.8%, 44.1%, 0%, 11%)
CIE-LABlab(66.84, 51.59, -35.33)
CIE-LCHlch(66.84, 62.52, 325.59°)
OKLaboklab(73.52% 0.1419 -0.0968)
OKLCHoklch(73.52% 0.172 325.7)
XYZxyz(51.8848, 36.4152, 76.9540)
Luminance0.3641 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF7FE3 #83E37F
analogous
#AD7FE3 #DF7FE3 #E37FB5
triadic
#DF7FE3 #E3DF7F #7FE3DF
tetradic
#DF7FE3 #E3AD7F #83E37F #7FB5E3
square
#DF7FE3 #E3AD7F #83E37F #7FB5E3
split-complementary
#DF7FE3 #B5E37F #7FE3AD
monochromatic
#B82ABE #D24DD8 #DF7FE3 #ECB1EE #F8E3F9

Accessibility & contrast

On white

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

On black

8.28
#DF7FE3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF7FE3
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF7FE3#FFFFFF#000000##000000
##DF7FE31.002.548.288.28
#FFFFFF2.541.0021.0021.00
#0000008.2821.001.001.00
##0000008.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#759BE6
Deuteranopia (green-blind)
#90A7E0
Tritanopia (blue-blind)
#E48AA6
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #df7fe3;
/* rgb */ color: rgb(223, 127, 227);
/* oklch */ color: oklch(73.5% 0.172 325.7);
Tailwind
colors: {
  custom: {
    50: '#eba7ec',
    500: '#df7fe3',
    950: '#000000',
  },
}
SCSS
$custom: #df7fe3;
$custom-light: #eba7ec;
$custom-dark: #000000;
JSON
{
  "hex": "#df7fe3",
  "rgb": {
    "r": 223,
    "g": 127,
    "b": 227
  },
  "hsl": {
    "h": 297.6,
    "s": 64.103,
    "l": 69.412
  },
  "oklch": {
    "l": 0.73522,
    "c": 0.17177,
    "h": 325.7
  },
  "luminance": 0.36413
}

Semantic roles & 50–950 ramp

primary
#DF7FE3
secondary
#D2EDD0
accent
#CC1A21
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#161016
muted
#847F84

Preview Lab

Preview with #DF7FE3

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

Preview Lab → · Contrast checker → · Palette generator →

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