#DA7FF2#DA7FF2

#DA7FF2 is a light, vivid purple. Relative luminance 0.365; OKLCH L 73.7% C 0.184 H 319.0°. Best body text is #000000 at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#DA7FF2
RGBrgb(218, 127, 242)
HSLhsl(287, 82%, 72%)
HSVhsv(287, 48%, 95%)
CMYKcmyk(9.9%, 47.5%, 0%, 5.1%)
CIE-LABlab(66.90, 53.00, -43.56)
CIE-LCHlch(66.90, 68.60, 320.59°)
OKLaboklab(73.65% 0.1386 -0.1205)
OKLCHoklch(73.65% 0.184 319)
XYZxyz(52.5277, 36.4969, 88.2648)
Luminance0.3649 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DA7FF2 #97F27F
analogous
#A07FF2 #DA7FF2 #F27FD1
triadic
#DA7FF2 #F2DA7F #7FF2DA
tetradic
#DA7FF2 #F2A07F #97F27F #7FD1F2
square
#DA7FF2 #F2A07F #97F27F #7FD1F2
split-complementary
#DA7FF2 #D1F27F #7FF2A0
monochromatic
#B617E0 #CA47EC #DA7FF2 #EAB7F8 #F7E3FC

Accessibility & contrast

On white

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

On black

8.30
#DA7FF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DA7FF2
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DA7FF2#FFFFFF#000000##000000
##DA7FF21.002.538.308.30
#FFFFFF2.531.0021.0021.00
#0000008.3021.001.001.00
##0000008.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B9DF6
Deuteranopia (green-blind)
#86A6EF
Tritanopia (blue-blind)
#DB8FAD
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #da7ff2;
/* rgb */ color: rgb(218, 127, 242);
/* oklch */ color: oklch(73.7% 0.184 319.0);
Tailwind
colors: {
  custom: {
    50: '#e7a7f7',
    500: '#da7ff2',
    950: '#000000',
  },
}
SCSS
$custom: #da7ff2;
$custom-light: #e7a7f7;
$custom-dark: #000000;
JSON
{
  "hex": "#da7ff2",
  "rgb": {
    "r": 218,
    "g": 127,
    "b": 242
  },
  "hsl": {
    "h": 287.478,
    "s": 81.56,
    "l": 72.353
  },
  "oklch": {
    "l": 0.73654,
    "c": 0.1837,
    "h": 319
  },
  "luminance": 0.36495
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DA7FF2

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

Preview Lab → · Contrast checker → · Palette generator →

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