#DE91FC#DE91FC

#DE91FC is a light, vivid purple. Relative luminance 0.428; OKLCH L 77.3% C 0.167 H 316.0°. Best body text is #000000 at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#DE91FC
RGBrgb(222, 145, 252)
HSLhsl(283, 95%, 78%)
HSVhsv(283, 42%, 99%)
CMYKcmyk(11.9%, 42.5%, 0%, 1.2%)
CIE-LABlab(71.43, 46.82, -41.90)
CIE-LCHlch(71.43, 62.83, 318.17°)
OKLaboklab(77.28% 0.12 -0.1158)
OKLCHoklch(77.28% 0.167 316)
XYZxyz(57.8176, 42.8102, 97.2941)
Luminance0.4281 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DE91FC #AFFC91
analogous
#A991FC #DE91FC #FC91E4
triadic
#DE91FC #FCDE91 #91FCDE
tetradic
#DE91FC #FCA991 #AFFC91 #91E4FC
square
#DE91FC #FCA991 #AFFC91 #91E4FC
split-complementary
#DE91FC #E4FC91 #91FCA9
monochromatic
#BA1AF9 #CC55FA #DE91FC #F0CDFE #F6E1FE

Accessibility & contrast

On white

2.20
#DE91FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.56
#DE91FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DE91FC
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DE91FC#FFFFFF#000000##000000
##DE91FC1.002.209.569.56
#FFFFFF2.201.0021.0021.00
#0000009.5621.001.001.00
##0000009.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7EAAFF
Deuteranopia (green-blind)
#93B1F9
Tritanopia (blue-blind)
#DDA0BB
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #de91fc;
/* rgb */ color: rgb(222, 145, 252);
/* oklch */ color: oklch(77.3% 0.167 316.0);
Tailwind
colors: {
  custom: {
    50: '#eab3fd',
    500: '#de91fc',
    950: '#000000',
  },
}
SCSS
$custom: #de91fc;
$custom-light: #eab3fd;
$custom-dark: #000000;
JSON
{
  "hex": "#de91fc",
  "rgb": {
    "r": 222,
    "g": 145,
    "b": 252
  },
  "hsl": {
    "h": 283.178,
    "s": 94.69,
    "l": 77.843
  },
  "oklch": {
    "l": 0.77275,
    "c": 0.16675,
    "h": 316
  },
  "luminance": 0.42809
}

Semantic roles & 50–950 ramp

primary
#DE91FC
secondary
#DEF6D5
accent
#E60040
background
#FEFBFF
surface
#FDF6FF
border
#D5D0D7
text
#161118
muted
#848086

Preview Lab

Preview with #DE91FC

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

Preview Lab → · Contrast checker → · Palette generator →

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