#DE7CF2#DE7CF2

#DE7CF2 is a light, vivid purple. Relative luminance 0.364; OKLCH L 73.7% C 0.190 H 320.6°. Best body text is #000000 at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#DE7CF2
RGBrgb(222, 124, 242)
HSLhsl(290, 82%, 72%)
HSVhsv(290, 49%, 95%)
CMYKcmyk(8.3%, 48.8%, 0%, 5.1%)
CIE-LABlab(66.79, 55.60, -43.69)
CIE-LCHlch(66.79, 70.71, 321.84°)
OKLaboklab(73.68% 0.1473 -0.1208)
OKLCHoklch(73.68% 0.19 320.6)
XYZxyz(53.3570, 36.3578, 88.1944)
Luminance0.3636 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DE7CF2 #90F27C
analogous
#A37CF2 #DE7CF2 #F27CCB
triadic
#DE7CF2 #F2DE7C #7CF2DE
tetradic
#DE7CF2 #F2A37C #90F27C #7CCBF2
square
#DE7CF2 #F2A37C #90F27C #7CCBF2
split-complementary
#DE7CF2 #CBF27C #7CF2A3
monochromatic
#BC16DE #D044EC #DE7CF2 #ECB4F8 #F8E3FC

Accessibility & contrast

On white

2.54
#DE7CF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.27
#DE7CF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DE7CF2
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DE7CF2#FFFFFF#000000##000000
##DE7CF21.002.548.278.27
#FFFFFF2.541.0021.0021.00
#0000008.2721.001.001.00
##0000008.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#699CF6
Deuteranopia (green-blind)
#86A6EF
Tritanopia (blue-blind)
#E08CAC
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #de7cf2;
/* rgb */ color: rgb(222, 124, 242);
/* oklch */ color: oklch(73.7% 0.190 320.6);
Tailwind
colors: {
  custom: {
    50: '#eaa5f7',
    500: '#de7cf2',
    950: '#000000',
  },
}
SCSS
$custom: #de7cf2;
$custom-light: #eaa5f7;
$custom-dark: #000000;
JSON
{
  "hex": "#de7cf2",
  "rgb": {
    "r": 222,
    "g": 124,
    "b": 242
  },
  "hsl": {
    "h": 289.831,
    "s": 81.944,
    "l": 71.765
  },
  "oklch": {
    "l": 0.73678,
    "c": 0.19049,
    "h": 320.6
  },
  "luminance": 0.36356
}

Semantic roles & 50–950 ramp

primary
#DE7CF2
secondary
#DBF4D6
accent
#DE072C
background
#FEFAFF
surface
#FDF4FE
border
#D5CED6
text
#160F17
muted
#847F85

Preview Lab

Preview with #DE7CF2

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

Preview Lab → · Contrast checker → · Palette generator →

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