#DF7AFE#DF7AFE

#DF7AFE is a light, highly saturated purple. Relative luminance 0.368; OKLCH L 74.1% C 0.206 H 317.8°. Best body text is #000000 at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#DF7AFE
RGBrgb(223, 122, 254)
HSLhsl(286, 99%, 74%)
HSVhsv(286, 52%, 100%)
CMYKcmyk(12.2%, 52%, 0%, 0.4%)
CIE-LABlab(67.10, 59.17, -49.78)
CIE-LCHlch(67.10, 77.32, 319.92°)
OKLaboklab(74.11% 0.1524 -0.1384)
OKLCHoklch(74.11% 0.206 317.8)
XYZxyz(55.2779, 36.7648, 97.9312)
Luminance0.3676 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF7AFE #99FE7A
analogous
#9D7AFE #DF7AFE #FE7ADB
triadic
#DF7AFE #FEDF7A #7AFEDF
tetradic
#DF7AFE #FE9D7A #99FE7A #7ADBFE
square
#DF7AFE #FE9D7A #99FE7A #7ADBFE
split-complementary
#DF7AFE #DBFE7A #7AFE9D
monochromatic
#C102FC #D03DFE #DF7AFE #EEB7FE #F8E1FF

Accessibility & contrast

On white

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

On black

8.35
#DF7AFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF7AFE
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF7AFE#FFFFFF#000000##000000
##DF7AFE1.002.518.358.35
#FFFFFF2.511.0021.0021.00
#0000008.3521.001.001.00
##0000008.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F9DFF
Deuteranopia (green-blind)
#7FA7FA
Tritanopia (blue-blind)
#DF8EB1
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #df7afe;
/* rgb */ color: rgb(223, 122, 254);
/* oklch */ color: oklch(74.1% 0.206 317.8);
Tailwind
colors: {
  custom: {
    50: '#eba4ff',
    500: '#df7afe',
    950: '#000000',
  },
}
SCSS
$custom: #df7afe;
$custom-light: #eba4ff;
$custom-dark: #000000;
JSON
{
  "hex": "#df7afe",
  "rgb": {
    "r": 223,
    "g": 122,
    "b": 254
  },
  "hsl": {
    "h": 285.909,
    "s": 98.507,
    "l": 73.725
  },
  "oklch": {
    "l": 0.74115,
    "c": 0.2059,
    "h": 317.8
  },
  "luminance": 0.36763
}

Semantic roles & 50–950 ramp

primary
#DF7AFE
secondary
#DCF7D4
accent
#E60036
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#170F18
muted
#857F86

Preview Lab

Preview with #DF7AFE

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

Preview Lab → · Contrast checker → · Palette generator →

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