#DF7EF1#DF7EF1

#DF7EF1 is a light, vivid purple. Relative luminance 0.370; OKLCH L 74.0% C 0.187 H 321.2°. Best body text is #000000 at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#DF7EF1
RGBrgb(223, 126, 241)
HSLhsl(291, 80%, 72%)
HSVhsv(291, 48%, 95%)
CMYKcmyk(7.5%, 47.7%, 0%, 5.5%)
CIE-LABlab(67.25, 54.69, -42.41)
CIE-LCHlch(67.25, 69.21, 322.21°)
OKLaboklab(74.03% 0.1456 -0.1171)
OKLCHoklch(74.03% 0.187 321.2)
XYZxyz(53.7676, 36.9627, 87.5043)
Luminance0.3696 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF7EF1 #90F17E
analogous
#A67EF1 #DF7EF1 #F17EC9
triadic
#DF7EF1 #F1DF7E #7EF1DF
tetradic
#DF7EF1 #F1A67E #90F17E #7EC9F1
square
#DF7EF1 #F1A67E #90F17E #7EC9F1
split-complementary
#DF7EF1 #C9F17E #7EF1A6
monochromatic
#BE18DD #D147EB #DF7EF1 #EDB5F7 #F8E3FC

Accessibility & contrast

On white

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

On black

8.39
#DF7EF1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF7EF1
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF7EF1#FFFFFF#000000##000000
##DF7EF11.002.508.398.39
#FFFFFF2.501.0021.0021.00
#0000008.3921.001.001.00
##0000008.3921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #df7ef1;
/* rgb */ color: rgb(223, 126, 241);
/* oklch */ color: oklch(74.0% 0.187 321.2);
Tailwind
colors: {
  custom: {
    50: '#eba6f6',
    500: '#df7ef1',
    950: '#000000',
  },
}
SCSS
$custom: #df7ef1;
$custom-light: #eba6f6;
$custom-dark: #000000;
JSON
{
  "hex": "#df7ef1",
  "rgb": {
    "r": 223,
    "g": 126,
    "b": 241
  },
  "hsl": {
    "h": 290.609,
    "s": 80.42,
    "l": 71.961
  },
  "oklch": {
    "l": 0.74028,
    "c": 0.18684,
    "h": 321.2
  },
  "luminance": 0.36961
}

Semantic roles & 50–950 ramp

primary
#DF7EF1
secondary
#DCF4D7
accent
#DD092A
background
#FEFAFF
surface
#FDF4FE
border
#D5CED6
text
#161017
muted
#847F85

Preview Lab

Preview with #DF7EF1

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

Preview Lab → · Contrast checker → · Palette generator →

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