#CA42E5#CA42E5

#CA42E5 is a light, highly saturated purple. Relative luminance 0.221; OKLCH L 63.7% C 0.249 H 320.4°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#CA42E5
RGBrgb(202, 66, 229)
HSLhsl(290, 76%, 58%)
HSVhsv(290, 71%, 90%)
CMYKcmyk(11.8%, 71.2%, 0%, 10.2%)
CIE-LABlab(54.15, 73.73, -56.67)
CIE-LCHlch(54.15, 92.99, 322.46°)
OKLaboklab(63.71% 0.1921 -0.1587)
OKLCHoklch(63.71% 0.249 320.4)
XYZxyz(40.4465, 22.1122, 76.2512)
Luminance0.2211 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA42E5 #5DE542
analogous
#7842E5 #CA42E5 #E542AF
triadic
#CA42E5 #E5CA42 #42E5CA
tetradic
#CA42E5 #E57842 #5DE542 #42AFE5
square
#CA42E5 #E57842 #5DE542 #42AFE5
split-complementary
#CA42E5 #AFE542 #42E578
monochromatic
#821598 #B01CCE #CA42E5 #D978EC #E8AEF4

Accessibility & contrast

On white

3.87
#CA42E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#CA42E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA42E5
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA42E5#FFFFFF#000000##000000
##CA42E51.003.875.425.42
#FFFFFF3.871.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078EA
Deuteranopia (green-blind)
#5286E1
Tritanopia (blue-blind)
#CB6190
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #ca42e5;
/* rgb */ color: rgb(202, 66, 229);
/* oklch */ color: oklch(63.7% 0.249 320.4);
Tailwind
colors: {
  custom: {
    50: '#de83ee',
    500: '#ca42e5',
    950: '#000000',
  },
}
SCSS
$custom: #ca42e5;
$custom-light: #de83ee;
$custom-dark: #000000;
JSON
{
  "hex": "#ca42e5",
  "rgb": {
    "r": 202,
    "g": 66,
    "b": 229
  },
  "hsl": {
    "h": 290.061,
    "s": 75.814,
    "l": 57.843
  },
  "oklch": {
    "l": 0.63706,
    "c": 0.24918,
    "h": 320.4
  },
  "luminance": 0.2211
}

Semantic roles & 50–950 ramp

primary
#CA42E5
secondary
#ACE2A1
accent
#F23555
background
#FEF8FE
surface
#FCF0FD
border
#D5CBD5
text
#160C16
muted
#847D84

Preview Lab

Preview with #CA42E5

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

Preview Lab → · Contrast checker → · Palette generator →

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