#DA7DFB#DA7DFB

#DA7DFB is a light, vivid purple. Relative luminance 0.365; OKLCH L 73.8% C 0.196 H 316.6°. Best body text is #000000 at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#DA7DFB
RGBrgb(218, 125, 251)
HSLhsl(284, 94%, 74%)
HSVhsv(284, 50%, 98%)
CMYKcmyk(13.1%, 50.2%, 0%, 1.6%)
CIE-LABlab(66.93, 55.78, -48.45)
CIE-LCHlch(66.93, 73.88, 319.03°)
OKLaboklab(73.82% 0.1424 -0.1347)
OKLCHoklch(73.82% 0.196 316.6)
XYZxyz(53.6571, 36.5394, 95.4744)
Luminance0.3654 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DA7DFB #9EFB7D
analogous
#9B7DFB #DA7DFB #FB7DDD
triadic
#DA7DFB #FBDA7D #7DFBDA
tetradic
#DA7DFB #FB9B7D #9EFB7D #7DDDFB
square
#DA7DFB #FB9B7D #9EFB7D #7DDDFB
split-complementary
#DA7DFB #DDFB7D #7DFB9B
monochromatic
#B808F6 #C942F9 #DA7DFB #EBB8FD #F7E1FE

Accessibility & contrast

On white

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

On black

8.31
#DA7DFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DA7DFB
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DA7DFB#FFFFFF#000000##000000
##DA7DFB1.002.538.318.31
#FFFFFF2.531.0021.0021.00
#0000008.3121.001.001.00
##0000008.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#639DFF
Deuteranopia (green-blind)
#80A6F8
Tritanopia (blue-blind)
#D990B1
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #da7dfb;
/* rgb */ color: rgb(218, 125, 251);
/* oklch */ color: oklch(73.8% 0.196 316.6);
Tailwind
colors: {
  custom: {
    50: '#e8a5fd',
    500: '#da7dfb',
    950: '#000000',
  },
}
SCSS
$custom: #da7dfb;
$custom-light: #e8a5fd;
$custom-dark: #000000;
JSON
{
  "hex": "#da7dfb",
  "rgb": {
    "r": 218,
    "g": 125,
    "b": 251
  },
  "hsl": {
    "h": 284.286,
    "s": 94.03,
    "l": 73.725
  },
  "oklch": {
    "l": 0.73815,
    "c": 0.19602,
    "h": 316.6
  },
  "luminance": 0.36538
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DA7DFB

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

Preview Lab → · Contrast checker → · Palette generator →

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