#CA34C6#CA34C6

#CA34C6 is a mid, highly saturated purple. Relative luminance 0.191; OKLCH L 60.8% C 0.240 H 329.2°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#CA34C6
RGBrgb(202, 52, 198)
HSLhsl(302, 59%, 50%)
HSVhsv(302, 74%, 79%)
CMYKcmyk(0%, 74.3%, 2%, 20.8%)
CIE-LABlab(50.80, 73.11, -44.33)
CIE-LCHlch(50.80, 85.50, 328.77°)
OKLaboklab(60.75% 0.2058 -0.1226)
OKLCHoklch(60.75% 0.24 329.2)
XYZxyz(35.7779, 19.0925, 55.2160)
Luminance0.1909 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA34C6 #34CA38
analogous
#8334CA #CA34C6 #CA347B
triadic
#CA34C6 #C6CA34 #34C6CA
tetradic
#CA34C6 #CA8334 #34CA38 #347BCA
square
#CA34C6 #CA8334 #34CA38 #347BCA
split-complementary
#CA34C6 #7BCA34 #34CA83
monochromatic
#691B67 #992796 #CA34C6 #D764D4 #E495E2

Accessibility & contrast

On white

4.36
#CA34C6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#CA34C6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA34C6
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA34C6#FFFFFF#000000##000000
##CA34C61.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#1A6CCA
Deuteranopia (green-blind)
#6080C2
Tritanopia (blue-blind)
#D14A7B
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #ca34c6;
/* rgb */ color: rgb(202, 52, 198);
/* oklch */ color: oklch(60.8% 0.240 329.2);
Tailwind
colors: {
  custom: {
    50: '#de7bd8',
    500: '#ca34c6',
    950: '#000000',
  },
}
SCSS
$custom: #ca34c6;
$custom-light: #de7bd8;
$custom-dark: #000000;
JSON
{
  "hex": "#ca34c6",
  "rgb": {
    "r": 202,
    "g": 52,
    "b": 198
  },
  "hsl": {
    "h": 301.6,
    "s": 59.055,
    "l": 49.804
  },
  "oklch": {
    "l": 0.60751,
    "c": 0.23956,
    "h": 329.2
  },
  "luminance": 0.1909
}

Semantic roles & 50–950 ramp

primary
#CA34C6
secondary
#8BCF8D
accent
#E24A46
background
#FEF8FD
surface
#FCEFFA
border
#D5CAD3
text
#160B14
muted
#847C83

Preview Lab

Preview with #CA34C6

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

Preview Lab → · Contrast checker → · Palette generator →

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