#DF7EF5#DF7EF5

#DF7EF5 is a light, vivid purple. Relative luminance 0.372; OKLCH L 74.2% C 0.191 H 320.0°. Best body text is #000000 at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#DF7EF5
RGBrgb(223, 126, 245)
HSLhsl(289, 86%, 73%)
HSVhsv(289, 49%, 96%)
CMYKcmyk(9%, 48.6%, 0%, 3.9%)
CIE-LABlab(67.43, 55.45, -44.33)
CIE-LCHlch(67.43, 70.99, 321.36°)
OKLaboklab(74.22% 0.1461 -0.1227)
OKLCHoklch(74.22% 0.191 320)
XYZxyz(54.3717, 37.2044, 90.6856)
Luminance0.3720 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF7EF5 #94F57E
analogous
#A47EF5 #DF7EF5 #F57ECF
triadic
#DF7EF5 #F5DF7E #7EF5DF
tetradic
#DF7EF5 #F5A47E #94F57E #7ECFF5
square
#DF7EF5 #F5A47E #94F57E #7ECFF5
split-complementary
#DF7EF5 #CFF57E #7EF5A4
monochromatic
#BF12E7 #D145F1 #DF7EF5 #EDB7F9 #F8E3FD

Accessibility & contrast

On white

2.49
#DF7EF5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.44
#DF7EF5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF7EF5
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF7EF5#FFFFFF#000000##000000
##DF7EF51.002.498.448.44
#FFFFFF2.491.0021.0021.00
#0000008.4421.001.001.00
##0000008.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A9DF9
Deuteranopia (green-blind)
#87A8F2
Tritanopia (blue-blind)
#E08EAE
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #df7ef5;
/* rgb */ color: rgb(223, 126, 245);
/* oklch */ color: oklch(74.2% 0.191 320.0);
Tailwind
colors: {
  custom: {
    50: '#eba6f9',
    500: '#df7ef5',
    950: '#000000',
  },
}
SCSS
$custom: #df7ef5;
$custom-light: #eba6f9;
$custom-dark: #000000;
JSON
{
  "hex": "#df7ef5",
  "rgb": {
    "r": 223,
    "g": 126,
    "b": 245
  },
  "hsl": {
    "h": 288.908,
    "s": 85.612,
    "l": 72.745
  },
  "oklch": {
    "l": 0.74221,
    "c": 0.19077,
    "h": 320
  },
  "luminance": 0.37202
}

Semantic roles & 50–950 ramp

primary
#DF7EF5
secondary
#DCF5D6
accent
#E2032D
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#161017
muted
#847F85

Preview Lab

Preview with #DF7EF5

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

Preview Lab → · Contrast checker → · Palette generator →

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