#DE7BFC#DE7BFC

#DE7BFC is a light, highly saturated purple. Relative luminance 0.367; OKLCH L 74.0% C 0.202 H 317.9°. Best body text is #000000 at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#DE7BFC
RGBrgb(222, 123, 252)
HSLhsl(286, 96%, 74%)
HSVhsv(286, 51%, 99%)
CMYKcmyk(11.9%, 51.2%, 0%, 1.2%)
CIE-LABlab(67.07, 58.02, -48.74)
CIE-LCHlch(67.07, 75.78, 319.97°)
OKLaboklab(74.04% 0.1498 -0.1354)
OKLCHoklch(74.04% 0.202 317.9)
XYZxyz(54.7754, 36.7257, 96.2800)
Luminance0.3672 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DE7BFC #99FC7B
analogous
#9D7BFC #DE7BFC #FC7BD9
triadic
#DE7BFC #FCDE7B #7BFCDE
tetradic
#DE7BFC #FC9D7B #99FC7B #7BD9FC
square
#DE7BFC #FC9D7B #99FC7B #7BD9FC
split-complementary
#DE7BFC #D9FC7B #7BFC9D
monochromatic
#BF06F7 #CF3FFB #DE7BFC #EDB7FD #F8E1FE

Accessibility & contrast

On white

2.52
#DE7BFC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.34
#DE7BFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DE7BFC
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DE7BFC#FFFFFF#000000##000000
##DE7BFC1.002.528.348.34
#FFFFFF2.521.0021.0021.00
#0000008.3421.001.001.00
##0000008.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#619DFF
Deuteranopia (green-blind)
#80A7F9
Tritanopia (blue-blind)
#DE8EB0
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #de7bfc;
/* rgb */ color: rgb(222, 123, 252);
/* oklch */ color: oklch(74.0% 0.202 317.9);
Tailwind
colors: {
  custom: {
    50: '#eba4fe',
    500: '#de7bfc',
    950: '#000000',
  },
}
SCSS
$custom: #de7bfc;
$custom-light: #eba4fe;
$custom-dark: #000000;
JSON
{
  "hex": "#de7bfc",
  "rgb": {
    "r": 222,
    "g": 123,
    "b": 252
  },
  "hsl": {
    "h": 286.047,
    "s": 95.556,
    "l": 73.529
  },
  "oklch": {
    "l": 0.74036,
    "c": 0.20193,
    "h": 317.9
  },
  "luminance": 0.36724
}

Semantic roles & 50–950 ramp

primary
#DE7BFC
secondary
#DCF7D4
accent
#E60035
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#160F18
muted
#847F86

Preview Lab

Preview with #DE7BFC

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

Preview Lab → · Contrast checker → · Palette generator →

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