#CA34B3#CA34B3

#CA34B3 is a mid, highly saturated purple. Relative luminance 0.183; OKLCH L 59.7% C 0.226 H 335.1°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#CA34B3
RGBrgb(202, 52, 179)
HSLhsl(309, 59%, 50%)
HSVhsv(309, 74%, 79%)
CMYKcmyk(0%, 74.3%, 11.4%, 20.8%)
CIE-LABlab(49.82, 70.25, -34.81)
CIE-LCHlch(49.82, 78.40, 333.64°)
OKLaboklab(59.74% 0.2051 -0.0951)
OKLCHoklch(59.74% 0.226 335.1)
XYZxyz(33.7222, 18.2702, 44.3896)
Luminance0.1827 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA34B3 #34CA4B
analogous
#9634CA #CA34B3 #CA3468
triadic
#CA34B3 #B3CA34 #34B3CA
tetradic
#CA34B3 #CA9634 #34CA4B #3468CA
square
#CA34B3 #CA9634 #34CA4B #3468CA
split-complementary
#CA34B3 #68CA34 #34CA96
monochromatic
#691B5D #992788 #CA34B3 #D764C5 #E495D8

Accessibility & contrast

On white

4.51
#CA34B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#CA34B3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA34B3
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA34B3#FFFFFF#000000##000000
##CA34B31.004.514.654.65
#FFFFFF4.511.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3468B6
Deuteranopia (green-blind)
#6A7EAF
Tritanopia (blue-blind)
#D44170
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #ca34b3;
/* rgb */ color: rgb(202, 52, 179);
/* oklch */ color: oklch(59.7% 0.226 335.1);
Tailwind
colors: {
  custom: {
    50: '#de7bca',
    500: '#ca34b3',
    950: '#000000',
  },
}
SCSS
$custom: #ca34b3;
$custom-light: #de7bca;
$custom-dark: #000000;
JSON
{
  "hex": "#ca34b3",
  "rgb": {
    "r": 202,
    "g": 52,
    "b": 179
  },
  "hsl": {
    "h": 309.2,
    "s": 59.055,
    "l": 49.804
  },
  "oklch": {
    "l": 0.59738,
    "c": 0.22609,
    "h": 335.1
  },
  "luminance": 0.18267
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CA34B3

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

Preview Lab → · Contrast checker → · Palette generator →

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