#DF7AFA#DF7AFA

#DF7AFA is a light, highly saturated purple. Relative luminance 0.365; OKLCH L 73.9% C 0.202 H 318.8°. Best body text is #000000 at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#DF7AFA
RGBrgb(223, 122, 250)
HSLhsl(287, 93%, 73%)
HSVhsv(287, 51%, 98%)
CMYKcmyk(10.8%, 51.2%, 0%, 2%)
CIE-LABlab(66.91, 58.39, -47.89)
CIE-LCHlch(66.91, 75.52, 320.64°)
OKLaboklab(73.91% 0.152 -0.1329)
OKLCHoklch(73.91% 0.202 318.8)
XYZxyz(54.6440, 36.5112, 94.5929)
Luminance0.3651 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF7AFA #95FA7A
analogous
#9F7AFA #DF7AFA #FA7AD5
triadic
#DF7AFA #FADF7A #7AFADF
tetradic
#DF7AFA #FA9F7A #95FA7A #7AD5FA
square
#DF7AFA #FA9F7A #95FA7A #7AD5FA
split-complementary
#DF7AFA #D5FA7A #7AFA9F
monochromatic
#C009F1 #D13FF8 #DF7AFA #EDB5FC #F8E2FE

Accessibility & contrast

On white

2.53
#DF7AFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.30
#DF7AFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF7AFA
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF7AFA#FFFFFF#000000##000000
##DF7AFA1.002.538.308.30
#FFFFFF2.531.0021.0021.00
#0000008.3021.001.001.00
##0000008.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#629CFE
Deuteranopia (green-blind)
#81A6F7
Tritanopia (blue-blind)
#DF8DAF
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #df7afa;
/* rgb */ color: rgb(223, 122, 250);
/* oklch */ color: oklch(73.9% 0.202 318.8);
Tailwind
colors: {
  custom: {
    50: '#eba4fc',
    500: '#df7afa',
    950: '#000000',
  },
}
SCSS
$custom: #df7afa;
$custom-light: #eba4fc;
$custom-dark: #000000;
JSON
{
  "hex": "#df7afa",
  "rgb": {
    "r": 223,
    "g": 122,
    "b": 250
  },
  "hsl": {
    "h": 287.344,
    "s": 92.754,
    "l": 72.941
  },
  "oklch": {
    "l": 0.73912,
    "c": 0.20196,
    "h": 318.8
  },
  "luminance": 0.36509
}

Semantic roles & 50–950 ramp

primary
#DF7AFA
secondary
#DCF6D5
accent
#E60030
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#160F17
muted
#847F85

Preview Lab

Preview with #DF7AFA

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

Preview Lab → · Contrast checker → · Palette generator →

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