#DF7FE4#DF7FE4

#DF7FE4 is a light, vivid purple. Relative luminance 0.365; OKLCH L 73.6% C 0.173 H 325.3°. Best body text is #000000 at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#DF7FE4
RGBrgb(223, 127, 228)
HSLhsl(297, 65%, 70%)
HSVhsv(297, 44%, 89%)
CMYKcmyk(2.2%, 44.3%, 0%, 10.6%)
CIE-LABlab(66.88, 51.77, -35.82)
CIE-LCHlch(66.88, 62.95, 325.32°)
OKLaboklab(73.57% 0.1421 -0.0982)
OKLCHoklch(73.57% 0.173 325.3)
XYZxyz(52.0232, 36.4706, 77.6830)
Luminance0.3647 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF7FE4 #84E47F
analogous
#AD7FE4 #DF7FE4 #E47FB6
triadic
#DF7FE4 #E4DF7F #7FE4DF
tetradic
#DF7FE4 #E4AD7F #84E47F #7FB6E4
square
#DF7FE4 #E4AD7F #84E47F #7FB6E4
split-complementary
#DF7FE4 #B6E47F #7FE4AD
monochromatic
#B929C0 #D24CD9 #DF7FE4 #ECB2EF #F8E4F9

Accessibility & contrast

On white

2.53
#DF7FE4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.29
#DF7FE4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF7FE4
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF7FE4#FFFFFF#000000##000000
##DF7FE41.002.538.298.29
#FFFFFF2.531.0021.0021.00
#0000008.2921.001.001.00
##0000008.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#759BE8
Deuteranopia (green-blind)
#90A7E1
Tritanopia (blue-blind)
#E38AA7
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #df7fe4;
/* rgb */ color: rgb(223, 127, 228);
/* oklch */ color: oklch(73.6% 0.173 325.3);
Tailwind
colors: {
  custom: {
    50: '#eba7ed',
    500: '#df7fe4',
    950: '#000000',
  },
}
SCSS
$custom: #df7fe4;
$custom-light: #eba7ed;
$custom-dark: #000000;
JSON
{
  "hex": "#df7fe4",
  "rgb": {
    "r": 223,
    "g": 127,
    "b": 228
  },
  "hsl": {
    "h": 297.03,
    "s": 65.161,
    "l": 69.608
  },
  "oklch": {
    "l": 0.73567,
    "c": 0.17272,
    "h": 325.3
  },
  "luminance": 0.36468
}

Semantic roles & 50–950 ramp

primary
#DF7FE4
secondary
#D2EED1
accent
#CD1921
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#161016
muted
#847F84

Preview Lab

Preview with #DF7FE4

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

Preview Lab → · Contrast checker → · Palette generator →

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