#DF7AFF#DF7AFF

#DF7AFF is a light, highly saturated purple. Relative luminance 0.368; OKLCH L 74.2% C 0.207 H 317.5°. Best body text is #000000 at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#DF7AFF
RGBrgb(223, 122, 255)
HSLhsl(286, 100%, 74%)
HSVhsv(286, 52%, 100%)
CMYKcmyk(12.5%, 52.2%, 0%, 0%)
CIE-LABlab(67.15, 59.36, -50.25)
CIE-LCHlch(67.15, 77.78, 319.75°)
OKLaboklab(74.17% 0.1525 -0.1398)
OKLCHoklch(74.17% 0.207 317.5)
XYZxyz(55.4384, 36.8290, 98.7768)
Luminance0.3683 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF7AFF #9AFF7A
analogous
#9D7AFF #DF7AFF #FF7ADD
triadic
#DF7AFF #FFDF7A #7AFFDF
tetradic
#DF7AFF #FF9D7A #9AFF7A #7ADDFF
square
#DF7AFF #FF9D7A #9AFF7A #7ADDFF
split-complementary
#DF7AFF #DDFF7A #7AFF9D
monochromatic
#C100FF #D03DFF #DF7AFF #EEB7FF #F8E0FF

Accessibility & contrast

On white

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

On black

8.37
#DF7AFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF7AFF
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF7AFF#FFFFFF#000000##000000
##DF7AFF1.002.518.378.37
#FFFFFF2.511.0021.0021.00
#0000008.3721.001.001.00
##0000008.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E9DFF
Deuteranopia (green-blind)
#7FA7FB
Tritanopia (blue-blind)
#DE8EB1
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #df7aff;
/* rgb */ color: rgb(223, 122, 255);
/* oklch */ color: oklch(74.2% 0.207 317.5);
Tailwind
colors: {
  custom: {
    50: '#eba4ff',
    500: '#df7aff',
    950: '#000000',
  },
}
SCSS
$custom: #df7aff;
$custom-light: #eba4ff;
$custom-dark: #000000;
JSON
{
  "hex": "#df7aff",
  "rgb": {
    "r": 223,
    "g": 122,
    "b": 255
  },
  "hsl": {
    "h": 285.564,
    "s": 100,
    "l": 73.922
  },
  "oklch": {
    "l": 0.74166,
    "c": 0.20688,
    "h": 317.5
  },
  "luminance": 0.36827
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DF7AFF

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

Preview Lab → · Contrast checker → · Palette generator →

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