#CA39B6#CA39B6

#CA39B6 is a mid, highly saturated purple. Relative luminance 0.189; OKLCH L 60.3% C 0.223 H 334.2°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#CA39B6
RGBrgb(202, 57, 182)
HSLhsl(308, 58%, 51%)
HSVhsv(308, 72%, 79%)
CMYKcmyk(0%, 71.8%, 9.9%, 20.8%)
CIE-LABlab(50.53, 69.10, -35.46)
CIE-LCHlch(50.53, 77.67, 332.83°)
OKLaboklab(60.29% 0.2006 -0.097)
OKLCHoklch(60.29% 0.223 334.2)
XYZxyz(34.2641, 18.8632, 46.0833)
Luminance0.1886 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA39B6 #39CA4D
analogous
#9539CA #CA39B6 #CA396D
triadic
#CA39B6 #B6CA39 #39B6CA
tetradic
#CA39B6 #CA9539 #39CA4D #396DCA
square
#CA39B6 #CA9539 #39CA4D #396DCA
split-complementary
#CA39B6 #6DCA39 #39CA95
monochromatic
#6C1D61 #9C2A8C #CA39B6 #D769C8 #E49ADA

Accessibility & contrast

On white

4.40
#CA39B6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#CA39B6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA39B6
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA39B6#FFFFFF#000000##000000
##CA39B61.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#366BB9
Deuteranopia (green-blind)
#6A80B3
Tritanopia (blue-blind)
#D34674
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #ca39b6;
/* rgb */ color: rgb(202, 57, 182);
/* oklch */ color: oklch(60.3% 0.223 334.2);
Tailwind
colors: {
  custom: {
    50: '#de7dcc',
    500: '#ca39b6',
    950: '#000000',
  },
}
SCSS
$custom: #ca39b6;
$custom-light: #de7dcc;
$custom-dark: #000000;
JSON
{
  "hex": "#ca39b6",
  "rgb": {
    "r": 202,
    "g": 57,
    "b": 182
  },
  "hsl": {
    "h": 308.276,
    "s": 57.769,
    "l": 50.784
  },
  "oklch": {
    "l": 0.60293,
    "c": 0.22287,
    "h": 334.2
  },
  "luminance": 0.1886
}

Semantic roles & 50–950 ramp

primary
#CA39B6
secondary
#8FD098
accent
#E15C47
background
#FEF8FC
surface
#FCEFF9
border
#D5CAD2
text
#160B13
muted
#847C82

Preview Lab

Preview with #CA39B6

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

Preview Lab → · Contrast checker → · Palette generator →

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