#DA7FE2#DA7FE2

#DA7FE2 is a light, vivid purple. Relative luminance 0.356; OKLCH L 72.9% C 0.168 H 324.1°. Best body text is #000000 at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#DA7FE2
RGBrgb(218, 127, 226)
HSLhsl(295, 63%, 69%)
HSVhsv(295, 44%, 89%)
CMYKcmyk(3.5%, 43.8%, 0%, 11.4%)
CIE-LABlab(66.20, 49.95, -35.82)
CIE-LCHlch(66.20, 61.46, 324.36°)
OKLaboklab(72.9% 0.136 -0.0983)
OKLCHoklch(72.9% 0.168 324.1)
XYZxyz(50.2290, 35.5774, 76.1581)
Luminance0.3558 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DA7FE2 #87E27F
analogous
#A97FE2 #DA7FE2 #E27FB8
triadic
#DA7FE2 #E2DA7F #7FE2DA
tetradic
#DA7FE2 #E2A97F #87E27F #7FB8E2
square
#DA7FE2 #E2A97F #87E27F #7FB8E2
split-complementary
#DA7FE2 #B8E27F #7FE2A9
monochromatic
#B02BBC #CC4DD7 #DA7FE2 #E8B1ED #F7E3F9

Accessibility & contrast

On white

2.59
#DA7FE2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.12
#DA7FE2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DA7FE2
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DA7FE2#FFFFFF#000000##000000
##DA7FE21.002.598.128.12
#FFFFFF2.591.0021.0021.00
#0000008.1221.001.001.00
##0000008.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#749AE5
Deuteranopia (green-blind)
#8DA5DF
Tritanopia (blue-blind)
#DE8AA6
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #da7fe2;
/* rgb */ color: rgb(218, 127, 226);
/* oklch */ color: oklch(72.9% 0.168 324.1);
Tailwind
colors: {
  custom: {
    50: '#e7a6eb',
    500: '#da7fe2',
    950: '#000000',
  },
}
SCSS
$custom: #da7fe2;
$custom-light: #e7a6eb;
$custom-dark: #000000;
JSON
{
  "hex": "#da7fe2",
  "rgb": {
    "r": 218,
    "g": 127,
    "b": 226
  },
  "hsl": {
    "h": 295.152,
    "s": 63.057,
    "l": 69.216
  },
  "oklch": {
    "l": 0.72902,
    "c": 0.16784,
    "h": 324.1
  },
  "luminance": 0.35575
}

Semantic roles & 50–950 ramp

primary
#DA7FE2
secondary
#D2EDD0
accent
#CB1B29
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#161016
muted
#847F84

Preview Lab

Preview with #DA7FE2

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

Preview Lab → · Contrast checker → · Palette generator →

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