#DE7EFA#DE7EFA

#DE7EFA is a light, vivid purple. Relative luminance 0.374; OKLCH L 74.4% C 0.195 H 318.2°. Best body text is #000000 at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#DE7EFA
RGBrgb(222, 126, 250)
HSLhsl(286, 93%, 74%)
HSVhsv(286, 50%, 98%)
CMYKcmyk(11.2%, 49.6%, 0%, 2%)
CIE-LABlab(67.54, 56.15, -46.90)
CIE-LCHlch(67.54, 73.16, 320.13°)
OKLaboklab(74.35% 0.1456 -0.1301)
OKLCHoklch(74.35% 0.195 318.2)
XYZxyz(54.8380, 37.3554, 94.7456)
Luminance0.3735 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DE7EFA #9AFA7E
analogous
#A07EFA #DE7EFA #FA7ED8
triadic
#DE7EFA #FADE7E #7EFADE
tetradic
#DE7EFA #FAA07E #9AFA7E #7ED8FA
square
#DE7EFA #FAA07E #9AFA7E #7ED8FA
split-complementary
#DE7EFA #D8FA7E #7EFAA0
monochromatic
#BF09F4 #CF43F8 #DE7EFA #EDB9FC #F7E2FE

Accessibility & contrast

On white

2.48
#DE7EFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.47
#DE7EFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DE7EFA
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DE7EFA#FFFFFF#000000##000000
##DE7EFA1.002.488.478.47
#FFFFFF2.481.0021.0021.00
#0000008.4721.001.001.00
##0000008.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#679EFE
Deuteranopia (green-blind)
#84A8F7
Tritanopia (blue-blind)
#DE90B1
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #de7efa;
/* rgb */ color: rgb(222, 126, 250);
/* oklch */ color: oklch(74.4% 0.195 318.2);
Tailwind
colors: {
  custom: {
    50: '#eaa6fc',
    500: '#de7efa',
    950: '#000000',
  },
}
SCSS
$custom: #de7efa;
$custom-light: #eaa6fc;
$custom-dark: #000000;
JSON
{
  "hex": "#de7efa",
  "rgb": {
    "r": 222,
    "g": 126,
    "b": 250
  },
  "hsl": {
    "h": 286.452,
    "s": 92.537,
    "l": 73.725
  },
  "oklch": {
    "l": 0.74354,
    "c": 0.19527,
    "h": 318.2
  },
  "luminance": 0.37353
}

Semantic roles & 50–950 ramp

primary
#DE7EFA
secondary
#DCF6D5
accent
#E60034
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#161017
muted
#847F85

Preview Lab

Preview with #DE7EFA

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

Preview Lab → · Contrast checker → · Palette generator →

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