#CA34C7#CA34C7

#CA34C7 is a mid, highly saturated purple. Relative luminance 0.191; OKLCH L 60.8% C 0.240 H 328.9°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#CA34C7
RGBrgb(202, 52, 199)
HSLhsl(301, 59%, 50%)
HSVhsv(301, 74%, 79%)
CMYKcmyk(0%, 74.3%, 1.5%, 20.8%)
CIE-LABlab(50.85, 73.26, -44.82)
CIE-LCHlch(50.85, 85.88, 328.55°)
OKLaboklab(60.81% 0.2058 -0.124)
OKLCHoklch(60.81% 0.24 328.9)
XYZxyz(35.8936, 19.1388, 55.8254)
Luminance0.1914 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA34C7 #34CA37
analogous
#8234CA #CA34C7 #CA347C
triadic
#CA34C7 #C7CA34 #34C7CA
tetradic
#CA34C7 #CA8234 #34CA37 #347CCA
square
#CA34C7 #CA8234 #34CA37 #347CCA
split-complementary
#CA34C7 #7CCA34 #34CA82
monochromatic
#691B67 #992797 #CA34C7 #D764D5 #E495E2

Accessibility & contrast

On white

4.35
#CA34C7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#CA34C7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA34C7
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA34C7#FFFFFF#000000##000000
##CA34C71.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#186CCB
Deuteranopia (green-blind)
#6080C3
Tritanopia (blue-blind)
#D14B7C
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #ca34c7;
/* rgb */ color: rgb(202, 52, 199);
/* oklch */ color: oklch(60.8% 0.240 328.9);
Tailwind
colors: {
  custom: {
    50: '#de7bd8',
    500: '#ca34c7',
    950: '#000000',
  },
}
SCSS
$custom: #ca34c7;
$custom-light: #de7bd8;
$custom-dark: #000000;
JSON
{
  "hex": "#ca34c7",
  "rgb": {
    "r": 202,
    "g": 52,
    "b": 199
  },
  "hsl": {
    "h": 301.2,
    "s": 59.055,
    "l": 49.804
  },
  "oklch": {
    "l": 0.60807,
    "c": 0.2403,
    "h": 328.9
  },
  "luminance": 0.19136
}

Semantic roles & 50–950 ramp

primary
#CA34C7
secondary
#8BCF8C
accent
#E24946
background
#FEF8FD
surface
#FCEFFA
border
#D5CAD3
text
#160B14
muted
#847C83

Preview Lab

Preview with #CA34C7

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

Preview Lab → · Contrast checker → · Palette generator →

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