#CA42C0#CA42C0

#CA42C0 is a mid, highly saturated purple. Relative luminance 0.203; OKLCH L 61.6% C 0.220 H 331.0°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#CA42C0
RGBrgb(202, 66, 192)
HSLhsl(304, 56%, 53%)
HSVhsv(304, 67%, 79%)
CMYKcmyk(0%, 67.3%, 5%, 20.8%)
CIE-LABlab(52.13, 67.49, -38.75)
CIE-LCHlch(52.13, 77.82, 330.14°)
OKLaboklab(61.61% 0.1922 -0.1066)
OKLCHoklch(61.61% 0.22 331)
XYZxyz(35.8197, 20.2615, 51.8832)
Luminance0.2026 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA42C0 #42CA4C
analogous
#9042CA #CA42C0 #CA427C
triadic
#CA42C0 #C0CA42 #42C0CA
tetradic
#CA42C0 #CA9042 #42CA4C #427CCA
square
#CA42C0 #CA9042 #42CA4C #427CCA
split-complementary
#CA42C0 #7CCA42 #42CA90
monochromatic
#72206C #A22D99 #CA42C0 #D772D0 #E5A2E0

Accessibility & contrast

On white

4.16
#CA42C0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#CA42C0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA42C0
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA42C0#FFFFFF#000000##000000
##CA42C01.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3870C4
Deuteranopia (green-blind)
#6A83BD
Tritanopia (blue-blind)
#D2517C
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #ca42c0;
/* rgb */ color: rgb(202, 66, 192);
/* oklch */ color: oklch(61.6% 0.220 331.0);
Tailwind
colors: {
  custom: {
    50: '#de81d3',
    500: '#ca42c0',
    950: '#000000',
  },
}
SCSS
$custom: #ca42c0;
$custom-light: #de81d3;
$custom-dark: #000000;
JSON
{
  "hex": "#ca42c0",
  "rgb": {
    "r": 202,
    "g": 66,
    "b": 192
  },
  "hsl": {
    "h": 304.412,
    "s": 56.198,
    "l": 52.549
  },
  "oklch": {
    "l": 0.61611,
    "c": 0.21976,
    "h": 331
  },
  "luminance": 0.20259
}

Semantic roles & 50–950 ramp

primary
#CA42C0
secondary
#96D19B
accent
#DF5348
background
#FEF8FD
surface
#FCEFFA
border
#D5CAD3
text
#160B14
muted
#847C83

Preview Lab

Preview with #CA42C0

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

Preview Lab → · Contrast checker → · Palette generator →

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