#CA34C9#CA34C9

#CA34C9 is a mid, highly saturated purple. Relative luminance 0.192; OKLCH L 60.9% C 0.242 H 328.3°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#CA34C9
RGBrgb(202, 52, 201)
HSLhsl(300, 59%, 50%)
HSVhsv(300, 74%, 79%)
CMYKcmyk(0%, 74.3%, 0.5%, 20.8%)
CIE-LABlab(50.96, 73.58, -45.80)
CIE-LCHlch(50.96, 86.67, 328.10°)
OKLaboklab(60.92% 0.2058 -0.1269)
OKLCHoklch(60.92% 0.242 328.3)
XYZxyz(36.1273, 19.2323, 57.0564)
Luminance0.1923 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA34C9 #34CA35
analogous
#8034CA #CA34C9 #CA347E
triadic
#CA34C9 #C9CA34 #34C9CA
tetradic
#CA34C9 #CA8034 #34CA35 #347ECA
square
#CA34C9 #CA8034 #34CA35 #347ECA
split-complementary
#CA34C9 #7ECA34 #34CA80
monochromatic
#691B68 #992799 #CA34C9 #D764D6 #E495E3

Accessibility & contrast

On white

4.33
#CA34C9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#CA34C9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA34C9
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA34C9#FFFFFF#000000##000000
##CA34C91.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#136DCD
Deuteranopia (green-blind)
#5F80C5
Tritanopia (blue-blind)
#D14C7D
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #ca34c9;
/* rgb */ color: rgb(202, 52, 201);
/* oklch */ color: oklch(60.9% 0.242 328.3);
Tailwind
colors: {
  custom: {
    50: '#de7bda',
    500: '#ca34c9',
    950: '#000000',
  },
}
SCSS
$custom: #ca34c9;
$custom-light: #de7bda;
$custom-dark: #000000;
JSON
{
  "hex": "#ca34c9",
  "rgb": {
    "r": 202,
    "g": 52,
    "b": 201
  },
  "hsl": {
    "h": 300.4,
    "s": 59.055,
    "l": 49.804
  },
  "oklch": {
    "l": 0.6092,
    "c": 0.24177,
    "h": 328.3
  },
  "luminance": 0.1923
}

Semantic roles & 50–950 ramp

primary
#CA34C9
secondary
#8BCF8B
accent
#E24746
background
#FEF8FD
surface
#FCEFFB
border
#D5CAD4
text
#160B15
muted
#847C83

Preview Lab

Preview with #CA34C9

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

Preview Lab → · Contrast checker → · Palette generator →

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