#DF7AFD#DF7AFD

#DF7AFD is a light, highly saturated purple. Relative luminance 0.367; OKLCH L 74.1% C 0.205 H 318.0°. Best body text is #000000 at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#DF7AFD
RGBrgb(223, 122, 253)
HSLhsl(286, 97%, 74%)
HSVhsv(286, 52%, 99%)
CMYKcmyk(11.9%, 51.8%, 0%, 0.8%)
CIE-LABlab(67.05, 58.97, -49.31)
CIE-LCHlch(67.05, 76.87, 320.10°)
OKLaboklab(74.06% 0.1523 -0.137)
OKLCHoklch(74.06% 0.205 318)
XYZxyz(55.1181, 36.7009, 97.0900)
Luminance0.3670 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF7AFD #98FD7A
analogous
#9D7AFD #DF7AFD #FD7AD9
triadic
#DF7AFD #FDDF7A #7AFDDF
tetradic
#DF7AFD #FD9D7A #98FD7A #7AD9FD
square
#DF7AFD #FD9D7A #98FD7A #7AD9FD
split-complementary
#DF7AFD #D9FD7A #7AFD9D
monochromatic
#C104F9 #D03EFC #DF7AFD #EEB6FE #F8E1FF

Accessibility & contrast

On white

2.52
#DF7AFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.34
#DF7AFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF7AFD
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF7AFD#FFFFFF#000000##000000
##DF7AFD1.002.528.348.34
#FFFFFF2.521.0021.0021.00
#0000008.3421.001.001.00
##0000008.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#609DFF
Deuteranopia (green-blind)
#80A7F9
Tritanopia (blue-blind)
#DF8DB0
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #df7afd;
/* rgb */ color: rgb(223, 122, 253);
/* oklch */ color: oklch(74.1% 0.205 318.0);
Tailwind
colors: {
  custom: {
    50: '#eba4fe',
    500: '#df7afd',
    950: '#000000',
  },
}
SCSS
$custom: #df7afd;
$custom-light: #eba4fe;
$custom-dark: #000000;
JSON
{
  "hex": "#df7afd",
  "rgb": {
    "r": 223,
    "g": 122,
    "b": 253
  },
  "hsl": {
    "h": 286.26,
    "s": 97.037,
    "l": 73.529
  },
  "oklch": {
    "l": 0.74064,
    "c": 0.20491,
    "h": 318
  },
  "luminance": 0.36699
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DF7AFD

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

Preview Lab → · Contrast checker → · Palette generator →

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