#DA7EFC#DA7EFC

#DA7EFC is a light, vivid purple. Relative luminance 0.369; OKLCH L 74.0% C 0.195 H 316.2°. Best body text is #000000 at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#DA7EFC
RGBrgb(218, 126, 252)
HSLhsl(284, 95%, 74%)
HSVhsv(284, 50%, 99%)
CMYKcmyk(13.5%, 50%, 0%, 1.2%)
CIE-LABlab(67.17, 55.48, -48.62)
CIE-LCHlch(67.17, 73.77, 318.77°)
OKLaboklab(74.01% 0.1412 -0.1352)
OKLCHoklch(74.01% 0.195 316.2)
XYZxyz(53.9424, 36.8571, 96.3492)
Luminance0.3685 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DA7EFC #A0FC7E
analogous
#9B7EFC #DA7EFC #FC7EDF
triadic
#DA7EFC #FCDA7E #7EFCDA
tetradic
#DA7EFC #FC9B7E #A0FC7E #7EDFFC
square
#DA7EFC #FC9B7E #A0FC7E #7EDFFC
split-complementary
#DA7EFC #DFFC7E #7EFC9B
monochromatic
#B806F9 #C942FB #DA7EFC #EBBAFD #F6E1FE

Accessibility & contrast

On white

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

On black

8.37
#DA7EFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DA7EFC
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DA7EFC#FFFFFF#000000##000000
##DA7EFC1.002.518.378.37
#FFFFFF2.511.0021.0021.00
#0000008.3721.001.001.00
##0000008.3721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #da7efc;
/* rgb */ color: rgb(218, 126, 252);
/* oklch */ color: oklch(74.0% 0.195 316.2);
Tailwind
colors: {
  custom: {
    50: '#e8a6fe',
    500: '#da7efc',
    950: '#000000',
  },
}
SCSS
$custom: #da7efc;
$custom-light: #e8a6fe;
$custom-dark: #000000;
JSON
{
  "hex": "#da7efc",
  "rgb": {
    "r": 218,
    "g": 126,
    "b": 252
  },
  "hsl": {
    "h": 283.81,
    "s": 95.455,
    "l": 74.118
  },
  "oklch": {
    "l": 0.74008,
    "c": 0.19548,
    "h": 316.2
  },
  "luminance": 0.36855
}

Semantic roles & 50–950 ramp

primary
#DA7EFC
secondary
#DEF7D4
accent
#E6003E
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#161018
muted
#847F86

Preview Lab

Preview with #DA7EFC

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

Preview Lab → · Contrast checker → · Palette generator →

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