#DF7FEF#DF7FEF

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

Color values

HEX#DF7FEF
RGBrgb(223, 127, 239)
HSLhsl(291, 78%, 72%)
HSVhsv(291, 47%, 94%)
CMYKcmyk(6.7%, 46.9%, 0%, 6.3%)
CIE-LABlab(67.35, 53.81, -41.15)
CIE-LCHlch(67.35, 67.74, 322.59°)
OKLaboklab(74.08% 0.1439 -0.1135)
OKLCHoklch(74.08% 0.183 321.7)
XYZxyz(53.5990, 37.1009, 85.9825)
Luminance0.3710 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF7FEF #8FEF7F
analogous
#A77FEF #DF7FEF #EF7FC7
triadic
#DF7FEF #EFDF7F #7FEFDF
tetradic
#DF7FEF #EFA77F #8FEF7F #7FC7EF
square
#DF7FEF #EFA77F #8FEF7F #7FC7EF
split-complementary
#DF7FEF #C7EF7F #7FEFA7
monochromatic
#BD1BD9 #D149E8 #DF7FEF #EDB5F6 #F8E4FC

Accessibility & contrast

On white

2.49
#DF7FEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##DF7FEF#FFFFFF#000000##000000
##DF7FEF1.002.498.428.42
#FFFFFF2.491.0021.0021.00
#0000008.4221.001.001.00
##0000008.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F9DF3
Deuteranopia (green-blind)
#8BA8EC
Tritanopia (blue-blind)
#E18DAC
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #df7fef;
/* rgb */ color: rgb(223, 127, 239);
/* oklch */ color: oklch(74.1% 0.183 321.7);
Tailwind
colors: {
  custom: {
    50: '#eba7f4',
    500: '#df7fef',
    950: '#000000',
  },
}
SCSS
$custom: #df7fef;
$custom-light: #eba7f4;
$custom-dark: #000000;
JSON
{
  "hex": "#df7fef",
  "rgb": {
    "r": 223,
    "g": 127,
    "b": 239
  },
  "hsl": {
    "h": 291.429,
    "s": 77.778,
    "l": 71.765
  },
  "oklch": {
    "l": 0.74076,
    "c": 0.18328,
    "h": 321.7
  },
  "luminance": 0.37099
}

Semantic roles & 50–950 ramp

primary
#DF7FEF
secondary
#DBF3D7
accent
#DA0B29
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#161017
muted
#847F85

Preview Lab

Preview with #DF7FEF

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

Preview Lab → · Contrast checker → · Palette generator →

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