#DA7FEB#DA7FEB

#DA7FEB is a light, vivid purple. Relative luminance 0.361; OKLCH L 73.3% C 0.177 H 321.1°. Best body text is #000000 at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#DA7FEB
RGBrgb(218, 127, 235)
HSLhsl(291, 73%, 71%)
HSVhsv(291, 46%, 92%)
CMYKcmyk(7.2%, 46%, 0%, 7.8%)
CIE-LABlab(66.58, 51.65, -40.19)
CIE-LCHlch(66.58, 65.44, 322.11°)
OKLaboklab(73.32% 0.1376 -0.1108)
OKLCHoklch(73.32% 0.177 321.1)
XYZxyz(51.4965, 36.0843, 82.8335)
Luminance0.3608 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DA7FEB #90EB7F
analogous
#A47FEB #DA7FEB #EB7FC6
triadic
#DA7FEB #EBDA7F #7FEBDA
tetradic
#DA7FEB #EBA47F #90EB7F #7FC6EB
square
#DA7FEB #EBA47F #90EB7F #7FC6EB
split-complementary
#DA7FEB #C6EB7F #7FEBA4
monochromatic
#B420CF #CB4AE3 #DA7FEB #E9B4F3 #F7E5FB

Accessibility & contrast

On white

2.56
#DA7FEB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.22
#DA7FEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DA7FEB
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DA7FEB#FFFFFF#000000##000000
##DA7FEB1.002.568.228.22
#FFFFFF2.561.0021.0021.00
#0000008.2221.001.001.00
##0000008.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F9BEF
Deuteranopia (green-blind)
#89A5E8
Tritanopia (blue-blind)
#DC8DAA
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #da7feb;
/* rgb */ color: rgb(218, 127, 235);
/* oklch */ color: oklch(73.3% 0.177 321.1);
Tailwind
colors: {
  custom: {
    50: '#e7a7f2',
    500: '#da7feb',
    950: '#000000',
  },
}
SCSS
$custom: #da7feb;
$custom-light: #e7a7f2;
$custom-dark: #000000;
JSON
{
  "hex": "#da7feb",
  "rgb": {
    "r": 218,
    "g": 127,
    "b": 235
  },
  "hsl": {
    "h": 290.556,
    "s": 72.973,
    "l": 70.98
  },
  "oklch": {
    "l": 0.73319,
    "c": 0.17667,
    "h": 321.1
  },
  "luminance": 0.36082
}

Semantic roles & 50–950 ramp

primary
#DA7FEB
secondary
#D9F1D5
accent
#D5102F
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#161017
muted
#847F85

Preview Lab

Preview with #DA7FEB

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

Preview Lab → · Contrast checker → · Palette generator →

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