#CA39B9#CA39B9

#CA39B9 is a mid, highly saturated purple. Relative luminance 0.190; OKLCH L 60.4% C 0.225 H 333.2°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#CA39B9
RGBrgb(202, 57, 185)
HSLhsl(307, 58%, 51%)
HSVhsv(307, 72%, 79%)
CMYKcmyk(0%, 71.8%, 8.4%, 20.8%)
CIE-LABlab(50.67, 69.55, -36.98)
CIE-LCHlch(50.67, 78.77, 332.00°)
OKLaboklab(60.45% 0.2009 -0.1014)
OKLCHoklch(60.45% 0.225 333.2)
XYZxyz(34.5774, 18.9885, 47.7336)
Luminance0.1899 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA39B9 #39CA4A
analogous
#9239CA #CA39B9 #CA3971
triadic
#CA39B9 #B9CA39 #39B9CA
tetradic
#CA39B9 #CA9239 #39CA4A #3971CA
square
#CA39B9 #CA9239 #39CA4A #3971CA
split-complementary
#CA39B9 #71CA39 #39CA92
monochromatic
#6C1D63 #9C2A8F #CA39B9 #D769CA #E49ADB

Accessibility & contrast

On white

4.38
#CA39B9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#CA39B9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA39B9
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA39B9#FFFFFF#000000##000000
##CA39B91.004.384.804.80
#FFFFFF4.381.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#336BBD
Deuteranopia (green-blind)
#6980B5
Tritanopia (blue-blind)
#D34775
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #ca39b9;
/* rgb */ color: rgb(202, 57, 185);
/* oklch */ color: oklch(60.4% 0.225 333.2);
Tailwind
colors: {
  custom: {
    50: '#de7dce',
    500: '#ca39b9',
    950: '#000000',
  },
}
SCSS
$custom: #ca39b9;
$custom-light: #de7dce;
$custom-dark: #000000;
JSON
{
  "hex": "#ca39b9",
  "rgb": {
    "r": 202,
    "g": 57,
    "b": 185
  },
  "hsl": {
    "h": 307.034,
    "s": 57.769,
    "l": 50.784
  },
  "oklch": {
    "l": 0.60447,
    "c": 0.22501,
    "h": 333.2
  },
  "luminance": 0.18986
}

Semantic roles & 50–950 ramp

primary
#CA39B9
secondary
#8FD097
accent
#E15947
background
#FEF8FC
surface
#FCEFF9
border
#D5CAD2
text
#160B13
muted
#847C82

Preview Lab

Preview with #CA39B9

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

Preview Lab → · Contrast checker → · Palette generator →

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