#CA34D1#CA34D1

#CA34D1 is a mid, highly saturated purple. Relative luminance 0.196; OKLCH L 61.4% C 0.248 H 326.1°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#CA34D1
RGBrgb(202, 52, 209)
HSLhsl(297, 63%, 51%)
HSVhsv(297, 75%, 82%)
CMYKcmyk(3.3%, 75.1%, 0%, 18%)
CIE-LABlab(51.40, 74.86, -49.69)
CIE-LCHlch(51.40, 89.85, 326.43°)
OKLaboklab(61.38% 0.2056 -0.1382)
OKLCHoklch(61.38% 0.248 326.1)
XYZxyz(37.0930, 19.6185, 62.1423)
Luminance0.1962 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA34D1 #3BD134
analogous
#7B34D1 #CA34D1 #D13489
triadic
#CA34D1 #D1CA34 #34D1CA
tetradic
#CA34D1 #D17B34 #3BD134 #3489D1
square
#CA34D1 #D17B34 #3BD134 #3489D1
split-complementary
#CA34D1 #89D134 #34D17B
monochromatic
#6D1A71 #9D25A3 #CA34D1 #D766DC #E498E8

Accessibility & contrast

On white

4.27
#CA34D1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#CA34D1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA34D1
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA34D1#FFFFFF#000000##000000
##CA34D11.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#006FD5
Deuteranopia (green-blind)
#5A81CD
Tritanopia (blue-blind)
#CF5081
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #ca34d1;
/* rgb */ color: rgb(202, 52, 209);
/* oklch */ color: oklch(61.4% 0.248 326.1);
Tailwind
colors: {
  custom: {
    50: '#de7ce0',
    500: '#ca34d1',
    950: '#000000',
  },
}
SCSS
$custom: #ca34d1;
$custom-light: #de7ce0;
$custom-dark: #000000;
JSON
{
  "hex": "#ca34d1",
  "rgb": {
    "r": 202,
    "g": 52,
    "b": 209
  },
  "hsl": {
    "h": 297.325,
    "s": 63.052,
    "l": 51.176
  },
  "oklch": {
    "l": 0.6138,
    "c": 0.24771,
    "h": 326.1
  },
  "luminance": 0.19616
}

Semantic roles & 50–950 ramp

primary
#CA34D1
secondary
#91D38E
accent
#E64249
background
#FEF8FD
surface
#FCEFFB
border
#D5CAD4
text
#160B15
muted
#847C83

Preview Lab

Preview with #CA34D1

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

Preview Lab → · Contrast checker → · Palette generator →

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