#CA39B4#CA39B4

#CA39B4 is a mid, highly saturated purple. Relative luminance 0.188; OKLCH L 60.2% C 0.221 H 334.9°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#CA39B4
RGBrgb(202, 57, 180)
HSLhsl(309, 58%, 51%)
HSVhsv(309, 72%, 79%)
CMYKcmyk(0%, 71.8%, 10.9%, 20.8%)
CIE-LABlab(50.43, 68.80, -34.44)
CIE-LCHlch(50.43, 76.94, 333.41°)
OKLaboklab(60.19% 0.2005 -0.0941)
OKLCHoklch(60.19% 0.221 334.9)
XYZxyz(34.0588, 18.7811, 45.0025)
Luminance0.1878 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA39B4 #39CA4F
analogous
#9739CA #CA39B4 #CA396C
triadic
#CA39B4 #B4CA39 #39B4CA
tetradic
#CA39B4 #CA9739 #39CA4F #396CCA
square
#CA39B4 #CA9739 #39CA4F #396CCA
split-complementary
#CA39B4 #6CCA39 #39CA97
monochromatic
#6C1D60 #9C2A8B #CA39B4 #D769C6 #E49AD9

Accessibility & contrast

On white

4.42
#CA39B4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#CA39B4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA39B4
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA39B4#FFFFFF#000000##000000
##CA39B41.004.424.764.76
#FFFFFF4.421.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#386AB7
Deuteranopia (green-blind)
#6B80B1
Tritanopia (blue-blind)
#D44572
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #ca39b4;
/* rgb */ color: rgb(202, 57, 180);
/* oklch */ color: oklch(60.2% 0.221 334.9);
Tailwind
colors: {
  custom: {
    50: '#de7dcb',
    500: '#ca39b4',
    950: '#000000',
  },
}
SCSS
$custom: #ca39b4;
$custom-light: #de7dcb;
$custom-dark: #000000;
JSON
{
  "hex": "#ca39b4",
  "rgb": {
    "r": 202,
    "g": 57,
    "b": 180
  },
  "hsl": {
    "h": 309.103,
    "s": 57.769,
    "l": 50.784
  },
  "oklch": {
    "l": 0.60192,
    "c": 0.22147,
    "h": 334.9
  },
  "luminance": 0.18778
}

Semantic roles & 50–950 ramp

primary
#CA39B4
secondary
#8FD099
accent
#E15E47
background
#FEF8FC
surface
#FCEFF8
border
#D5CAD1
text
#160B13
muted
#847C82

Preview Lab

Preview with #CA39B4

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

Preview Lab → · Contrast checker → · Palette generator →

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