#CA39B8#CA39B8

#CA39B8 is a mid, highly saturated purple. Relative luminance 0.189; OKLCH L 60.4% C 0.224 H 333.5°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#CA39B8
RGBrgb(202, 57, 184)
HSLhsl(307, 58%, 51%)
HSVhsv(307, 72%, 79%)
CMYKcmyk(0%, 71.8%, 8.9%, 20.8%)
CIE-LABlab(50.62, 69.40, -36.47)
CIE-LCHlch(50.62, 78.40, 332.28°)
OKLaboklab(60.4% 0.2008 -0.0999)
OKLCHoklch(60.4% 0.224 333.5)
XYZxyz(34.4722, 18.9464, 47.1796)
Luminance0.1894 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA39B8 #39CA4B
analogous
#9339CA #CA39B8 #CA396F
triadic
#CA39B8 #B8CA39 #39B8CA
tetradic
#CA39B8 #CA9339 #39CA4B #396FCA
square
#CA39B8 #CA9339 #39CA4B #396FCA
split-complementary
#CA39B8 #6FCA39 #39CA93
monochromatic
#6C1D62 #9C2A8E #CA39B8 #D769C9 #E49ADB

Accessibility & contrast

On white

4.39
#CA39B8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#CA39B8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA39B8
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA39B8#FFFFFF#000000##000000
##CA39B81.004.394.794.79
#FFFFFF4.391.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#346BBC
Deuteranopia (green-blind)
#6A80B4
Tritanopia (blue-blind)
#D34775
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #ca39b8;
/* rgb */ color: rgb(202, 57, 184);
/* oklch */ color: oklch(60.4% 0.224 333.5);
Tailwind
colors: {
  custom: {
    50: '#de7dce',
    500: '#ca39b8',
    950: '#000000',
  },
}
SCSS
$custom: #ca39b8;
$custom-light: #de7dce;
$custom-dark: #000000;
JSON
{
  "hex": "#ca39b8",
  "rgb": {
    "r": 202,
    "g": 57,
    "b": 184
  },
  "hsl": {
    "h": 307.448,
    "s": 57.769,
    "l": 50.784
  },
  "oklch": {
    "l": 0.60395,
    "c": 0.22429,
    "h": 333.5
  },
  "luminance": 0.18944
}

Semantic roles & 50–950 ramp

primary
#CA39B8
secondary
#8FD097
accent
#E15A47
background
#FEF8FC
surface
#FCEFF9
border
#D5CAD2
text
#160B13
muted
#847C82

Preview Lab

Preview with #CA39B8

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

Preview Lab → · Contrast checker → · Palette generator →

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