#DA7CFB#DA7CFB

#DA7CFB is a light, vivid purple. Relative luminance 0.363; OKLCH L 73.7% C 0.198 H 316.7°. Best body text is #000000 at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#DA7CFB
RGBrgb(218, 124, 251)
HSLhsl(284, 94%, 74%)
HSVhsv(284, 51%, 98%)
CMYKcmyk(13.1%, 50.6%, 0%, 1.6%)
CIE-LABlab(66.74, 56.28, -48.75)
CIE-LCHlch(66.74, 74.46, 319.10°)
OKLaboklab(73.67% 0.1437 -0.1355)
OKLCHoklch(73.67% 0.198 316.7)
XYZxyz(53.5311, 36.2875, 95.4324)
Luminance0.3629 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DA7CFB #9DFB7C
analogous
#9A7CFB #DA7CFB #FB7CDD
triadic
#DA7CFB #FBDA7C #7CFBDA
tetradic
#DA7CFB #FB9A7C #9DFB7C #7CDDFB
square
#DA7CFB #FB9A7C #9DFB7C #7CDDFB
split-complementary
#DA7CFB #DDFB7C #7CFB9A
monochromatic
#B707F5 #C941F9 #DA7CFB #EBB7FD #F7E1FE

Accessibility & contrast

On white

2.54
#DA7CFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.26
#DA7CFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DA7CFB
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DA7CFB#FFFFFF#000000##000000
##DA7CFB1.002.548.268.26
#FFFFFF2.541.0021.0021.00
#0000008.2621.001.001.00
##0000008.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#629CFF
Deuteranopia (green-blind)
#7FA5F8
Tritanopia (blue-blind)
#D98FB0
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #da7cfb;
/* rgb */ color: rgb(218, 124, 251);
/* oklch */ color: oklch(73.7% 0.198 316.7);
Tailwind
colors: {
  custom: {
    50: '#e8a5fd',
    500: '#da7cfb',
    950: '#000000',
  },
}
SCSS
$custom: #da7cfb;
$custom-light: #e8a5fd;
$custom-dark: #000000;
JSON
{
  "hex": "#da7cfb",
  "rgb": {
    "r": 218,
    "g": 124,
    "b": 251
  },
  "hsl": {
    "h": 284.409,
    "s": 94.074,
    "l": 73.529
  },
  "oklch": {
    "l": 0.73674,
    "c": 0.19757,
    "h": 316.7
  },
  "luminance": 0.36286
}

Semantic roles & 50–950 ramp

primary
#DA7CFB
secondary
#DDF6D5
accent
#E6003C
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#160F18
muted
#847F86

Preview Lab

Preview with #DA7CFB

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

Preview Lab → · Contrast checker → · Palette generator →

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