#CA34C4#CA34C4

#CA34C4 is a mid, highly saturated purple. Relative luminance 0.190; OKLCH L 60.6% C 0.238 H 329.8°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#CA34C4
RGBrgb(202, 52, 196)
HSLhsl(302, 59%, 50%)
HSVhsv(302, 74%, 79%)
CMYKcmyk(0%, 74.3%, 3%, 20.8%)
CIE-LABlab(50.69, 72.80, -43.34)
CIE-LCHlch(50.69, 84.72, 329.23°)
OKLaboklab(60.64% 0.2058 -0.1197)
OKLCHoklch(60.64% 0.238 329.8)
XYZxyz(35.5487, 19.0008, 54.0091)
Luminance0.1900 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA34C4 #34CA3A
analogous
#8534CA #CA34C4 #CA3479
triadic
#CA34C4 #C4CA34 #34C4CA
tetradic
#CA34C4 #CA8534 #34CA3A #3479CA
square
#CA34C4 #CA8534 #34CA3A #3479CA
split-complementary
#CA34C4 #79CA34 #34CA85
monochromatic
#691B66 #992795 #CA34C4 #D764D3 #E495E0

Accessibility & contrast

On white

4.38
#CA34C4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#CA34C4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA34C4
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA34C4#FFFFFF#000000##000000
##CA34C41.004.384.804.80
#FFFFFF4.381.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#1E6CC8
Deuteranopia (green-blind)
#6180C0
Tritanopia (blue-blind)
#D1497A
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #ca34c4;
/* rgb */ color: rgb(202, 52, 196);
/* oklch */ color: oklch(60.6% 0.238 329.8);
Tailwind
colors: {
  custom: {
    50: '#de7bd6',
    500: '#ca34c4',
    950: '#000000',
  },
}
SCSS
$custom: #ca34c4;
$custom-light: #de7bd6;
$custom-dark: #000000;
JSON
{
  "hex": "#ca34c4",
  "rgb": {
    "r": 202,
    "g": 52,
    "b": 196
  },
  "hsl": {
    "h": 302.4,
    "s": 59.055,
    "l": 49.804
  },
  "oklch": {
    "l": 0.6064,
    "c": 0.2381,
    "h": 329.8
  },
  "luminance": 0.18998
}

Semantic roles & 50–950 ramp

primary
#CA34C4
secondary
#8BCF8E
accent
#E24C46
background
#FEF8FD
surface
#FCEFFA
border
#D5CAD3
text
#160B14
muted
#847C83

Preview Lab

Preview with #CA34C4

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

Preview Lab → · Contrast checker → · Palette generator →

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