#DE7BFB#DE7BFB

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

Color values

HEX#DE7BFB
RGBrgb(222, 123, 251)
HSLhsl(286, 94%, 73%)
HSVhsv(286, 51%, 98%)
CMYKcmyk(11.6%, 51%, 0%, 1.6%)
CIE-LABlab(67.02, 57.83, -48.27)
CIE-LCHlch(67.02, 75.33, 320.15°)
OKLaboklab(73.99% 0.1497 -0.1341)
OKLCHoklch(73.99% 0.201 318.1)
XYZxyz(54.6174, 36.6625, 95.4476)
Luminance0.3666 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DE7BFB #98FB7B
analogous
#9E7BFB #DE7BFB #FB7BD8
triadic
#DE7BFB #FBDE7B #7BFBDE
tetradic
#DE7BFB #FB9E7B #98FB7B #7BD8FB
square
#DE7BFB #FB9E7B #98FB7B #7BD8FB
split-complementary
#DE7BFB #D8FB7B #7BFB9E
monochromatic
#BF07F4 #CF40F9 #DE7BFB #EDB6FD #F8E1FE

Accessibility & contrast

On white

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

On black

8.33
#DE7BFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DE7BFB
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DE7BFB#FFFFFF#000000##000000
##DE7BFB1.002.528.338.33
#FFFFFF2.521.0021.0021.00
#0000008.3321.001.001.00
##0000008.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#629DFF
Deuteranopia (green-blind)
#81A6F8
Tritanopia (blue-blind)
#DE8EB0
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #de7bfb;
/* rgb */ color: rgb(222, 123, 251);
/* oklch */ color: oklch(74.0% 0.201 318.1);
Tailwind
colors: {
  custom: {
    50: '#eba4fd',
    500: '#de7bfb',
    950: '#000000',
  },
}
SCSS
$custom: #de7bfb;
$custom-light: #eba4fd;
$custom-dark: #000000;
JSON
{
  "hex": "#de7bfb",
  "rgb": {
    "r": 222,
    "g": 123,
    "b": 251
  },
  "hsl": {
    "h": 286.406,
    "s": 94.118,
    "l": 73.333
  },
  "oklch": {
    "l": 0.73986,
    "c": 0.20093,
    "h": 318.1
  },
  "luminance": 0.36661
}

Semantic roles & 50–950 ramp

primary
#DE7BFB
secondary
#DCF6D5
accent
#E60034
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#160F18
muted
#847F86

Preview Lab

Preview with #DE7BFB

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

Preview Lab → · Contrast checker → · Palette generator →

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