#CA39BB#CA39BB

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

Color values

HEX#CA39BB
RGBrgb(202, 57, 187)
HSLhsl(306, 58%, 51%)
HSVhsv(306, 72%, 79%)
CMYKcmyk(0%, 71.8%, 7.4%, 20.8%)
CIE-LABlab(50.77, 69.85, -37.99)
CIE-LCHlch(50.77, 79.51, 331.46°)
OKLaboklab(60.55% 0.201 -0.1043)
OKLCHoklch(60.55% 0.226 332.6)
XYZxyz(34.7900, 19.0735, 48.8533)
Luminance0.1907 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA39BB #39CA48
analogous
#9039CA #CA39BB #CA3972
triadic
#CA39BB #BBCA39 #39BBCA
tetradic
#CA39BB #CA9039 #39CA48 #3972CA
square
#CA39BB #CA9039 #39CA48 #3972CA
split-complementary
#CA39BB #72CA39 #39CA90
monochromatic
#6C1D64 #9C2A90 #CA39BB #D769CC #E49ADC

Accessibility & contrast

On white

4.36
#CA39BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##CA39BB#FFFFFF#000000##000000
##CA39BB1.004.364.814.81
#FFFFFF4.361.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#316CBF
Deuteranopia (green-blind)
#6880B7
Tritanopia (blue-blind)
#D34876
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #ca39bb;
/* rgb */ color: rgb(202, 57, 187);
/* oklch */ color: oklch(60.6% 0.226 332.6);
Tailwind
colors: {
  custom: {
    50: '#de7dd0',
    500: '#ca39bb',
    950: '#000000',
  },
}
SCSS
$custom: #ca39bb;
$custom-light: #de7dd0;
$custom-dark: #000000;
JSON
{
  "hex": "#ca39bb",
  "rgb": {
    "r": 202,
    "g": 57,
    "b": 187
  },
  "hsl": {
    "h": 306.207,
    "s": 57.769,
    "l": 50.784
  },
  "oklch": {
    "l": 0.60551,
    "c": 0.22644,
    "h": 332.6
  },
  "luminance": 0.19071
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CA39BB

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

Preview Lab → · Contrast checker → · Palette generator →

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