#DEA7FE#DEA7FE

#DEA7FE is a light, vivid violet. Relative luminance 0.503; OKLCH L 81.0% C 0.132 H 312.5°. Best body text is #000000 at 11.06:1 contrast (WCAG AA passes).

Color values

HEX#DEA7FE
RGBrgb(222, 167, 254)
HSLhsl(278, 98%, 83%)
HSVhsv(278, 34%, 100%)
CMYKcmyk(12.6%, 34.3%, 0%, 0.4%)
CIE-LABlab(76.27, 35.53, -35.46)
CIE-LCHlch(76.27, 50.19, 315.06°)
OKLaboklab(80.96% 0.0894 -0.0975)
OKLCHoklch(80.96% 0.132 312.5)
XYZxyz(61.8293, 50.3238, 100.2030)
Luminance0.5032 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEA7FE #C7FEA7
analogous
#B2A7FE #DEA7FE #FEA7F3
triadic
#DEA7FE #FEDEA7 #A7FEDE
tetradic
#DEA7FE #FEB2A7 #C7FEA7 #A7F3FE
square
#DEA7FE #FEB2A7 #C7FEA7 #A7F3FE
split-complementary
#DEA7FE #F3FEA7 #A7FEB2
monochromatic
#B12EFD #C76AFD #DEA7FE #F4E1FF #F4E1FF

Accessibility & contrast

On white

1.90
#DEA7FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.06
#DEA7FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEA7FE
11.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEA7FE#FFFFFF#000000##000000
##DEA7FE1.001.9011.0611.06
#FFFFFF1.901.0021.0021.00
#00000011.0621.001.001.00
##00000011.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#98B9FF
Deuteranopia (green-blind)
#A5BDFB
Tritanopia (blue-blind)
#DBB3C7
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #dea7fe;
/* rgb */ color: rgb(222, 167, 254);
/* oklch */ color: oklch(81.0% 0.132 312.5);
Tailwind
colors: {
  custom: {
    50: '#e9c1ff',
    500: '#dea7fe',
    950: '#000000',
  },
}
SCSS
$custom: #dea7fe;
$custom-light: #e9c1ff;
$custom-dark: #000000;
JSON
{
  "hex": "#dea7fe",
  "rgb": {
    "r": 222,
    "g": 167,
    "b": 254
  },
  "hsl": {
    "h": 277.931,
    "s": 97.753,
    "l": 82.549
  },
  "oklch": {
    "l": 0.80955,
    "c": 0.13225,
    "h": 312.5
  },
  "luminance": 0.50323
}

Semantic roles & 50–950 ramp

primary
#DEA7FE
secondary
#94E267
accent
#E60054
background
#FEFDFF
surface
#FDF9FF
border
#D5D2D7
text
#161218
muted
#848286

Preview Lab

Preview with #DEA7FE

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

Preview Lab → · Contrast checker → · Palette generator →

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