#DF7EF0#DF7EF0

#DF7EF0 is a light, vivid purple. Relative luminance 0.369; OKLCH L 74.0% C 0.186 H 321.5°. Best body text is #000000 at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#DF7EF0
RGBrgb(223, 126, 240)
HSLhsl(291, 79%, 72%)
HSVhsv(291, 48%, 94%)
CMYKcmyk(7.1%, 47.5%, 0%, 5.9%)
CIE-LABlab(67.20, 54.50, -41.93)
CIE-LCHlch(67.20, 68.76, 322.42°)
OKLaboklab(73.98% 0.1454 -0.1158)
OKLCHoklch(73.98% 0.186 321.5)
XYZxyz(53.6187, 36.9032, 86.7198)
Luminance0.3690 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF7EF0 #8FF07E
analogous
#A67EF0 #DF7EF0 #F07EC8
triadic
#DF7EF0 #F0DF7E #7EF0DF
tetradic
#DF7EF0 #F0A67E #8FF07E #7EC8F0
square
#DF7EF0 #F0A67E #8FF07E #7EC8F0
split-complementary
#DF7EF0 #C8F07E #7EF0A6
monochromatic
#BD19DA #D147EA #DF7EF0 #EDB5F6 #F8E4FC

Accessibility & contrast

On white

2.51
#DF7EF0 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.38
#DF7EF0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF7EF0
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF7EF0#FFFFFF#000000##000000
##DF7EF01.002.518.388.38
#FFFFFF2.511.0021.0021.00
#0000008.3821.001.001.00
##0000008.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D9DF4
Deuteranopia (green-blind)
#89A7ED
Tritanopia (blue-blind)
#E18DAC
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #df7ef0;
/* rgb */ color: rgb(223, 126, 240);
/* oklch */ color: oklch(74.0% 0.186 321.5);
Tailwind
colors: {
  custom: {
    50: '#eba6f5',
    500: '#df7ef0',
    950: '#000000',
  },
}
SCSS
$custom: #df7ef0;
$custom-light: #eba6f5;
$custom-dark: #000000;
JSON
{
  "hex": "#df7ef0",
  "rgb": {
    "r": 223,
    "g": 126,
    "b": 240
  },
  "hsl": {
    "h": 291.053,
    "s": 79.167,
    "l": 71.765
  },
  "oklch": {
    "l": 0.7398,
    "c": 0.18587,
    "h": 321.5
  },
  "luminance": 0.36901
}

Semantic roles & 50–950 ramp

primary
#DF7EF0
secondary
#DBF3D6
accent
#DB0A29
background
#FEFAFF
surface
#FDF4FE
border
#D5CED6
text
#161017
muted
#847F85

Preview Lab

Preview with #DF7EF0

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

Preview Lab → · Contrast checker → · Palette generator →

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