#DF7FEC#DF7FEC

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

Color values

HEX#DF7FEC
RGBrgb(223, 127, 236)
HSLhsl(293, 74%, 71%)
HSVhsv(293, 46%, 93%)
CMYKcmyk(5.5%, 46.2%, 0%, 7.5%)
CIE-LABlab(67.22, 53.25, -39.70)
CIE-LCHlch(67.22, 66.42, 323.29°)
OKLaboklab(73.93% 0.1434 -0.1093)
OKLCHoklch(73.93% 0.18 322.7)
XYZxyz(53.1595, 36.9251, 83.6677)
Luminance0.3692 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF7FEC #8CEC7F
analogous
#A87FEC #DF7FEC #EC7FC2
triadic
#DF7FEC #ECDF7F #7FECDF
tetradic
#DF7FEC #ECA87F #8CEC7F #7FC2EC
square
#DF7FEC #ECA87F #8CEC7F #7FC2EC
split-complementary
#DF7FEC #C2EC7F #7FECA8
monochromatic
#BC1FD2 #D24AE4 #DF7FEC #ECB4F4 #F8E4FB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DF7FEC#FFFFFF#000000##000000
##DF7FEC1.002.508.388.38
#FFFFFF2.501.0021.0021.00
#0000008.3821.001.001.00
##0000008.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#719CF0
Deuteranopia (green-blind)
#8CA8E9
Tritanopia (blue-blind)
#E28CAB
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #df7fec;
/* rgb */ color: rgb(223, 127, 236);
/* oklch */ color: oklch(73.9% 0.180 322.7);
Tailwind
colors: {
  custom: {
    50: '#eba7f2',
    500: '#df7fec',
    950: '#000000',
  },
}
SCSS
$custom: #df7fec;
$custom-light: #eba7f2;
$custom-dark: #000000;
JSON
{
  "hex": "#df7fec",
  "rgb": {
    "r": 223,
    "g": 127,
    "b": 236
  },
  "hsl": {
    "h": 292.844,
    "s": 74.15,
    "l": 71.176
  },
  "oklch": {
    "l": 0.73934,
    "c": 0.18036,
    "h": 322.7
  },
  "luminance": 0.36923
}

Semantic roles & 50–950 ramp

primary
#DF7FEC
secondary
#D8F2D5
accent
#D60F27
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#161017
muted
#847F85

Preview Lab

Preview with #DF7FEC

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

Preview Lab → · Contrast checker → · Palette generator →

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