#CA39BA#CA39BA

#CA39BA is a mid, highly saturated purple. Relative luminance 0.190; OKLCH L 60.5% C 0.226 H 332.9°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#CA39BA
RGBrgb(202, 57, 186)
HSLhsl(307, 58%, 51%)
HSVhsv(307, 72%, 79%)
CMYKcmyk(0%, 71.8%, 7.9%, 20.8%)
CIE-LABlab(50.72, 69.70, -37.48)
CIE-LCHlch(50.72, 79.14, 331.73°)
OKLaboklab(60.5% 0.2009 -0.1029)
OKLCHoklch(60.5% 0.226 332.9)
XYZxyz(34.6833, 19.0309, 48.2915)
Luminance0.1903 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA39BA #39CA49
analogous
#9239CA #CA39BA #CA3971
triadic
#CA39BA #BACA39 #39BACA
tetradic
#CA39BA #CA9239 #39CA49 #3971CA
square
#CA39BA #CA9239 #39CA49 #3971CA
split-complementary
#CA39BA #71CA39 #39CA92
monochromatic
#6C1D63 #9C2A8F #CA39BA #D769CB #E49ADC

Accessibility & contrast

On white

4.37
#CA39BA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#CA39BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA39BA
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA39BA#FFFFFF#000000##000000
##CA39BA1.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#326CBE
Deuteranopia (green-blind)
#6980B6
Tritanopia (blue-blind)
#D34876
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #ca39ba;
/* rgb */ color: rgb(202, 57, 186);
/* oklch */ color: oklch(60.5% 0.226 332.9);
Tailwind
colors: {
  custom: {
    50: '#de7dcf',
    500: '#ca39ba',
    950: '#000000',
  },
}
SCSS
$custom: #ca39ba;
$custom-light: #de7dcf;
$custom-dark: #000000;
JSON
{
  "hex": "#ca39ba",
  "rgb": {
    "r": 202,
    "g": 57,
    "b": 186
  },
  "hsl": {
    "h": 306.621,
    "s": 57.769,
    "l": 50.784
  },
  "oklch": {
    "l": 0.60499,
    "c": 0.22572,
    "h": 332.9
  },
  "luminance": 0.19028
}

Semantic roles & 50–950 ramp

primary
#CA39BA
secondary
#8FD096
accent
#E15847
background
#FEF8FC
surface
#FCEFF9
border
#D5CAD2
text
#160B14
muted
#847C82

Preview Lab

Preview with #CA39BA

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

Preview Lab → · Contrast checker → · Palette generator →

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