#CA39CB#CA39CB

#CA39CB is a mid, highly saturated purple. Relative luminance 0.198; OKLCH L 61.4% C 0.238 H 327.7°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#CA39CB
RGBrgb(202, 57, 203)
HSLhsl(300, 58%, 51%)
HSVhsv(300, 72%, 80%)
CMYKcmyk(0.5%, 71.9%, 0%, 20.4%)
CIE-LABlab(51.61, 72.35, -45.92)
CIE-LCHlch(51.61, 85.69, 327.60°)
OKLaboklab(61.42% 0.2014 -0.1273)
OKLCHoklch(61.42% 0.238 327.7)
XYZxyz(36.5992, 19.7972, 58.3819)
Luminance0.1979 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA39CB #3ACB39
analogous
#8139CB #CA39CB #CB3983
triadic
#CA39CB #CBCA39 #39CBCA
tetradic
#CA39CB #CB8139 #3ACB39 #3983CB
square
#CA39CB #CB8139 #3ACB39 #3983CB
split-complementary
#CA39CB #83CB39 #39CB81
monochromatic
#6C1D6D #9D299D #CA39CB #D769D8 #E49AE4

Accessibility & contrast

On white

4.23
#CA39CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#CA39CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA39CB
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA39CB#FFFFFF#000000##000000
##CA39CB1.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#1B6FCF
Deuteranopia (green-blind)
#6081C7
Tritanopia (blue-blind)
#D0507F
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #ca39cb;
/* rgb */ color: rgb(202, 57, 203);
/* oklch */ color: oklch(61.4% 0.238 327.7);
Tailwind
colors: {
  custom: {
    50: '#de7edb',
    500: '#ca39cb',
    950: '#000000',
  },
}
SCSS
$custom: #ca39cb;
$custom-light: #de7edb;
$custom-dark: #000000;
JSON
{
  "hex": "#ca39cb",
  "rgb": {
    "r": 202,
    "g": 57,
    "b": 203
  },
  "hsl": {
    "h": 299.589,
    "s": 58.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.61419,
    "c": 0.23824,
    "h": 327.7
  },
  "luminance": 0.19795
}

Semantic roles & 50–950 ramp

primary
#CA39CB
secondary
#90D090
accent
#E24647
background
#FEF8FD
surface
#FCEFFB
border
#D5CAD4
text
#160B15
muted
#847C83

Preview Lab

Preview with #CA39CB

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

Preview Lab → · Contrast checker → · Palette generator →

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