#DF7EF3#DF7EF3

#DF7EF3 is a light, vivid purple. Relative luminance 0.371; OKLCH L 74.1% C 0.189 H 320.6°. Best body text is #000000 at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#DF7EF3
RGBrgb(223, 126, 243)
HSLhsl(290, 83%, 72%)
HSVhsv(290, 48%, 95%)
CMYKcmyk(8.2%, 48.1%, 0%, 4.7%)
CIE-LABlab(67.34, 55.07, -43.37)
CIE-LCHlch(67.34, 70.10, 321.78°)
OKLaboklab(74.12% 0.1458 -0.1199)
OKLCHoklch(74.12% 0.189 320.6)
XYZxyz(54.0680, 37.0829, 89.0863)
Luminance0.3708 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF7EF3 #92F37E
analogous
#A57EF3 #DF7EF3 #F37ECC
triadic
#DF7EF3 #F3DF7E #7EF3DF
tetradic
#DF7EF3 #F3A57E #92F37E #7ECCF3
square
#DF7EF3 #F3A57E #92F37E #7ECCF3
split-complementary
#DF7EF3 #CCF37E #7EF3A5
monochromatic
#BF15E2 #D146EE #DF7EF3 #EDB6F8 #F8E3FC

Accessibility & contrast

On white

2.50
#DF7EF3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.42
#DF7EF3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF7EF3
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF7EF3#FFFFFF#000000##000000
##DF7EF31.002.508.428.42
#FFFFFF2.501.0021.0021.00
#0000008.4221.001.001.00
##0000008.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B9DF7
Deuteranopia (green-blind)
#88A8F0
Tritanopia (blue-blind)
#E18EAD
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #df7ef3;
/* rgb */ color: rgb(223, 126, 243);
/* oklch */ color: oklch(74.1% 0.189 320.6);
Tailwind
colors: {
  custom: {
    50: '#eba6f7',
    500: '#df7ef3',
    950: '#000000',
  },
}
SCSS
$custom: #df7ef3;
$custom-light: #eba6f7;
$custom-dark: #000000;
JSON
{
  "hex": "#df7ef3",
  "rgb": {
    "r": 223,
    "g": 126,
    "b": 243
  },
  "hsl": {
    "h": 289.744,
    "s": 82.979,
    "l": 72.353
  },
  "oklch": {
    "l": 0.74124,
    "c": 0.1888,
    "h": 320.6
  },
  "luminance": 0.37081
}

Semantic roles & 50–950 ramp

primary
#DF7EF3
secondary
#DCF4D7
accent
#DF062B
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#161017
muted
#847F85

Preview Lab

Preview with #DF7EF3

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

Preview Lab → · Contrast checker → · Palette generator →

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