#DF7EFE#DF7EFE

#DF7EFE is a light, vivid purple. Relative luminance 0.378; OKLCH L 74.7% C 0.200 H 317.5°. Best body text is #000000 at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#DF7EFE
RGBrgb(223, 126, 254)
HSLhsl(285, 98%, 75%)
HSVhsv(285, 50%, 100%)
CMYKcmyk(12.2%, 50.4%, 0%, 0.4%)
CIE-LABlab(67.85, 57.20, -48.60)
CIE-LCHlch(67.85, 75.06, 319.65°)
OKLaboklab(74.67% 0.1472 -0.135)
OKLCHoklch(74.67% 0.2 317.5)
XYZxyz(55.7791, 37.7673, 98.0983)
Luminance0.3776 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF7EFE #9DFE7E
analogous
#9F7EFE #DF7EFE #FE7EDD
triadic
#DF7EFE #FEDF7E #7EFEDF
tetradic
#DF7EFE #FE9F7E #9DFE7E #7EDDFE
square
#DF7EFE #FE9F7E #9DFE7E #7EDDFE
split-complementary
#DF7EFE #DDFE7E #7EFE9F
monochromatic
#C105FD #D041FE #DF7EFE #EEBBFE #F7E1FF

Accessibility & contrast

On white

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

On black

8.55
#DF7EFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF7EFE
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF7EFE#FFFFFF#000000##000000
##DF7EFE1.002.468.558.55
#FFFFFF2.461.0021.0021.00
#0000008.5521.001.001.00
##0000008.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#659FFF
Deuteranopia (green-blind)
#82A8FB
Tritanopia (blue-blind)
#DE91B3
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #df7efe;
/* rgb */ color: rgb(223, 126, 254);
/* oklch */ color: oklch(74.7% 0.200 317.5);
Tailwind
colors: {
  custom: {
    50: '#eba6ff',
    500: '#df7efe',
    950: '#000000',
  },
}
SCSS
$custom: #df7efe;
$custom-light: #eba6ff;
$custom-dark: #000000;
JSON
{
  "hex": "#df7efe",
  "rgb": {
    "r": 223,
    "g": 126,
    "b": 254
  },
  "hsl": {
    "h": 285.469,
    "s": 98.462,
    "l": 74.51
  },
  "oklch": {
    "l": 0.74667,
    "c": 0.19975,
    "h": 317.5
  },
  "luminance": 0.37765
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DF7EFE

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

Preview Lab → · Contrast checker → · Palette generator →

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