#DE6AFB#DE6AFB

#DE6AFB is a light, highly saturated purple. Relative luminance 0.328; OKLCH L 71.8% C 0.226 H 319.2°. Best body text is #000000 at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#DE6AFB
RGBrgb(222, 106, 251)
HSLhsl(288, 95%, 70%)
HSVhsv(288, 58%, 98%)
CMYKcmyk(11.6%, 57.8%, 0%, 1.6%)
CIE-LABlab(64.00, 65.90, -53.04)
CIE-LCHlch(64.00, 84.59, 321.17°)
OKLaboklab(71.77% 0.1712 -0.1478)
OKLCHoklch(71.77% 0.226 319.2)
XYZxyz(52.6886, 32.8049, 94.8047)
Luminance0.3280 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DE6AFB #87FB6A
analogous
#966AFB #DE6AFB #FB6ACF
triadic
#DE6AFB #FBDE6A #6AFBDE
tetradic
#DE6AFB #FB966A #87FB6A #6ACFFB
square
#DE6AFB #FB966A #87FB6A #6ACFFB
split-complementary
#DE6AFB #CFFB6A #6AFB96
monochromatic
#B806E4 #D12EF9 #DE6AFB #EBA6FD #F8E1FE

Accessibility & contrast

On white

2.78
#DE6AFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.56
#DE6AFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DE6AFB
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DE6AFB#FFFFFF#000000##000000
##DE6AFB1.002.787.567.56
#FFFFFF2.781.0021.0021.00
#0000007.5621.001.001.00
##0000007.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4893FF
Deuteranopia (green-blind)
#739FF7
Tritanopia (blue-blind)
#DE81A9
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #de6afb;
/* rgb */ color: rgb(222, 106, 251);
/* oklch */ color: oklch(71.8% 0.226 319.2);
Tailwind
colors: {
  custom: {
    50: '#eb9afd',
    500: '#de6afb',
    950: '#000000',
  },
}
SCSS
$custom: #de6afb;
$custom-light: #eb9afd;
$custom-dark: #000000;
JSON
{
  "hex": "#de6afb",
  "rgb": {
    "r": 222,
    "g": 106,
    "b": 251
  },
  "hsl": {
    "h": 288,
    "s": 94.771,
    "l": 70
  },
  "oklch": {
    "l": 0.7177,
    "c": 0.22618,
    "h": 319.2
  },
  "luminance": 0.32803
}

Semantic roles & 50–950 ramp

primary
#DE6AFB
secondary
#D4F5CC
accent
#E6002E
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#170E18
muted
#857E86

Preview Lab

Preview with #DE6AFB

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

Preview Lab → · Contrast checker → · Palette generator →

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