#DA7AFE#DA7AFE

#DA7AFE is a light, highly saturated purple. Relative luminance 0.360; OKLCH L 73.5% C 0.204 H 316.0°. Best body text is #000000 at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#DA7AFE
RGBrgb(218, 122, 254)
HSLhsl(284, 99%, 74%)
HSVhsv(284, 52%, 100%)
CMYKcmyk(14.2%, 52%, 0%, 0.4%)
CIE-LABlab(66.51, 57.87, -50.76)
CIE-LCHlch(66.51, 76.98, 318.75°)
OKLaboklab(73.55% 0.1467 -0.1414)
OKLCHoklch(73.55% 0.204 316)
XYZxyz(53.7597, 35.9820, 97.8600)
Luminance0.3598 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DA7AFE #9EFE7A
analogous
#987AFE #DA7AFE #FE7AE0
triadic
#DA7AFE #FEDA7A #7AFEDA
tetradic
#DA7AFE #FE987A #9EFE7A #7AE0FE
square
#DA7AFE #FE987A #9EFE7A #7AE0FE
split-complementary
#DA7AFE #E0FE7A #7AFE98
monochromatic
#B802FC #C93DFE #DA7AFE #EBB7FE #F7E1FF

Accessibility & contrast

On white

2.56
#DA7AFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.20
#DA7AFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DA7AFE
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DA7AFE#FFFFFF#000000##000000
##DA7AFE1.002.568.208.20
#FFFFFF2.561.0021.0021.00
#0000008.2021.001.001.00
##0000008.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D9CFF
Deuteranopia (green-blind)
#7BA5FB
Tritanopia (blue-blind)
#D88EB1
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #da7afe;
/* rgb */ color: rgb(218, 122, 254);
/* oklch */ color: oklch(73.5% 0.204 316.0);
Tailwind
colors: {
  custom: {
    50: '#e8a4ff',
    500: '#da7afe',
    950: '#000000',
  },
}
SCSS
$custom: #da7afe;
$custom-light: #e8a4ff;
$custom-dark: #000000;
JSON
{
  "hex": "#da7afe",
  "rgb": {
    "r": 218,
    "g": 122,
    "b": 254
  },
  "hsl": {
    "h": 283.636,
    "s": 98.507,
    "l": 73.725
  },
  "oklch": {
    "l": 0.73549,
    "c": 0.2037,
    "h": 316
  },
  "luminance": 0.3598
}

Semantic roles & 50–950 ramp

primary
#DA7AFE
secondary
#DEF7D4
accent
#E6003F
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#160F18
muted
#847F86

Preview Lab

Preview with #DA7AFE

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

Preview Lab → · Contrast checker → · Palette generator →

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