#CA39B5#CA39B5

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

Color values

HEX#CA39B5
RGBrgb(202, 57, 181)
HSLhsl(309, 58%, 51%)
HSVhsv(309, 72%, 79%)
CMYKcmyk(0%, 71.8%, 10.4%, 20.8%)
CIE-LABlab(50.48, 68.95, -34.95)
CIE-LCHlch(50.48, 77.30, 333.12°)
OKLaboklab(60.24% 0.2006 -0.0956)
OKLCHoklch(60.24% 0.222 334.5)
XYZxyz(34.1611, 18.8220, 45.5409)
Luminance0.1882 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA39B5 #39CA4E
analogous
#9739CA #CA39B5 #CA396C
triadic
#CA39B5 #B5CA39 #39B5CA
tetradic
#CA39B5 #CA9739 #39CA4E #396CCA
square
#CA39B5 #CA9739 #39CA4E #396CCA
split-complementary
#CA39B5 #6CCA39 #39CA97
monochromatic
#6C1D60 #9C2A8B #CA39B5 #D769C7 #E49AD9

Accessibility & contrast

On white

4.41
#CA39B5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##CA39B5#FFFFFF#000000##000000
##CA39B51.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#376BB8
Deuteranopia (green-blind)
#6B80B2
Tritanopia (blue-blind)
#D44573
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #ca39b5;
/* rgb */ color: rgb(202, 57, 181);
/* oklch */ color: oklch(60.2% 0.222 334.5);
Tailwind
colors: {
  custom: {
    50: '#de7dcb',
    500: '#ca39b5',
    950: '#000000',
  },
}
SCSS
$custom: #ca39b5;
$custom-light: #de7dcb;
$custom-dark: #000000;
JSON
{
  "hex": "#ca39b5",
  "rgb": {
    "r": 202,
    "g": 57,
    "b": 181
  },
  "hsl": {
    "h": 308.69,
    "s": 57.769,
    "l": 50.784
  },
  "oklch": {
    "l": 0.60242,
    "c": 0.22217,
    "h": 334.5
  },
  "luminance": 0.18819
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CA39B5

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

Preview Lab → · Contrast checker → · Palette generator →

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