#CA39BF#CA39BF

#CA39BF is a mid, highly saturated purple. Relative luminance 0.192; OKLCH L 60.8% C 0.229 H 331.3°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#CA39BF
RGBrgb(202, 57, 191)
HSLhsl(305, 58%, 51%)
HSVhsv(305, 72%, 79%)
CMYKcmyk(0%, 71.8%, 5.4%, 20.8%)
CIE-LABlab(50.98, 70.46, -39.99)
CIE-LCHlch(50.98, 81.02, 330.42°)
OKLaboklab(60.76% 0.2012 -0.1101)
OKLCHoklch(60.76% 0.229 331.3)
XYZxyz(35.2242, 19.2472, 51.1400)
Luminance0.1924 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA39BF #39CA44
analogous
#8C39CA #CA39BF #CA3976
triadic
#CA39BF #BFCA39 #39BFCA
tetradic
#CA39BF #CA8C39 #39CA44 #3976CA
square
#CA39BF #CA8C39 #39CA44 #3976CA
split-complementary
#CA39BF #76CA39 #39CA8C
monochromatic
#6C1D66 #9C2A93 #CA39BF #D769CF #E49ADE

Accessibility & contrast

On white

4.33
#CA39BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#CA39BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA39BF
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA39BF#FFFFFF#000000##000000
##CA39BF1.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D6DC3
Deuteranopia (green-blind)
#6680BB
Tritanopia (blue-blind)
#D24A78
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #ca39bf;
/* rgb */ color: rgb(202, 57, 191);
/* oklch */ color: oklch(60.8% 0.229 331.3);
Tailwind
colors: {
  custom: {
    50: '#de7dd3',
    500: '#ca39bf',
    950: '#000000',
  },
}
SCSS
$custom: #ca39bf;
$custom-light: #de7dd3;
$custom-dark: #000000;
JSON
{
  "hex": "#ca39bf",
  "rgb": {
    "r": 202,
    "g": 57,
    "b": 191
  },
  "hsl": {
    "h": 304.552,
    "s": 57.769,
    "l": 50.784
  },
  "oklch": {
    "l": 0.60761,
    "c": 0.22933,
    "h": 331.3
  },
  "luminance": 0.19244
}

Semantic roles & 50–950 ramp

primary
#CA39BF
secondary
#8FD094
accent
#E15247
background
#FEF8FD
surface
#FCEFFA
border
#D5CAD3
text
#160B14
muted
#847C83

Preview Lab

Preview with #CA39BF

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

Preview Lab → · Contrast checker → · Palette generator →

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