#DA7FEF#DA7FEF

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

Color values

HEX#DA7FEF
RGBrgb(218, 127, 239)
HSLhsl(289, 78%, 72%)
HSVhsv(289, 47%, 94%)
CMYKcmyk(8.8%, 46.9%, 0%, 6.3%)
CIE-LABlab(66.76, 52.42, -42.12)
CIE-LCHlch(66.76, 67.24, 321.22°)
OKLaboklab(73.51% 0.1382 -0.1164)
OKLCHoklch(73.51% 0.181 319.9)
XYZxyz(52.0809, 36.3181, 85.9113)
Luminance0.3632 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DA7FEF #94EF7F
analogous
#A27FEF #DA7FEF #EF7FCC
triadic
#DA7FEF #EFDA7F #7FEFDA
tetradic
#DA7FEF #EFA27F #94EF7F #7FCCEF
square
#DA7FEF #EFA27F #94EF7F #7FCCEF
split-complementary
#DA7FEF #CCEF7F #7FEFA2
monochromatic
#B51BD9 #CA49E8 #DA7FEF #EAB5F6 #F7E4FC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DA7FEF#FFFFFF#000000##000000
##DA7FEF1.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)
#6D9CF3
Deuteranopia (green-blind)
#87A6EC
Tritanopia (blue-blind)
#DB8EAC
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #da7fef;
/* rgb */ color: rgb(218, 127, 239);
/* oklch */ color: oklch(73.5% 0.181 319.9);
Tailwind
colors: {
  custom: {
    50: '#e7a7f4',
    500: '#da7fef',
    950: '#000000',
  },
}
SCSS
$custom: #da7fef;
$custom-light: #e7a7f4;
$custom-dark: #000000;
JSON
{
  "hex": "#da7fef",
  "rgb": {
    "r": 218,
    "g": 127,
    "b": 239
  },
  "hsl": {
    "h": 288.75,
    "s": 77.778,
    "l": 71.765
  },
  "oklch": {
    "l": 0.73509,
    "c": 0.18067,
    "h": 319.9
  },
  "luminance": 0.36316
}

Semantic roles & 50–950 ramp

primary
#DA7FEF
secondary
#DCF3D7
accent
#DA0B32
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#161017
muted
#847F85

Preview Lab

Preview with #DA7FEF

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

Preview Lab → · Contrast checker → · Palette generator →

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