#DF7FE8#DF7FE8

#DF7FE8 is a light, vivid purple. Relative luminance 0.367; OKLCH L 73.7% C 0.177 H 324.0°. Best body text is #000000 at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#DF7FE8
RGBrgb(223, 127, 232)
HSLhsl(295, 70%, 70%)
HSVhsv(295, 45%, 91%)
CMYKcmyk(3.9%, 45.3%, 0%, 9%)
CIE-LABlab(67.05, 52.50, -37.77)
CIE-LCHlch(67.05, 64.67, 324.27°)
OKLaboklab(73.75% 0.1428 -0.1038)
OKLCHoklch(73.75% 0.177 324)
XYZxyz(52.5849, 36.6953, 80.6413)
Luminance0.3669 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF7FE8 #88E87F
analogous
#AA7FE8 #DF7FE8 #E87FBC
triadic
#DF7FE8 #E8DF7F #7FE8DF
tetradic
#DF7FE8 #E8AA7F #88E87F #7FBCE8
square
#DF7FE8 #E8AA7F #88E87F #7FBCE8
split-complementary
#DF7FE8 #BCE87F #7FE8AA
monochromatic
#BA24C9 #D24BDF #DF7FE8 #ECB3F1 #F9E5FA

Accessibility & contrast

On white

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

On black

8.34
#DF7FE8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF7FE8
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF7FE8#FFFFFF#000000##000000
##DF7FE81.002.528.348.34
#FFFFFF2.521.0021.0021.00
#0000008.3421.001.001.00
##0000008.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#739CEC
Deuteranopia (green-blind)
#8EA7E5
Tritanopia (blue-blind)
#E38BA9
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #df7fe8;
/* rgb */ color: rgb(223, 127, 232);
/* oklch */ color: oklch(73.7% 0.177 324.0);
Tailwind
colors: {
  custom: {
    50: '#eba7ef',
    500: '#df7fe8',
    950: '#000000',
  },
}
SCSS
$custom: #df7fe8;
$custom-light: #eba7ef;
$custom-dark: #000000;
JSON
{
  "hex": "#df7fe8",
  "rgb": {
    "r": 223,
    "g": 127,
    "b": 232
  },
  "hsl": {
    "h": 294.857,
    "s": 69.536,
    "l": 70.392
  },
  "oklch": {
    "l": 0.73749,
    "c": 0.17651,
    "h": 324
  },
  "luminance": 0.36693
}

Semantic roles & 50–950 ramp

primary
#DF7FE8
secondary
#D5F0D3
accent
#D21424
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#161016
muted
#847F84

Preview Lab

Preview with #DF7FE8

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

Preview Lab → · Contrast checker → · Palette generator →

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