#CA34CD#CA34CD

#CA34CD is a mid, highly saturated purple. Relative luminance 0.194; OKLCH L 61.1% C 0.245 H 327.2°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#CA34CD
RGBrgb(202, 52, 205)
HSLhsl(299, 60%, 50%)
HSVhsv(299, 75%, 80%)
CMYKcmyk(1.5%, 74.6%, 0%, 19.6%)
CIE-LABlab(51.18, 74.21, -47.75)
CIE-LCHlch(51.18, 88.25, 327.24°)
OKLaboklab(61.15% 0.2057 -0.1326)
OKLCHoklch(61.15% 0.245 327.2)
XYZxyz(36.6040, 19.4229, 59.5668)
Luminance0.1942 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA34CD #37CD34
analogous
#7E34CD #CA34CD #CD3483
triadic
#CA34CD #CDCA34 #34CDCA
tetradic
#CA34CD #CD7E34 #37CD34 #3483CD
square
#CA34CD #CD7E34 #37CD34 #3483CD
split-complementary
#CA34CD #83CD34 #34CD7E
monochromatic
#6A1B6C #9B279D #CA34CD #D765D9 #E496E5

Accessibility & contrast

On white

4.30
#CA34CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#CA34CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA34CD
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA34CD#FFFFFF#000000##000000
##CA34CD1.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#036ED1
Deuteranopia (green-blind)
#5C80C9
Tritanopia (blue-blind)
#D04E7F
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #ca34cd;
/* rgb */ color: rgb(202, 52, 205);
/* oklch */ color: oklch(61.1% 0.245 327.2);
Tailwind
colors: {
  custom: {
    50: '#de7cdd',
    500: '#ca34cd',
    950: '#000000',
  },
}
SCSS
$custom: #ca34cd;
$custom-light: #de7cdd;
$custom-dark: #000000;
JSON
{
  "hex": "#ca34cd",
  "rgb": {
    "r": 202,
    "g": 52,
    "b": 205
  },
  "hsl": {
    "h": 298.824,
    "s": 60.474,
    "l": 50.392
  },
  "oklch": {
    "l": 0.61148,
    "c": 0.24472,
    "h": 327.2
  },
  "luminance": 0.1942
}

Semantic roles & 50–950 ramp

primary
#CA34CD
secondary
#8ED18C
accent
#E44447
background
#FEF8FD
surface
#FCEFFB
border
#D5CAD4
text
#160B15
muted
#847C83

Preview Lab

Preview with #CA34CD

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

Preview Lab → · Contrast checker → · Palette generator →

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