#CA45C0#CA45C0

#CA45C0 is a mid, highly saturated purple. Relative luminance 0.206; OKLCH L 61.9% C 0.216 H 331.0°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#CA45C0
RGBrgb(202, 69, 192)
HSLhsl(305, 56%, 53%)
HSVhsv(305, 66%, 79%)
CMYKcmyk(0%, 65.8%, 5%, 20.8%)
CIE-LABlab(52.53, 66.36, -38.11)
CIE-LCHlch(52.53, 76.53, 330.13°)
OKLaboklab(61.9% 0.189 -0.1048)
OKLCHoklch(61.9% 0.216 331)
XYZxyz(35.9996, 20.6213, 51.9432)
Luminance0.2062 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA45C0 #45CA4F
analogous
#9145CA #CA45C0 #CA457D
triadic
#CA45C0 #C0CA45 #45C0CA
tetradic
#CA45C0 #CA9145 #45CA4F #457DCA
square
#CA45C0 #CA9145 #45CA4F #457DCA
split-complementary
#CA45C0 #7DCA45 #45CA91
monochromatic
#74216D #A32F9A #CA45C0 #D875D0 #E5A4E0

Accessibility & contrast

On white

4.10
#CA45C0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#CA45C0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA45C0
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA45C0#FFFFFF#000000##000000
##CA45C01.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C72C4
Deuteranopia (green-blind)
#6B84BD
Tritanopia (blue-blind)
#D2537D
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #ca45c0;
/* rgb */ color: rgb(202, 69, 192);
/* oklch */ color: oklch(61.9% 0.216 331.0);
Tailwind
colors: {
  custom: {
    50: '#de83d3',
    500: '#ca45c0',
    950: '#000000',
  },
}
SCSS
$custom: #ca45c0;
$custom-light: #de83d3;
$custom-dark: #000000;
JSON
{
  "hex": "#ca45c0",
  "rgb": {
    "r": 202,
    "g": 69,
    "b": 192
  },
  "hsl": {
    "h": 304.511,
    "s": 55.649,
    "l": 53.137
  },
  "oklch": {
    "l": 0.61901,
    "c": 0.21605,
    "h": 331
  },
  "luminance": 0.20619
}

Semantic roles & 50–950 ramp

primary
#CA45C0
secondary
#99D29D
accent
#DF5449
background
#FEF8FD
surface
#FCF0FA
border
#D5CBD3
text
#160B14
muted
#847C83

Preview Lab

Preview with #CA45C0

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

Preview Lab → · Contrast checker → · Palette generator →

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