#DE42CB#DE42CB

#DE42CB is a light, highly saturated purple. Relative luminance 0.237; OKLCH L 65.1% C 0.239 H 333.4°. Best body text is #000000 at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#DE42CB
RGBrgb(222, 66, 203)
HSLhsl(307, 70%, 56%)
HSVhsv(307, 70%, 87%)
CMYKcmyk(0%, 70.3%, 8.6%, 12.9%)
CIE-LABlab(55.83, 73.79, -39.04)
CIE-LCHlch(55.83, 83.48, 332.12°)
OKLaboklab(65.07% 0.2132 -0.107)
OKLCHoklch(65.07% 0.239 333.4)
XYZxyz(42.8522, 23.7414, 58.8140)
Luminance0.2374 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DE42CB #42DE55
analogous
#A342DE #DE42CB #DE427D
triadic
#DE42CB #CBDE42 #42CBDE
tetradic
#DE42CB #DEA342 #42DE55 #427DDE
square
#DE42CB #DEA342 #42DE55 #427DDE
split-complementary
#DE42CB #7DDE42 #42DEA3
monochromatic
#8D197F #C122AE #DE42CB #E776D9 #F0AAE8

Accessibility & contrast

On white

3.65
#DE42CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.75
#DE42CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DE42CB
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DE42CB#FFFFFF#000000##000000
##DE42CB1.003.655.755.75
#FFFFFF3.651.0021.0021.00
#0000005.7521.001.001.00
##0000005.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D77CF
Deuteranopia (green-blind)
#758EC7
Tritanopia (blue-blind)
#E85182
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #de42cb;
/* rgb */ color: rgb(222, 66, 203);
/* oklch */ color: oklch(65.1% 0.239 333.4);
Tailwind
colors: {
  custom: {
    50: '#ec84db',
    500: '#de42cb',
    950: '#000000',
  },
}
SCSS
$custom: #de42cb;
$custom-light: #ec84db;
$custom-dark: #000000;
JSON
{
  "hex": "#de42cb",
  "rgb": {
    "r": 222,
    "g": 66,
    "b": 203
  },
  "hsl": {
    "h": 307.308,
    "s": 70.27,
    "l": 56.471
  },
  "oklch": {
    "l": 0.65065,
    "c": 0.23858,
    "h": 333.4
  },
  "luminance": 0.23738
}

Semantic roles & 50–950 ramp

primary
#DE42CB
secondary
#9EDEA6
accent
#ED503B
background
#FFF8FD
surface
#FEF0FB
border
#D6CBD4
text
#170C15
muted
#857D83

Preview Lab

Preview with #DE42CB

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

Preview Lab → · Contrast checker → · Palette generator →

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