#CA39BD#CA39BD

#CA39BD is a mid, highly saturated purple. Relative luminance 0.192; OKLCH L 60.7% C 0.228 H 331.9°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#CA39BD
RGBrgb(202, 57, 189)
HSLhsl(305, 58%, 51%)
HSVhsv(305, 72%, 79%)
CMYKcmyk(0%, 71.8%, 6.4%, 20.8%)
CIE-LABlab(50.87, 70.15, -38.99)
CIE-LCHlch(50.87, 80.26, 330.94°)
OKLaboklab(60.66% 0.2011 -0.1072)
OKLCHoklch(60.66% 0.228 331.9)
XYZxyz(35.0056, 19.1598, 49.9888)
Luminance0.1916 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA39BD #39CA46
analogous
#8E39CA #CA39BD #CA3974
triadic
#CA39BD #BDCA39 #39BDCA
tetradic
#CA39BD #CA8E39 #39CA46 #3974CA
square
#CA39BD #CA8E39 #39CA46 #3974CA
split-complementary
#CA39BD #74CA39 #39CA8E
monochromatic
#6C1D65 #9C2A92 #CA39BD #D769CD #E49ADD

Accessibility & contrast

On white

4.35
#CA39BD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#CA39BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA39BD
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA39BD#FFFFFF#000000##000000
##CA39BD1.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F6CC1
Deuteranopia (green-blind)
#6780B9
Tritanopia (blue-blind)
#D24977
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #ca39bd;
/* rgb */ color: rgb(202, 57, 189);
/* oklch */ color: oklch(60.7% 0.228 331.9);
Tailwind
colors: {
  custom: {
    50: '#de7dd1',
    500: '#ca39bd',
    950: '#000000',
  },
}
SCSS
$custom: #ca39bd;
$custom-light: #de7dd1;
$custom-dark: #000000;
JSON
{
  "hex": "#ca39bd",
  "rgb": {
    "r": 202,
    "g": 57,
    "b": 189
  },
  "hsl": {
    "h": 305.379,
    "s": 57.769,
    "l": 50.784
  },
  "oklch": {
    "l": 0.60656,
    "c": 0.22788,
    "h": 331.9
  },
  "luminance": 0.19157
}

Semantic roles & 50–950 ramp

primary
#CA39BD
secondary
#8FD095
accent
#E15547
background
#FEF8FC
surface
#FCEFF9
border
#D5CAD2
text
#160B14
muted
#847C82

Preview Lab

Preview with #CA39BD

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

Preview Lab → · Contrast checker → · Palette generator →

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