#DF7EFD#DF7EFD

#DF7EFD is a light, vivid purple. Relative luminance 0.377; OKLCH L 74.6% C 0.199 H 317.7°. Best body text is #000000 at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#DF7EFD
RGBrgb(223, 126, 253)
HSLhsl(286, 97%, 74%)
HSVhsv(286, 50%, 99%)
CMYKcmyk(11.9%, 50.2%, 0%, 0.8%)
CIE-LABlab(67.80, 57.00, -48.13)
CIE-LCHlch(67.80, 74.60, 319.83°)
OKLaboklab(74.62% 0.1471 -0.1336)
OKLCHoklch(74.62% 0.199 317.7)
XYZxyz(55.6194, 37.7035, 97.2571)
Luminance0.3770 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF7EFD #9CFD7E
analogous
#A07EFD #DF7EFD #FD7EDC
triadic
#DF7EFD #FDDF7E #7EFDDF
tetradic
#DF7EFD #FDA07E #9CFD7E #7EDCFD
square
#DF7EFD #FDA07E #9CFD7E #7EDCFD
split-complementary
#DF7EFD #DCFD7E #7EFDA0
monochromatic
#C105FB #D042FC #DF7EFD #EEBAFE #F8E1FF

Accessibility & contrast

On white

2.46
#DF7EFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.54
#DF7EFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF7EFD
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF7EFD#FFFFFF#000000##000000
##DF7EFD1.002.468.548.54
#FFFFFF2.461.0021.0021.00
#0000008.5421.001.001.00
##0000008.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#659FFF
Deuteranopia (green-blind)
#83A8FA
Tritanopia (blue-blind)
#DF91B2
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #df7efd;
/* rgb */ color: rgb(223, 126, 253);
/* oklch */ color: oklch(74.6% 0.199 317.7);
Tailwind
colors: {
  custom: {
    50: '#eba6fe',
    500: '#df7efd',
    950: '#000000',
  },
}
SCSS
$custom: #df7efd;
$custom-light: #eba6fe;
$custom-dark: #000000;
JSON
{
  "hex": "#df7efd",
  "rgb": {
    "r": 223,
    "g": 126,
    "b": 253
  },
  "hsl": {
    "h": 285.827,
    "s": 96.947,
    "l": 74.314
  },
  "oklch": {
    "l": 0.74617,
    "c": 0.19874,
    "h": 317.7
  },
  "luminance": 0.37702
}

Semantic roles & 50–950 ramp

primary
#DF7EFD
secondary
#DCF7D4
accent
#E60036
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#161018
muted
#847F86

Preview Lab

Preview with #DF7EFD

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

Preview Lab → · Contrast checker → · Palette generator →

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