#DE7CFC#DE7CFC

#DE7CFC is a light, highly saturated purple. Relative luminance 0.370; OKLCH L 74.2% C 0.200 H 317.8°. Best body text is #000000 at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#DE7CFC
RGBrgb(222, 124, 252)
HSLhsl(286, 96%, 74%)
HSVhsv(286, 51%, 99%)
CMYKcmyk(11.9%, 50.8%, 0%, 1.2%)
CIE-LABlab(67.26, 57.53, -48.44)
CIE-LCHlch(67.26, 75.21, 319.90°)
OKLaboklab(74.18% 0.1485 -0.1346)
OKLCHoklch(74.18% 0.2 317.8)
XYZxyz(54.9001, 36.9751, 96.3216)
Luminance0.3697 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DE7CFC #9AFC7C
analogous
#9E7CFC #DE7CFC #FC7CDA
triadic
#DE7CFC #FCDE7C #7CFCDE
tetradic
#DE7CFC #FC9E7C #9AFC7C #7CDAFC
square
#DE7CFC #FC9E7C #9AFC7C #7CDAFC
split-complementary
#DE7CFC #DAFC7C #7CFC9E
monochromatic
#BF06F8 #CF40FB #DE7CFC #EDB8FD #F7E1FE

Accessibility & contrast

On white

2.50
#DE7CFC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.39
#DE7CFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DE7CFC
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DE7CFC#FFFFFF#000000##000000
##DE7CFC1.002.508.398.39
#FFFFFF2.501.0021.0021.00
#0000008.3921.001.001.00
##0000008.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#639DFF
Deuteranopia (green-blind)
#81A7F9
Tritanopia (blue-blind)
#DE8FB1
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #de7cfc;
/* rgb */ color: rgb(222, 124, 252);
/* oklch */ color: oklch(74.2% 0.200 317.8);
Tailwind
colors: {
  custom: {
    50: '#eba5fe',
    500: '#de7cfc',
    950: '#000000',
  },
}
SCSS
$custom: #de7cfc;
$custom-light: #eba5fe;
$custom-dark: #000000;
JSON
{
  "hex": "#de7cfc",
  "rgb": {
    "r": 222,
    "g": 124,
    "b": 252
  },
  "hsl": {
    "h": 285.938,
    "s": 95.522,
    "l": 73.725
  },
  "oklch": {
    "l": 0.74175,
    "c": 0.20038,
    "h": 317.8
  },
  "luminance": 0.36973
}

Semantic roles & 50–950 ramp

primary
#DE7CFC
secondary
#DCF7D4
accent
#E60036
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#161018
muted
#847F86

Preview Lab

Preview with #DE7CFC

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

Preview Lab → · Contrast checker → · Palette generator →

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