#DE7CFE#DE7CFE

#DE7CFE is a light, highly saturated purple. Relative luminance 0.371; OKLCH L 74.3% C 0.202 H 317.3°. Best body text is #000000 at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#DE7CFE
RGBrgb(222, 124, 254)
HSLhsl(285, 98%, 74%)
HSVhsv(285, 51%, 100%)
CMYKcmyk(12.6%, 51.2%, 0%, 0.4%)
CIE-LABlab(67.35, 57.92, -49.39)
CIE-LCHlch(67.35, 76.12, 319.55°)
OKLaboklab(74.28% 0.1487 -0.1373)
OKLCHoklch(74.28% 0.202 317.3)
XYZxyz(55.2187, 37.1025, 97.9995)
Luminance0.3710 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DE7CFE #9CFE7C
analogous
#9D7CFE #DE7CFE #FE7CDD
triadic
#DE7CFE #FEDE7C #7CFEDE
tetradic
#DE7CFE #FE9D7C #9CFE7C #7CDDFE
square
#DE7CFE #FE9D7C #9CFE7C #7CDDFE
split-complementary
#DE7CFE #DDFE7C #7CFE9D
monochromatic
#BF03FD #CF3FFE #DE7CFE #EDB9FE #F7E1FF

Accessibility & contrast

On white

2.49
#DE7CFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.42
#DE7CFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DE7CFE
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DE7CFE#FFFFFF#000000##000000
##DE7CFE1.002.498.428.42
#FFFFFF2.491.0021.0021.00
#0000008.4221.001.001.00
##0000008.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#619EFF
Deuteranopia (green-blind)
#80A7FA
Tritanopia (blue-blind)
#DD8FB2
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #de7cfe;
/* rgb */ color: rgb(222, 124, 254);
/* oklch */ color: oklch(74.3% 0.202 317.3);
Tailwind
colors: {
  custom: {
    50: '#eba5ff',
    500: '#de7cfe',
    950: '#000000',
  },
}
SCSS
$custom: #de7cfe;
$custom-light: #eba5ff;
$custom-dark: #000000;
JSON
{
  "hex": "#de7cfe",
  "rgb": {
    "r": 222,
    "g": 124,
    "b": 254
  },
  "hsl": {
    "h": 285.231,
    "s": 98.485,
    "l": 74.118
  },
  "oklch": {
    "l": 0.74277,
    "c": 0.20238,
    "h": 317.3
  },
  "luminance": 0.37101
}

Semantic roles & 50–950 ramp

primary
#DE7CFE
secondary
#DDF7D4
accent
#E60038
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#161018
muted
#847F86

Preview Lab

Preview with #DE7CFE

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

Preview Lab → · Contrast checker → · Palette generator →

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