#DE7CFB#DE7CFB

#DE7CFB is a light, vivid purple. Relative luminance 0.369; OKLCH L 74.1% C 0.199 H 318.1°. Best body text is #000000 at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#DE7CFB
RGBrgb(222, 124, 251)
HSLhsl(286, 94%, 74%)
HSVhsv(286, 51%, 98%)
CMYKcmyk(11.6%, 50.6%, 0%, 1.6%)
CIE-LABlab(67.21, 57.34, -47.97)
CIE-LCHlch(67.21, 74.76, 320.08°)
OKLaboklab(74.12% 0.1484 -0.1332)
OKLCHoklch(74.12% 0.199 318.1)
XYZxyz(54.7420, 36.9119, 95.4892)
Luminance0.3691 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DE7CFB #99FB7C
analogous
#9E7CFB #DE7CFB #FB7CD8
triadic
#DE7CFB #FBDE7C #7CFBDE
tetradic
#DE7CFB #FB9E7C #99FB7C #7CD8FB
square
#DE7CFB #FB9E7C #99FB7C #7CD8FB
split-complementary
#DE7CFB #D8FB7C #7CFB9E
monochromatic
#BF07F5 #CF41F9 #DE7CFB #EDB7FD #F8E1FE

Accessibility & contrast

On white

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

On black

8.38
#DE7CFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DE7CFB
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DE7CFB#FFFFFF#000000##000000
##DE7CFB1.002.518.388.38
#FFFFFF2.511.0021.0021.00
#0000008.3821.001.001.00
##0000008.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#639DFF
Deuteranopia (green-blind)
#82A7F8
Tritanopia (blue-blind)
#DE8FB0
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #de7cfb;
/* rgb */ color: rgb(222, 124, 251);
/* oklch */ color: oklch(74.1% 0.199 318.1);
Tailwind
colors: {
  custom: {
    50: '#eba5fd',
    500: '#de7cfb',
    950: '#000000',
  },
}
SCSS
$custom: #de7cfb;
$custom-light: #eba5fd;
$custom-dark: #000000;
JSON
{
  "hex": "#de7cfb",
  "rgb": {
    "r": 222,
    "g": 124,
    "b": 251
  },
  "hsl": {
    "h": 286.299,
    "s": 94.074,
    "l": 73.529
  },
  "oklch": {
    "l": 0.74124,
    "c": 0.19939,
    "h": 318.1
  },
  "luminance": 0.3691
}

Semantic roles & 50–950 ramp

primary
#DE7CFB
secondary
#DCF6D5
accent
#E60034
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#161018
muted
#847F86

Preview Lab

Preview with #DE7CFB

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

Preview Lab → · Contrast checker → · Palette generator →

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