#CA39CC#CA39CC

#CA39CC is a mid, highly saturated purple. Relative luminance 0.198; OKLCH L 61.5% C 0.239 H 327.4°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#CA39CC
RGBrgb(202, 57, 204)
HSLhsl(299, 59%, 51%)
HSVhsv(299, 72%, 80%)
CMYKcmyk(1%, 72.1%, 0%, 20%)
CIE-LABlab(51.66, 72.51, -46.41)
CIE-LCHlch(51.66, 86.09, 327.38°)
OKLaboklab(61.48% 0.2014 -0.1287)
OKLCHoklch(61.48% 0.239 327.4)
XYZxyz(36.7188, 19.8450, 59.0115)
Luminance0.1984 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA39CC #3BCC39
analogous
#8039CC #CA39CC #CC3984
triadic
#CA39CC #CCCA39 #39CCCA
tetradic
#CA39CC #CC8039 #3BCC39 #3984CC
square
#CA39CC #CC8039 #3BCC39 #3984CC
split-complementary
#CA39CC #84CC39 #39CC80
monochromatic
#6D1C6E #9D299F #CA39CC #D76AD9 #E49AE5

Accessibility & contrast

On white

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

On black

4.97
#CA39CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA39CC
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA39CC#FFFFFF#000000##000000
##CA39CC1.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#186FD0
Deuteranopia (green-blind)
#5F82C8
Tritanopia (blue-blind)
#D05080
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #ca39cc;
/* rgb */ color: rgb(202, 57, 204);
/* oklch */ color: oklch(61.5% 0.239 327.4);
Tailwind
colors: {
  custom: {
    50: '#de7edc',
    500: '#ca39cc',
    950: '#000000',
  },
}
SCSS
$custom: #ca39cc;
$custom-light: #de7edc;
$custom-dark: #000000;
JSON
{
  "hex": "#ca39cc",
  "rgb": {
    "r": 202,
    "g": 57,
    "b": 204
  },
  "hsl": {
    "h": 299.184,
    "s": 59.036,
    "l": 51.176
  },
  "oklch": {
    "l": 0.61475,
    "c": 0.239,
    "h": 327.4
  },
  "luminance": 0.19842
}

Semantic roles & 50–950 ramp

primary
#CA39CC
secondary
#91D190
accent
#E24648
background
#FEF8FD
surface
#FCEFFB
border
#D5CAD4
text
#160B15
muted
#847C83

Preview Lab

Preview with #CA39CC

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

Preview Lab → · Contrast checker → · Palette generator →

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