#DA7FEA#DA7FEA

#DA7FEA is a light, vivid purple. Relative luminance 0.360; OKLCH L 73.3% C 0.176 H 321.5°. Best body text is #000000 at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#DA7FEA
RGBrgb(218, 127, 234)
HSLhsl(291, 72%, 71%)
HSVhsv(291, 46%, 92%)
CMYKcmyk(6.8%, 45.7%, 0%, 8.2%)
CIE-LABlab(66.54, 51.46, -39.71)
CIE-LCHlch(66.54, 65.00, 322.34°)
OKLaboklab(73.27% 0.1374 -0.1095)
OKLCHoklch(73.27% 0.176 321.5)
XYZxyz(51.3524, 36.0267, 82.0748)
Luminance0.3603 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DA7FEA #8FEA7F
analogous
#A47FEA #DA7FEA #EA7FC4
triadic
#DA7FEA #EADA7F #7FEADA
tetradic
#DA7FEA #EAA47F #8FEA7F #7FC4EA
square
#DA7FEA #EAA47F #8FEA7F #7FC4EA
split-complementary
#DA7FEA #C4EA7F #7FEAA4
monochromatic
#B322CD #CB4AE1 #DA7FEA #E9B4F3 #F7E5FB

Accessibility & contrast

On white

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

On black

8.21
#DA7FEA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DA7FEA
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DA7FEA#FFFFFF#000000##000000
##DA7FEA1.002.568.218.21
#FFFFFF2.561.0021.0021.00
#0000008.2121.001.001.00
##0000008.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#709BEE
Deuteranopia (green-blind)
#8AA5E7
Tritanopia (blue-blind)
#DC8CAA
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #da7fea;
/* rgb */ color: rgb(218, 127, 234);
/* oklch */ color: oklch(73.3% 0.176 321.5);
Tailwind
colors: {
  custom: {
    50: '#e7a7f1',
    500: '#da7fea',
    950: '#000000',
  },
}
SCSS
$custom: #da7fea;
$custom-light: #e7a7f1;
$custom-dark: #000000;
JSON
{
  "hex": "#da7fea",
  "rgb": {
    "r": 218,
    "g": 127,
    "b": 234
  },
  "hsl": {
    "h": 291.028,
    "s": 71.812,
    "l": 70.784
  },
  "oklch": {
    "l": 0.73272,
    "c": 0.17568,
    "h": 321.5
  },
  "luminance": 0.36025
}

Semantic roles & 50–950 ramp

primary
#DA7FEA
secondary
#D8F1D4
accent
#D4122F
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#161017
muted
#847F85

Preview Lab

Preview with #DA7FEA

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

Preview Lab → · Contrast checker → · Palette generator →

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