#DA7EF2#DA7EF2

#DA7EF2 is a light, vivid purple. Relative luminance 0.362; OKLCH L 73.5% C 0.185 H 319.1°. Best body text is #000000 at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#DA7EF2
RGBrgb(218, 126, 242)
HSLhsl(288, 82%, 72%)
HSVhsv(288, 48%, 95%)
CMYKcmyk(9.9%, 47.9%, 0%, 5.1%)
CIE-LABlab(66.70, 53.51, -43.86)
CIE-LCHlch(66.70, 69.19, 320.66°)
OKLaboklab(73.51% 0.14 -0.1214)
OKLCHoklch(73.51% 0.185 319.1)
XYZxyz(52.3992, 36.2398, 88.2220)
Luminance0.3624 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DA7EF2 #96F27E
analogous
#A07EF2 #DA7EF2 #F27ED0
triadic
#DA7EF2 #F2DA7E #7EF2DA
tetradic
#DA7EF2 #F2A07E #96F27E #7ED0F2
square
#DA7EF2 #F2A07E #96F27E #7ED0F2
split-complementary
#DA7EF2 #D0F27E #7EF2A0
monochromatic
#B616DF #CA46EC #DA7EF2 #EAB6F8 #F7E3FC

Accessibility & contrast

On white

2.55
#DA7EF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.25
#DA7EF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DA7EF2
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DA7EF2#FFFFFF#000000##000000
##DA7EF21.002.558.258.25
#FFFFFF2.551.0021.0021.00
#0000008.2521.001.001.00
##0000008.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A9CF6
Deuteranopia (green-blind)
#85A5EF
Tritanopia (blue-blind)
#DB8EAD
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #da7ef2;
/* rgb */ color: rgb(218, 126, 242);
/* oklch */ color: oklch(73.5% 0.185 319.1);
Tailwind
colors: {
  custom: {
    50: '#e7a6f7',
    500: '#da7ef2',
    950: '#000000',
  },
}
SCSS
$custom: #da7ef2;
$custom-light: #e7a6f7;
$custom-dark: #000000;
JSON
{
  "hex": "#da7ef2",
  "rgb": {
    "r": 218,
    "g": 126,
    "b": 242
  },
  "hsl": {
    "h": 287.586,
    "s": 81.69,
    "l": 72.157
  },
  "oklch": {
    "l": 0.7351,
    "c": 0.1853,
    "h": 319.1
  },
  "luminance": 0.36238
}

Semantic roles & 50–950 ramp

primary
#DA7EF2
secondary
#DDF4D7
accent
#DE0734
background
#FEFAFF
surface
#FDF4FE
border
#D5CED6
text
#161017
muted
#847F85

Preview Lab

Preview with #DA7EF2

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

Preview Lab → · Contrast checker → · Palette generator →

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