#DA7EFB#DA7EFB

#DA7EFB is a light, vivid purple. Relative luminance 0.368; OKLCH L 74.0% C 0.194 H 316.5°. Best body text is #000000 at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#DA7EFB
RGBrgb(218, 126, 251)
HSLhsl(284, 94%, 74%)
HSVhsv(284, 50%, 98%)
CMYKcmyk(13.1%, 49.8%, 0%, 1.6%)
CIE-LABlab(67.12, 55.28, -48.14)
CIE-LCHlch(67.12, 73.30, 318.95°)
OKLaboklab(73.96% 0.1411 -0.1338)
OKLCHoklch(73.96% 0.194 316.5)
XYZxyz(53.7843, 36.7939, 95.5168)
Luminance0.3679 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DA7EFB #9FFB7E
analogous
#9C7EFB #DA7EFB #FB7EDE
triadic
#DA7EFB #FBDA7E #7EFBDA
tetradic
#DA7EFB #FB9C7E #9FFB7E #7EDEFB
square
#DA7EFB #FB9C7E #9FFB7E #7EDEFB
split-complementary
#DA7EFB #DEFB7E #7EFB9C
monochromatic
#B808F7 #C943F9 #DA7EFB #EBB9FD #F6E1FE

Accessibility & contrast

On white

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

On black

8.36
#DA7EFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DA7EFB
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DA7EFB#FFFFFF#000000##000000
##DA7EFB1.002.518.368.36
#FFFFFF2.511.0021.0021.00
#0000008.3621.001.001.00
##0000008.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#649EFF
Deuteranopia (green-blind)
#80A6F8
Tritanopia (blue-blind)
#D991B1
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #da7efb;
/* rgb */ color: rgb(218, 126, 251);
/* oklch */ color: oklch(74.0% 0.194 316.5);
Tailwind
colors: {
  custom: {
    50: '#e8a6fd',
    500: '#da7efb',
    950: '#000000',
  },
}
SCSS
$custom: #da7efb;
$custom-light: #e8a6fd;
$custom-dark: #000000;
JSON
{
  "hex": "#da7efb",
  "rgb": {
    "r": 218,
    "g": 126,
    "b": 251
  },
  "hsl": {
    "h": 284.16,
    "s": 93.985,
    "l": 73.922
  },
  "oklch": {
    "l": 0.73957,
    "c": 0.19445,
    "h": 316.5
  },
  "luminance": 0.36792
}

Semantic roles & 50–950 ramp

primary
#DA7EFB
secondary
#DEF6D5
accent
#E6003D
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#161018
muted
#847F86

Preview Lab

Preview with #DA7EFB

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

Preview Lab → · Contrast checker → · Palette generator →

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