#CA34BA#CA34BA

#CA34BA is a mid, highly saturated purple. Relative luminance 0.186; OKLCH L 60.1% C 0.231 H 332.9°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#CA34BA
RGBrgb(202, 52, 186)
HSLhsl(306, 59%, 50%)
HSVhsv(306, 74%, 79%)
CMYKcmyk(0%, 74.3%, 7.9%, 20.8%)
CIE-LABlab(50.17, 71.28, -38.36)
CIE-LCHlch(50.17, 80.94, 331.71°)
OKLaboklab(60.1% 0.2055 -0.1053)
OKLCHoklch(60.1% 0.231 332.9)
XYZxyz(34.4482, 18.5606, 48.2131)
Luminance0.1856 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA34BA #34CA44
analogous
#8F34CA #CA34BA #CA346F
triadic
#CA34BA #BACA34 #34BACA
tetradic
#CA34BA #CA8F34 #34CA44 #346FCA
square
#CA34BA #CA8F34 #34CA44 #346FCA
split-complementary
#CA34BA #6FCA34 #34CA8F
monochromatic
#691B60 #99278D #CA34BA #D764CB #E495DB

Accessibility & contrast

On white

4.46
#CA34BA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#CA34BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA34BA
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA34BA#FFFFFF#000000##000000
##CA34BA1.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C6ABE
Deuteranopia (green-blind)
#677FB6
Tritanopia (blue-blind)
#D34474
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #ca34ba;
/* rgb */ color: rgb(202, 52, 186);
/* oklch */ color: oklch(60.1% 0.231 332.9);
Tailwind
colors: {
  custom: {
    50: '#de7bcf',
    500: '#ca34ba',
    950: '#000000',
  },
}
SCSS
$custom: #ca34ba;
$custom-light: #de7bcf;
$custom-dark: #000000;
JSON
{
  "hex": "#ca34ba",
  "rgb": {
    "r": 202,
    "g": 52,
    "b": 186
  },
  "hsl": {
    "h": 306.4,
    "s": 59.055,
    "l": 49.804
  },
  "oklch": {
    "l": 0.601,
    "c": 0.23095,
    "h": 332.9
  },
  "luminance": 0.18558
}

Semantic roles & 50–950 ramp

primary
#CA34BA
secondary
#8BCF92
accent
#E25646
background
#FEF8FC
surface
#FCEFF9
border
#D5CAD2
text
#160A14
muted
#847C82

Preview Lab

Preview with #CA34BA

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

Preview Lab → · Contrast checker → · Palette generator →

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