#CA39B7#CA39B7

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

Color values

HEX#CA39B7
RGBrgb(202, 57, 183)
HSLhsl(308, 58%, 51%)
HSVhsv(308, 72%, 79%)
CMYKcmyk(0%, 71.8%, 9.4%, 20.8%)
CIE-LABlab(50.58, 69.25, -35.97)
CIE-LCHlch(50.58, 78.03, 332.55°)
OKLaboklab(60.34% 0.2007 -0.0985)
OKLCHoklch(60.34% 0.224 333.9)
XYZxyz(34.3678, 18.9046, 46.6295)
Luminance0.1890 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA39B7 #39CA4C
analogous
#9439CA #CA39B7 #CA396E
triadic
#CA39B7 #B7CA39 #39B7CA
tetradic
#CA39B7 #CA9439 #39CA4C #396ECA
square
#CA39B7 #CA9439 #39CA4C #396ECA
split-complementary
#CA39B7 #6ECA39 #39CA94
monochromatic
#6C1D61 #9C2A8D #CA39B7 #D769C9 #E49ADA

Accessibility & contrast

On white

4.39
#CA39B7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#CA39B7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA39B7
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA39B7#FFFFFF#000000##000000
##CA39B71.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ca39b7;
/* rgb */ color: rgb(202, 57, 183);
/* oklch */ color: oklch(60.3% 0.224 333.9);
Tailwind
colors: {
  custom: {
    50: '#de7dcd',
    500: '#ca39b7',
    950: '#000000',
  },
}
SCSS
$custom: #ca39b7;
$custom-light: #de7dcd;
$custom-dark: #000000;
JSON
{
  "hex": "#ca39b7",
  "rgb": {
    "r": 202,
    "g": 57,
    "b": 183
  },
  "hsl": {
    "h": 307.862,
    "s": 57.769,
    "l": 50.784
  },
  "oklch": {
    "l": 0.60344,
    "c": 0.22359,
    "h": 333.9
  },
  "luminance": 0.18902
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CA39B7

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

Preview Lab → · Contrast checker → · Palette generator →

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