#CA39C2#CA39C2

#CA39C2 is a mid, highly saturated purple. Relative luminance 0.194; OKLCH L 60.9% C 0.232 H 330.4°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#CA39C2
RGBrgb(202, 57, 194)
HSLhsl(303, 58%, 51%)
HSVhsv(303, 72%, 79%)
CMYKcmyk(0%, 71.8%, 4%, 20.8%)
CIE-LABlab(51.13, 70.92, -41.48)
CIE-LCHlch(51.13, 82.17, 329.68°)
OKLaboklab(60.92% 0.2013 -0.1144)
OKLCHoklch(60.92% 0.232 330.4)
XYZxyz(35.5577, 19.3806, 52.8965)
Luminance0.1938 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA39C2 #39CA41
analogous
#8939CA #CA39C2 #CA3979
triadic
#CA39C2 #C2CA39 #39C2CA
tetradic
#CA39C2 #CA8939 #39CA41 #3979CA
square
#CA39C2 #CA8939 #39CA41 #3979CA
split-complementary
#CA39C2 #79CA39 #39CA89
monochromatic
#6C1D67 #9C2A96 #CA39C2 #D769D1 #E49AE0

Accessibility & contrast

On white

4.31
#CA39C2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#CA39C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA39C2
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA39C2#FFFFFF#000000##000000
##CA39C21.004.314.884.88
#FFFFFF4.311.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#296DC6
Deuteranopia (green-blind)
#6581BE
Tritanopia (blue-blind)
#D24C7A
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #ca39c2;
/* rgb */ color: rgb(202, 57, 194);
/* oklch */ color: oklch(60.9% 0.232 330.4);
Tailwind
colors: {
  custom: {
    50: '#de7dd5',
    500: '#ca39c2',
    950: '#000000',
  },
}
SCSS
$custom: #ca39c2;
$custom-light: #de7dd5;
$custom-dark: #000000;
JSON
{
  "hex": "#ca39c2",
  "rgb": {
    "r": 202,
    "g": 57,
    "b": 194
  },
  "hsl": {
    "h": 303.31,
    "s": 57.769,
    "l": 50.784
  },
  "oklch": {
    "l": 0.60922,
    "c": 0.23152,
    "h": 330.4
  },
  "luminance": 0.19378
}

Semantic roles & 50–950 ramp

primary
#CA39C2
secondary
#8FD093
accent
#E14F47
background
#FEF8FD
surface
#FCEFFA
border
#D5CAD3
text
#160B14
muted
#847C83

Preview Lab

Preview with #CA39C2

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

Preview Lab → · Contrast checker → · Palette generator →

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