#CA42D4#CA42D4

#CA42D4 is a light, highly saturated purple. Relative luminance 0.212; OKLCH L 62.7% C 0.235 H 325.0°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#CA42D4
RGBrgb(202, 66, 212)
HSLhsl(296, 63%, 55%)
HSVhsv(296, 69%, 83%)
CMYKcmyk(4.7%, 68.9%, 0%, 16.9%)
CIE-LABlab(53.18, 70.77, -48.57)
CIE-LCHlch(53.18, 85.84, 325.54°)
OKLaboklab(62.7% 0.1928 -0.1351)
OKLCHoklch(62.7% 0.235 325)
XYZxyz(38.1881, 21.2089, 64.3569)
Luminance0.2121 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA42D4 #4CD442
analogous
#8142D4 #CA42D4 #D44295
triadic
#CA42D4 #D4CA42 #42D4CA
tetradic
#CA42D4 #D48142 #4CD442 #4295D4
square
#CA42D4 #D48142 #4CD442 #4295D4
split-complementary
#CA42D4 #95D442 #42D481
monochromatic
#781D7F #A728B1 #CA42D4 #D874DF #E6A6EB

Accessibility & contrast

On white

4.01
#CA42D4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#CA42D4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA42D4
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA42D4#FFFFFF#000000##000000
##CA42D41.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#1D74D8
Deuteranopia (green-blind)
#5F85D0
Tritanopia (blue-blind)
#CE5A87
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #ca42d4;
/* rgb */ color: rgb(202, 66, 212);
/* oklch */ color: oklch(62.7% 0.235 325.0);
Tailwind
colors: {
  custom: {
    50: '#de82e2',
    500: '#ca42d4',
    950: '#000000',
  },
}
SCSS
$custom: #ca42d4;
$custom-light: #de82e2;
$custom-dark: #000000;
JSON
{
  "hex": "#ca42d4",
  "rgb": {
    "r": 202,
    "g": 66,
    "b": 212
  },
  "hsl": {
    "h": 295.89,
    "s": 62.931,
    "l": 54.51
  },
  "oklch": {
    "l": 0.62702,
    "c": 0.23537,
    "h": 325
  },
  "luminance": 0.21206
}

Semantic roles & 50–950 ramp

primary
#CA42D4
secondary
#9ED89A
accent
#E6424D
background
#FEF8FD
surface
#FCF0FB
border
#D5CBD4
text
#160B15
muted
#847C83

Preview Lab

Preview with #CA42D4

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

Preview Lab → · Contrast checker → · Palette generator →

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