#DF7FE7#DF7FE7

#DF7FE7 is a light, vivid purple. Relative luminance 0.366; OKLCH L 73.7% C 0.176 H 324.3°. Best body text is #000000 at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#DF7FE7
RGBrgb(223, 127, 231)
HSLhsl(295, 68%, 70%)
HSVhsv(295, 45%, 91%)
CMYKcmyk(3.5%, 45%, 0%, 9.4%)
CIE-LABlab(67.00, 52.32, -37.28)
CIE-LCHlch(67.00, 64.24, 324.53°)
OKLaboklab(73.7% 0.1426 -0.1024)
OKLCHoklch(73.7% 0.176 324.3)
XYZxyz(52.4433, 36.6386, 79.8954)
Luminance0.3664 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF7FE7 #87E77F
analogous
#AB7FE7 #DF7FE7 #E77FBB
triadic
#DF7FE7 #E7DF7F #7FE7DF
tetradic
#DF7FE7 #E7AB7F #87E77F #7FBBE7
square
#DF7FE7 #E7AB7F #87E77F #7FBBE7
split-complementary
#DF7FE7 #BBE77F #7FE7AB
monochromatic
#BA25C6 #D24BDD #DF7FE7 #ECB3F1 #F9E5FA

Accessibility & contrast

On white

2.52
#DF7FE7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.33
#DF7FE7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF7FE7
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF7FE7#FFFFFF#000000##000000
##DF7FE71.002.528.338.33
#FFFFFF2.521.0021.0021.00
#0000008.3321.001.001.00
##0000008.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#739CEB
Deuteranopia (green-blind)
#8EA7E4
Tritanopia (blue-blind)
#E38BA8
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #df7fe7;
/* rgb */ color: rgb(223, 127, 231);
/* oklch */ color: oklch(73.7% 0.176 324.3);
Tailwind
colors: {
  custom: {
    50: '#eba7ef',
    500: '#df7fe7',
    950: '#000000',
  },
}
SCSS
$custom: #df7fe7;
$custom-light: #eba7ef;
$custom-dark: #000000;
JSON
{
  "hex": "#df7fe7",
  "rgb": {
    "r": 223,
    "g": 127,
    "b": 231
  },
  "hsl": {
    "h": 295.385,
    "s": 68.421,
    "l": 70.196
  },
  "oklch": {
    "l": 0.73703,
    "c": 0.17556,
    "h": 324.3
  },
  "luminance": 0.36636
}

Semantic roles & 50–950 ramp

primary
#DF7FE7
secondary
#D5EFD2
accent
#D01524
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#161016
muted
#847F84

Preview Lab

Preview with #DF7FE7

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

Preview Lab → · Contrast checker → · Palette generator →

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