#CA42D6#CA42D6

#CA42D6 is a light, highly saturated purple. Relative luminance 0.213; OKLCH L 62.8% C 0.237 H 324.4°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#CA42D6
RGBrgb(202, 66, 214)
HSLhsl(295, 64%, 55%)
HSVhsv(295, 69%, 84%)
CMYKcmyk(5.6%, 69.2%, 0%, 16.1%)
CIE-LABlab(53.29, 71.11, -49.54)
CIE-LCHlch(53.29, 86.67, 325.14°)
OKLaboklab(62.82% 0.1927 -0.1379)
OKLCHoklch(62.82% 0.237 324.4)
XYZxyz(38.4419, 21.3104, 65.6938)
Luminance0.2131 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA42D6 #4ED642
analogous
#8042D6 #CA42D6 #D64298
triadic
#CA42D6 #D6CA42 #42D6CA
tetradic
#CA42D6 #D68042 #4ED642 #4298D6
square
#CA42D6 #D68042 #4ED642 #4298D6
split-complementary
#CA42D6 #98D642 #42D680
monochromatic
#791C82 #A827B4 #CA42D6 #D874E1 #E6A7EC

Accessibility & contrast

On white

3.99
#CA42D6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#CA42D6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA42D6
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA42D6#FFFFFF#000000##000000
##CA42D61.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#1975DA
Deuteranopia (green-blind)
#5D85D2
Tritanopia (blue-blind)
#CE5B88
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #ca42d6;
/* rgb */ color: rgb(202, 66, 214);
/* oklch */ color: oklch(62.8% 0.237 324.4);
Tailwind
colors: {
  custom: {
    50: '#de82e3',
    500: '#ca42d6',
    950: '#000000',
  },
}
SCSS
$custom: #ca42d6;
$custom-light: #de82e3;
$custom-dark: #000000;
JSON
{
  "hex": "#ca42d6",
  "rgb": {
    "r": 202,
    "g": 66,
    "b": 214
  },
  "hsl": {
    "h": 295.135,
    "s": 64.348,
    "l": 54.902
  },
  "oklch": {
    "l": 0.62817,
    "c": 0.23697,
    "h": 324.4
  },
  "luminance": 0.21308
}

Semantic roles & 50–950 ramp

primary
#CA42D6
secondary
#A0D99B
accent
#E7404E
background
#FEF8FE
surface
#FCF0FC
border
#D5CBD5
text
#160B15
muted
#847C84

Preview Lab

Preview with #CA42D6

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

Preview Lab → · Contrast checker → · Palette generator →

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