#DF7EF6#DF7EF6

#DF7EF6 is a light, vivid purple. Relative luminance 0.373; OKLCH L 74.3% C 0.192 H 319.7°. Best body text is #000000 at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#DF7EF6
RGBrgb(223, 126, 246)
HSLhsl(289, 87%, 73%)
HSVhsv(289, 49%, 96%)
CMYKcmyk(9.3%, 48.8%, 0%, 3.5%)
CIE-LABlab(67.48, 55.64, -44.80)
CIE-LCHlch(67.48, 71.44, 321.16°)
OKLaboklab(74.27% 0.1463 -0.124)
OKLCHoklch(74.27% 0.192 319.7)
XYZxyz(54.5247, 37.2656, 91.4918)
Luminance0.3726 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF7EF6 #95F67E
analogous
#A37EF6 #DF7EF6 #F67ED1
triadic
#DF7EF6 #F6DF7E #7EF6DF
tetradic
#DF7EF6 #F6A37E #95F67E #7ED1F6
square
#DF7EF6 #F6A37E #95F67E #7ED1F6
split-complementary
#DF7EF6 #D1F67E #7EF6A3
monochromatic
#C010E9 #D145F2 #DF7EF6 #EDB7FA #F8E2FD

Accessibility & contrast

On white

2.48
#DF7EF6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.45
#DF7EF6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF7EF6
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF7EF6#FFFFFF#000000##000000
##DF7EF61.002.488.458.45
#FFFFFF2.481.0021.0021.00
#0000008.4521.001.001.00
##0000008.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A9EFA
Deuteranopia (green-blind)
#87A8F3
Tritanopia (blue-blind)
#E08EAF
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #df7ef6;
/* rgb */ color: rgb(223, 126, 246);
/* oklch */ color: oklch(74.3% 0.192 319.7);
Tailwind
colors: {
  custom: {
    50: '#eba6f9',
    500: '#df7ef6',
    950: '#000000',
  },
}
SCSS
$custom: #df7ef6;
$custom-light: #eba6f9;
$custom-dark: #000000;
JSON
{
  "hex": "#df7ef6",
  "rgb": {
    "r": 223,
    "g": 126,
    "b": 246
  },
  "hsl": {
    "h": 288.5,
    "s": 86.957,
    "l": 72.941
  },
  "oklch": {
    "l": 0.7427,
    "c": 0.19177,
    "h": 319.7
  },
  "luminance": 0.37264
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DF7EF6

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

Preview Lab → · Contrast checker → · Palette generator →

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