#DF7FEA#DF7FEA

#DF7FEA is a light, vivid purple. Relative luminance 0.368; OKLCH L 73.8% C 0.178 H 323.3°. Best body text is #000000 at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#DF7FEA
RGBrgb(223, 127, 234)
HSLhsl(294, 72%, 71%)
HSVhsv(294, 46%, 92%)
CMYKcmyk(4.7%, 45.7%, 0%, 8.2%)
CIE-LABlab(67.13, 52.87, -38.74)
CIE-LCHlch(67.13, 65.54, 323.77°)
OKLaboklab(73.84% 0.1431 -0.1066)
OKLCHoklch(73.84% 0.178 323.3)
XYZxyz(52.8706, 36.8095, 82.1460)
Luminance0.3681 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF7FEA #8AEA7F
analogous
#A97FEA #DF7FEA #EA7FBF
triadic
#DF7FEA #EADF7F #7FEADF
tetradic
#DF7FEA #EAA97F #8AEA7F #7FBFEA
square
#DF7FEA #EAA97F #8AEA7F #7FBFEA
split-complementary
#DF7FEA #BFEA7F #7FEAA9
monochromatic
#BB22CD #D24AE1 #DF7FEA #ECB4F3 #F8E5FB

Accessibility & contrast

On white

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

On black

8.36
#DF7FEA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF7FEA
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF7FEA#FFFFFF#000000##000000
##DF7FEA1.002.518.368.36
#FFFFFF2.511.0021.0021.00
#0000008.3621.001.001.00
##0000008.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#729CEE
Deuteranopia (green-blind)
#8DA7E7
Tritanopia (blue-blind)
#E28CAA
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #df7fea;
/* rgb */ color: rgb(223, 127, 234);
/* oklch */ color: oklch(73.8% 0.178 323.3);
Tailwind
colors: {
  custom: {
    50: '#eba7f1',
    500: '#df7fea',
    950: '#000000',
  },
}
SCSS
$custom: #df7fea;
$custom-light: #eba7f1;
$custom-dark: #000000;
JSON
{
  "hex": "#df7fea",
  "rgb": {
    "r": 223,
    "g": 127,
    "b": 234
  },
  "hsl": {
    "h": 293.832,
    "s": 71.812,
    "l": 70.784
  },
  "oklch": {
    "l": 0.73841,
    "c": 0.17843,
    "h": 323.3
  },
  "luminance": 0.36807
}

Semantic roles & 50–950 ramp

primary
#DF7FEA
secondary
#D7F1D4
accent
#D41226
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#161017
muted
#847F85

Preview Lab

Preview with #DF7FEA

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

Preview Lab → · Contrast checker → · Palette generator →

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