#DE7AFA#DE7AFA

#DE7AFA is a light, highly saturated purple. Relative luminance 0.364; OKLCH L 73.8% C 0.201 H 318.5°. Best body text is #000000 at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#DE7AFA
RGBrgb(222, 122, 250)
HSLhsl(287, 93%, 73%)
HSVhsv(287, 51%, 98%)
CMYKcmyk(11.2%, 51.2%, 0%, 2%)
CIE-LABlab(66.79, 58.13, -48.09)
CIE-LCHlch(66.79, 75.44, 320.40°)
OKLaboklab(73.8% 0.1509 -0.1335)
OKLCHoklch(73.8% 0.201 318.5)
XYZxyz(54.3367, 36.3528, 94.5785)
Luminance0.3635 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DE7AFA #96FA7A
analogous
#9E7AFA #DE7AFA #FA7AD6
triadic
#DE7AFA #FADE7A #7AFADE
tetradic
#DE7AFA #FA9E7A #96FA7A #7AD6FA
square
#DE7AFA #FA9E7A #96FA7A #7AD6FA
split-complementary
#DE7AFA #D6FA7A #7AFA9E
monochromatic
#BE09F1 #CF3FF8 #DE7AFA #EDB5FC #F8E2FE

Accessibility & contrast

On white

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

On black

8.27
#DE7AFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DE7AFA
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DE7AFA#FFFFFF#000000##000000
##DE7AFA1.002.548.278.27
#FFFFFF2.541.0021.0021.00
#0000008.2721.001.001.00
##0000008.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#619CFE
Deuteranopia (green-blind)
#81A6F7
Tritanopia (blue-blind)
#DE8DAF
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #de7afa;
/* rgb */ color: rgb(222, 122, 250);
/* oklch */ color: oklch(73.8% 0.201 318.5);
Tailwind
colors: {
  custom: {
    50: '#eba4fc',
    500: '#de7afa',
    950: '#000000',
  },
}
SCSS
$custom: #de7afa;
$custom-light: #eba4fc;
$custom-dark: #000000;
JSON
{
  "hex": "#de7afa",
  "rgb": {
    "r": 222,
    "g": 122,
    "b": 250
  },
  "hsl": {
    "h": 286.875,
    "s": 92.754,
    "l": 72.941
  },
  "oklch": {
    "l": 0.73797,
    "c": 0.20149,
    "h": 318.5
  },
  "luminance": 0.36351
}

Semantic roles & 50–950 ramp

primary
#DE7AFA
secondary
#DCF6D5
accent
#E60032
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#160F17
muted
#847F85

Preview Lab

Preview with #DE7AFA

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

Preview Lab → · Contrast checker → · Palette generator →

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