#CA34B4#CA34B4

#CA34B4 is a mid, highly saturated purple. Relative luminance 0.183; OKLCH L 59.8% C 0.227 H 334.8°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#CA34B4
RGBrgb(202, 52, 180)
HSLhsl(309, 59%, 50%)
HSVhsv(309, 74%, 79%)
CMYKcmyk(0%, 74.3%, 10.9%, 20.8%)
CIE-LABlab(49.87, 70.40, -35.32)
CIE-LCHlch(49.87, 78.76, 333.35°)
OKLaboklab(59.79% 0.2052 -0.0966)
OKLCHoklch(59.79% 0.227 334.8)
XYZxyz(33.8237, 18.3108, 44.9241)
Luminance0.1831 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA34B4 #34CA4A
analogous
#9534CA #CA34B4 #CA3469
triadic
#CA34B4 #B4CA34 #34B4CA
tetradic
#CA34B4 #CA9534 #34CA4A #3469CA
square
#CA34B4 #CA9534 #34CA4A #3469CA
split-complementary
#CA34B4 #69CA34 #34CA95
monochromatic
#691B5D #992789 #CA34B4 #D764C6 #E495D8

Accessibility & contrast

On white

4.50
#CA34B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#CA34B4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA34B4
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA34B4#FFFFFF#000000##000000
##CA34B41.004.504.664.66
#FFFFFF4.501.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3369B7
Deuteranopia (green-blind)
#697EB0
Tritanopia (blue-blind)
#D44171
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #ca34b4;
/* rgb */ color: rgb(202, 52, 180);
/* oklch */ color: oklch(59.8% 0.227 334.8);
Tailwind
colors: {
  custom: {
    50: '#de7bcb',
    500: '#ca34b4',
    950: '#000000',
  },
}
SCSS
$custom: #ca34b4;
$custom-light: #de7bcb;
$custom-dark: #000000;
JSON
{
  "hex": "#ca34b4",
  "rgb": {
    "r": 202,
    "g": 52,
    "b": 180
  },
  "hsl": {
    "h": 308.8,
    "s": 59.055,
    "l": 49.804
  },
  "oklch": {
    "l": 0.59789,
    "c": 0.22679,
    "h": 334.8
  },
  "luminance": 0.18308
}

Semantic roles & 50–950 ramp

primary
#CA34B4
secondary
#8BCF95
accent
#E25D46
background
#FEF8FC
surface
#FCEFF8
border
#D5CAD1
text
#160A13
muted
#847C82

Preview Lab

Preview with #CA34B4

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

Preview Lab → · Contrast checker → · Palette generator →

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