#DF42CB#DF42CB

#DF42CB is a light, highly saturated purple. Relative luminance 0.239; OKLCH L 65.2% C 0.239 H 333.6°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#DF42CB
RGBrgb(223, 66, 203)
HSLhsl(308, 71%, 57%)
HSVhsv(308, 70%, 87%)
CMYKcmyk(0%, 70.4%, 9%, 12.5%)
CIE-LABlab(55.99, 74.02, -38.78)
CIE-LCHlch(55.99, 83.56, 332.35°)
OKLaboklab(65.21% 0.2142 -0.1062)
OKLCHoklch(65.21% 0.239 333.6)
XYZxyz(43.1594, 23.8998, 58.8284)
Luminance0.2390 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF42CB #42DF56
analogous
#A442DF #DF42CB #DF427D
triadic
#DF42CB #CBDF42 #42CBDF
tetradic
#DF42CB #DFA442 #42DF56 #427DDF
square
#DF42CB #DFA442 #42DF56 #427DDF
split-complementary
#DF42CB #7DDF42 #42DFA4
monochromatic
#8E187F #C321AE #DF42CB #E876D9 #F1ABE8

Accessibility & contrast

On white

3.63
#DF42CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.78
#DF42CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DF42CB
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF42CB#FFFFFF#000000##000000
##DF42CB1.003.635.785.78
#FFFFFF3.631.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D78CF
Deuteranopia (green-blind)
#768EC7
Tritanopia (blue-blind)
#E95082
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #df42cb;
/* rgb */ color: rgb(223, 66, 203);
/* oklch */ color: oklch(65.2% 0.239 333.6);
Tailwind
colors: {
  custom: {
    50: '#ed84db',
    500: '#df42cb',
    950: '#000000',
  },
}
SCSS
$custom: #df42cb;
$custom-light: #ed84db;
$custom-dark: #000000;
JSON
{
  "hex": "#df42cb",
  "rgb": {
    "r": 223,
    "g": 66,
    "b": 203
  },
  "hsl": {
    "h": 307.643,
    "s": 71.041,
    "l": 56.667
  },
  "oklch": {
    "l": 0.6521,
    "c": 0.23912,
    "h": 333.6
  },
  "luminance": 0.23896
}

Semantic roles & 50–950 ramp

primary
#DF42CB
secondary
#9EDFA6
accent
#EE513A
background
#FFF8FD
surface
#FEF0FB
border
#D6CBD4
text
#170C15
muted
#857D83

Preview Lab

Preview with #DF42CB

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

Preview Lab → · Contrast checker → · Palette generator →

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