#DF7EFC#DF7EFC

#DF7EFC is a light, vivid purple. Relative luminance 0.376; OKLCH L 74.6% C 0.198 H 318.0°. Best body text is #000000 at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#DF7EFC
RGBrgb(223, 126, 252)
HSLhsl(286, 95%, 74%)
HSVhsv(286, 50%, 99%)
CMYKcmyk(11.5%, 50%, 0%, 1.2%)
CIE-LABlab(67.75, 56.81, -47.65)
CIE-LCHlch(67.75, 74.15, 320.01°)
OKLaboklab(74.57% 0.147 -0.1323)
OKLCHoklch(74.57% 0.198 318)
XYZxyz(55.4605, 37.6399, 96.4204)
Luminance0.3764 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF7EFC #9BFC7E
analogous
#A07EFC #DF7EFC #FC7EDA
triadic
#DF7EFC #FCDF7E #7EFCDF
tetradic
#DF7EFC #FCA07E #9BFC7E #7EDAFC
square
#DF7EFC #FCA07E #9BFC7E #7EDAFC
split-complementary
#DF7EFC #DAFC7E #7EFCA0
monochromatic
#C106F9 #D042FB #DF7EFC #EEBAFD #F8E1FE

Accessibility & contrast

On white

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

On black

8.53
#DF7EFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF7EFC
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF7EFC#FFFFFF#000000##000000
##DF7EFC1.002.468.538.53
#FFFFFF2.461.0021.0021.00
#0000008.5321.001.001.00
##0000008.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#669FFF
Deuteranopia (green-blind)
#83A8F9
Tritanopia (blue-blind)
#DF90B2
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #df7efc;
/* rgb */ color: rgb(223, 126, 252);
/* oklch */ color: oklch(74.6% 0.198 318.0);
Tailwind
colors: {
  custom: {
    50: '#eba6fe',
    500: '#df7efc',
    950: '#000000',
  },
}
SCSS
$custom: #df7efc;
$custom-light: #eba6fe;
$custom-dark: #000000;
JSON
{
  "hex": "#df7efc",
  "rgb": {
    "r": 223,
    "g": 126,
    "b": 252
  },
  "hsl": {
    "h": 286.19,
    "s": 95.455,
    "l": 74.118
  },
  "oklch": {
    "l": 0.74567,
    "c": 0.19774,
    "h": 318
  },
  "luminance": 0.37638
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DF7EFC

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

Preview Lab → · Contrast checker → · Palette generator →

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