#DE7BF7#DE7BF7

#DE7BF7 is a light, vivid purple. Relative luminance 0.364; OKLCH L 73.8% C 0.197 H 319.3°. Best body text is #000000 at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#DE7BF7
RGBrgb(222, 123, 247)
HSLhsl(288, 89%, 73%)
HSVhsv(288, 50%, 97%)
CMYKcmyk(10.1%, 50.2%, 0%, 3.1%)
CIE-LABlab(66.83, 57.05, -46.37)
CIE-LCHlch(66.83, 73.52, 320.90°)
OKLaboklab(73.79% 0.1492 -0.1286)
OKLCHoklch(73.79% 0.197 319.3)
XYZxyz(53.9935, 36.4130, 92.1619)
Luminance0.3641 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DE7BF7 #94F77B
analogous
#A07BF7 #DE7BF7 #F77BD2
triadic
#DE7BF7 #F7DE7B #7BF7DE
tetradic
#DE7BF7 #F7A07B #94F77B #7BD2F7
square
#DE7BF7 #F7A07B #94F77B #7BD2F7
split-complementary
#DE7BF7 #D2F77B #7BF7A0
monochromatic
#BD0EE9 #D041F4 #DE7BF7 #ECB5FA #F8E2FD

Accessibility & contrast

On white

2.54
#DE7BF7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.28
#DE7BF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DE7BF7
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DE7BF7#FFFFFF#000000##000000
##DE7BF71.002.548.288.28
#FFFFFF2.541.0021.0021.00
#0000008.2821.001.001.00
##0000008.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#659CFB
Deuteranopia (green-blind)
#83A6F4
Tritanopia (blue-blind)
#DF8DAE
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #de7bf7;
/* rgb */ color: rgb(222, 123, 247);
/* oklch */ color: oklch(73.8% 0.197 319.3);
Tailwind
colors: {
  custom: {
    50: '#eba4fa',
    500: '#de7bf7',
    950: '#000000',
  },
}
SCSS
$custom: #de7bf7;
$custom-light: #eba4fa;
$custom-dark: #000000;
JSON
{
  "hex": "#de7bf7",
  "rgb": {
    "r": 222,
    "g": 123,
    "b": 247
  },
  "hsl": {
    "h": 287.903,
    "s": 88.571,
    "l": 72.549
  },
  "oklch": {
    "l": 0.73785,
    "c": 0.19698,
    "h": 319.3
  },
  "luminance": 0.36411
}

Semantic roles & 50–950 ramp

primary
#DE7BF7
secondary
#DCF5D6
accent
#E5002E
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#160F17
muted
#847F85

Preview Lab

Preview with #DE7BF7

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

Preview Lab → · Contrast checker → · Palette generator →

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