#DE7BFE#DE7BFE

#DE7BFE is a light, highly saturated purple. Relative luminance 0.369; OKLCH L 74.1% C 0.204 H 317.3°. Best body text is #000000 at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#DE7BFE
RGBrgb(222, 123, 254)
HSLhsl(285, 98%, 74%)
HSVhsv(285, 52%, 100%)
CMYKcmyk(12.6%, 51.6%, 0%, 0.4%)
CIE-LABlab(67.17, 58.42, -49.68)
CIE-LCHlch(67.17, 76.69, 319.62°)
OKLaboklab(74.14% 0.15 -0.1382)
OKLCHoklch(74.14% 0.204 317.3)
XYZxyz(55.0940, 36.8532, 97.9579)
Luminance0.3685 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DE7BFE #9BFE7B
analogous
#9D7BFE #DE7BFE #FE7BDC
triadic
#DE7BFE #FEDE7B #7BFEDE
tetradic
#DE7BFE #FE9D7B #9BFE7B #7BDCFE
square
#DE7BFE #FE9D7B #9BFE7B #7BDCFE
split-complementary
#DE7BFE #DCFE7B #7BFE9D
monochromatic
#BF02FD #CF3EFE #DE7BFE #EDB8FE #F7E1FF

Accessibility & contrast

On white

2.51
#DE7BFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.37
#DE7BFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DE7BFE
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DE7BFE#FFFFFF#000000##000000
##DE7BFE1.002.518.378.37
#FFFFFF2.511.0021.0021.00
#0000008.3721.001.001.00
##0000008.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#609DFF
Deuteranopia (green-blind)
#7FA7FA
Tritanopia (blue-blind)
#DD8FB1
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #de7bfe;
/* rgb */ color: rgb(222, 123, 254);
/* oklch */ color: oklch(74.1% 0.204 317.3);
Tailwind
colors: {
  custom: {
    50: '#eba4ff',
    500: '#de7bfe',
    950: '#000000',
  },
}
SCSS
$custom: #de7bfe;
$custom-light: #eba4ff;
$custom-dark: #000000;
JSON
{
  "hex": "#de7bfe",
  "rgb": {
    "r": 222,
    "g": 123,
    "b": 254
  },
  "hsl": {
    "h": 285.344,
    "s": 98.496,
    "l": 73.922
  },
  "oklch": {
    "l": 0.74138,
    "c": 0.20392,
    "h": 317.3
  },
  "luminance": 0.36851
}

Semantic roles & 50–950 ramp

primary
#DE7BFE
secondary
#DDF7D4
accent
#E60038
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#160F18
muted
#847F86

Preview Lab

Preview with #DE7BFE

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

Preview Lab → · Contrast checker → · Palette generator →

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