#CA34BD#CA34BD

#CA34BD is a mid, highly saturated purple. Relative luminance 0.187; OKLCH L 60.3% C 0.233 H 331.9°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#CA34BD
RGBrgb(202, 52, 189)
HSLhsl(305, 59%, 50%)
HSVhsv(305, 74%, 79%)
CMYKcmyk(0%, 74.3%, 6.4%, 20.8%)
CIE-LABlab(50.32, 71.73, -39.86)
CIE-LCHlch(50.32, 82.06, 330.94°)
OKLaboklab(60.26% 0.2057 -0.1097)
OKLCHoklch(60.26% 0.233 331.9)
XYZxyz(34.7705, 18.6895, 49.9104)
Luminance0.1869 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA34BD #34CA41
analogous
#8C34CA #CA34BD #CA3472
triadic
#CA34BD #BDCA34 #34BDCA
tetradic
#CA34BD #CA8C34 #34CA41 #3472CA
square
#CA34BD #CA8C34 #34CA41 #3472CA
split-complementary
#CA34BD #72CA34 #34CA8C
monochromatic
#691B62 #99278F #CA34BD #D764CD #E495DD

Accessibility & contrast

On white

4.43
#CA34BD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#CA34BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA34BD
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA34BD#FFFFFF#000000##000000
##CA34BD1.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#296AC1
Deuteranopia (green-blind)
#657FB9
Tritanopia (blue-blind)
#D24676
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #ca34bd;
/* rgb */ color: rgb(202, 52, 189);
/* oklch */ color: oklch(60.3% 0.233 331.9);
Tailwind
colors: {
  custom: {
    50: '#de7bd1',
    500: '#ca34bd',
    950: '#000000',
  },
}
SCSS
$custom: #ca34bd;
$custom-light: #de7bd1;
$custom-dark: #000000;
JSON
{
  "hex": "#ca34bd",
  "rgb": {
    "r": 202,
    "g": 52,
    "b": 189
  },
  "hsl": {
    "h": 305.2,
    "s": 59.055,
    "l": 49.804
  },
  "oklch": {
    "l": 0.60259,
    "c": 0.23308,
    "h": 331.9
  },
  "luminance": 0.18687
}

Semantic roles & 50–950 ramp

primary
#CA34BD
secondary
#8BCF91
accent
#E25346
background
#FEF8FC
surface
#FCEFF9
border
#D5CAD2
text
#160B14
muted
#847C82

Preview Lab

Preview with #CA34BD

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

Preview Lab → · Contrast checker → · Palette generator →

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