#CA42C3#CA42C3

#CA42C3 is a mid, highly saturated purple. Relative luminance 0.204; OKLCH L 61.8% C 0.222 H 330.0°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#CA42C3
RGBrgb(202, 66, 195)
HSLhsl(303, 56%, 53%)
HSVhsv(303, 67%, 79%)
CMYKcmyk(0%, 67.3%, 3.5%, 20.8%)
CIE-LABlab(52.28, 67.97, -40.24)
CIE-LCHlch(52.28, 78.99, 329.37°)
OKLaboklab(61.77% 0.1924 -0.1109)
OKLCHoklch(61.77% 0.222 330)
XYZxyz(36.1555, 20.3958, 53.6517)
Luminance0.2039 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA42C3 #42CA49
analogous
#8D42CA #CA42C3 #CA427F
triadic
#CA42C3 #C3CA42 #42C3CA
tetradic
#CA42C3 #CA8D42 #42CA49 #427FCA
square
#CA42C3 #CA8D42 #42CA49 #427FCA
split-complementary
#CA42C3 #7FCA42 #42CA8D
monochromatic
#72206E #A22D9C #CA42C3 #D772D2 #E5A2E1

Accessibility & contrast

On white

4.13
#CA42C3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#CA42C3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA42C3
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA42C3#FFFFFF#000000##000000
##CA42C31.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3571C7
Deuteranopia (green-blind)
#6883C0
Tritanopia (blue-blind)
#D1527D
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #ca42c3;
/* rgb */ color: rgb(202, 66, 195);
/* oklch */ color: oklch(61.8% 0.222 330.0);
Tailwind
colors: {
  custom: {
    50: '#de81d5',
    500: '#ca42c3',
    950: '#000000',
  },
}
SCSS
$custom: #ca42c3;
$custom-light: #de81d5;
$custom-dark: #000000;
JSON
{
  "hex": "#ca42c3",
  "rgb": {
    "r": 202,
    "g": 66,
    "b": 195
  },
  "hsl": {
    "h": 303.088,
    "s": 56.198,
    "l": 52.549
  },
  "oklch": {
    "l": 0.61768,
    "c": 0.22205,
    "h": 330
  },
  "luminance": 0.20393
}

Semantic roles & 50–950 ramp

primary
#CA42C3
secondary
#96D199
accent
#DF5048
background
#FEF8FD
surface
#FCEFFA
border
#D5CAD3
text
#160B14
muted
#847C83

Preview Lab

Preview with #CA42C3

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

Preview Lab → · Contrast checker → · Palette generator →

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