#CA34C5#CA34C5

#CA34C5 is a mid, highly saturated purple. Relative luminance 0.190; OKLCH L 60.7% C 0.239 H 329.5°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#CA34C5
RGBrgb(202, 52, 197)
HSLhsl(302, 59%, 50%)
HSVhsv(302, 74%, 79%)
CMYKcmyk(0%, 74.3%, 2.5%, 20.8%)
CIE-LABlab(50.74, 72.95, -43.83)
CIE-LCHlch(50.74, 85.11, 329.00°)
OKLaboklab(60.7% 0.2058 -0.1212)
OKLCHoklch(60.7% 0.239 329.5)
XYZxyz(35.6629, 19.0465, 54.6105)
Luminance0.1904 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA34C5 #34CA39
analogous
#8434CA #CA34C5 #CA347A
triadic
#CA34C5 #C5CA34 #34C5CA
tetradic
#CA34C5 #CA8434 #34CA39 #347ACA
square
#CA34C5 #CA8434 #34CA39 #347ACA
split-complementary
#CA34C5 #7ACA34 #34CA84
monochromatic
#691B66 #992796 #CA34C5 #D764D3 #E495E1

Accessibility & contrast

On white

4.37
#CA34C5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#CA34C5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA34C5
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA34C5#FFFFFF#000000##000000
##CA34C51.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#1C6CC9
Deuteranopia (green-blind)
#6180C1
Tritanopia (blue-blind)
#D14A7A
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #ca34c5;
/* rgb */ color: rgb(202, 52, 197);
/* oklch */ color: oklch(60.7% 0.239 329.5);
Tailwind
colors: {
  custom: {
    50: '#de7bd7',
    500: '#ca34c5',
    950: '#000000',
  },
}
SCSS
$custom: #ca34c5;
$custom-light: #de7bd7;
$custom-dark: #000000;
JSON
{
  "hex": "#ca34c5",
  "rgb": {
    "r": 202,
    "g": 52,
    "b": 197
  },
  "hsl": {
    "h": 302,
    "s": 59.055,
    "l": 49.804
  },
  "oklch": {
    "l": 0.60695,
    "c": 0.23884,
    "h": 329.5
  },
  "luminance": 0.19044
}

Semantic roles & 50–950 ramp

primary
#CA34C5
secondary
#8BCF8D
accent
#E24B46
background
#FEF8FD
surface
#FCEFFA
border
#D5CAD3
text
#160B14
muted
#847C83

Preview Lab

Preview with #CA34C5

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

Preview Lab → · Contrast checker → · Palette generator →

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