#DE7BF2#DE7BF2

#DE7BF2 is a light, vivid purple. Relative luminance 0.361; OKLCH L 73.5% C 0.192 H 320.7°. Best body text is #000000 at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#DE7BF2
RGBrgb(222, 123, 242)
HSLhsl(290, 82%, 72%)
HSVhsv(290, 49%, 95%)
CMYKcmyk(8.3%, 49.2%, 0%, 5.1%)
CIE-LABlab(66.60, 56.10, -43.99)
CIE-LCHlch(66.60, 71.29, 321.90°)
OKLaboklab(73.54% 0.1486 -0.1217)
OKLCHoklch(73.54% 0.192 320.7)
XYZxyz(53.2323, 36.1085, 88.1528)
Luminance0.3611 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DE7BF2 #8FF27B
analogous
#A37BF2 #DE7BF2 #F27BCB
triadic
#DE7BF2 #F2DE7B #7BF2DE
tetradic
#DE7BF2 #F2A37B #8FF27B #7BCBF2
square
#DE7BF2 #F2A37B #8FF27B #7BCBF2
split-complementary
#DE7BF2 #CBF27B #7BF2A3
monochromatic
#BB16DD #D043ED #DE7BF2 #ECB3F7 #F8E3FC

Accessibility & contrast

On white

2.55
#DE7BF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.22
#DE7BF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DE7BF2
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DE7BF2#FFFFFF#000000##000000
##DE7BF21.002.558.228.22
#FFFFFF2.551.0021.0021.00
#0000008.2221.001.001.00
##0000008.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#689BF6
Deuteranopia (green-blind)
#85A6EF
Tritanopia (blue-blind)
#E08BAC
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #de7bf2;
/* rgb */ color: rgb(222, 123, 242);
/* oklch */ color: oklch(73.5% 0.192 320.7);
Tailwind
colors: {
  custom: {
    50: '#eaa4f7',
    500: '#de7bf2',
    950: '#000000',
  },
}
SCSS
$custom: #de7bf2;
$custom-light: #eaa4f7;
$custom-dark: #000000;
JSON
{
  "hex": "#de7bf2",
  "rgb": {
    "r": 222,
    "g": 123,
    "b": 242
  },
  "hsl": {
    "h": 289.916,
    "s": 82.069,
    "l": 71.569
  },
  "oklch": {
    "l": 0.73538,
    "c": 0.19207,
    "h": 320.7
  },
  "luminance": 0.36106
}

Semantic roles & 50–950 ramp

primary
#DE7BF2
secondary
#DAF4D5
accent
#DE072B
background
#FEFAFF
surface
#FDF4FE
border
#D5CED6
text
#160F17
muted
#847F85

Preview Lab

Preview with #DE7BF2

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

Preview Lab → · Contrast checker → · Palette generator →

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