#DA7EF8#DA7EF8

#DA7EF8 is a light, vivid purple. Relative luminance 0.366; OKLCH L 73.8% C 0.191 H 317.3°. Best body text is #000000 at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#DA7EF8
RGBrgb(218, 126, 248)
HSLhsl(285, 90%, 73%)
HSVhsv(285, 49%, 97%)
CMYKcmyk(12.1%, 49.2%, 0%, 2.7%)
CIE-LABlab(66.98, 54.68, -46.72)
CIE-LCHlch(66.98, 71.92, 319.49°)
OKLaboklab(73.81% 0.1407 -0.1297)
OKLCHoklch(73.81% 0.191 317.3)
XYZxyz(53.3152, 36.6062, 93.0460)
Luminance0.3660 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DA7EF8 #9CF87E
analogous
#9D7EF8 #DA7EF8 #F87ED9
triadic
#DA7EF8 #F8DA7E #7EF8DA
tetradic
#DA7EF8 #F89D7E #9CF87E #7ED9F8
square
#DA7EF8 #F89D7E #9CF87E #7ED9F8
split-complementary
#DA7EF8 #D9F87E #7EF89D
monochromatic
#B70DEF #C944F5 #DA7EF8 #EBB8FB #F7E2FD

Accessibility & contrast

On white

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

On black

8.32
#DA7EF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DA7EF8
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DA7EF8#FFFFFF#000000##000000
##DA7EF81.002.528.328.32
#FFFFFF2.521.0021.0021.00
#0000008.3221.001.001.00
##0000008.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#669DFC
Deuteranopia (green-blind)
#82A6F5
Tritanopia (blue-blind)
#D990B0
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #da7ef8;
/* rgb */ color: rgb(218, 126, 248);
/* oklch */ color: oklch(73.8% 0.191 317.3);
Tailwind
colors: {
  custom: {
    50: '#e8a6fb',
    500: '#da7ef8',
    950: '#000000',
  },
}
SCSS
$custom: #da7ef8;
$custom-light: #e8a6fb;
$custom-dark: #000000;
JSON
{
  "hex": "#da7ef8",
  "rgb": {
    "r": 218,
    "g": 126,
    "b": 248
  },
  "hsl": {
    "h": 285.246,
    "s": 89.706,
    "l": 73.333
  },
  "oklch": {
    "l": 0.73806,
    "c": 0.19138,
    "h": 317.3
  },
  "luminance": 0.36604
}

Semantic roles & 50–950 ramp

primary
#DA7EF8
secondary
#DDF6D5
accent
#E60038
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#161017
muted
#847F85

Preview Lab

Preview with #DA7EF8

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

Preview Lab → · Contrast checker → · Palette generator →

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