#CA45C2#CA45C2

#CA45C2 is a light, highly saturated purple. Relative luminance 0.207; OKLCH L 62.0% C 0.218 H 330.3°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#CA45C2
RGBrgb(202, 69, 194)
HSLhsl(304, 56%, 53%)
HSVhsv(304, 66%, 79%)
CMYKcmyk(0%, 65.8%, 4%, 20.8%)
CIE-LABlab(52.63, 66.68, -39.11)
CIE-LCHlch(52.63, 77.31, 329.61°)
OKLaboklab(62% 0.1891 -0.1076)
OKLCHoklch(62% 0.218 330.3)
XYZxyz(36.2227, 20.7105, 53.1182)
Luminance0.2071 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA45C2 #45CA4D
analogous
#8F45CA #CA45C2 #CA457F
triadic
#CA45C2 #C2CA45 #45C2CA
tetradic
#CA45C2 #CA8F45 #45CA4D #457FCA
square
#CA45C2 #CA8F45 #45CA4D #457FCA
split-complementary
#CA45C2 #7FCA45 #45CA8F
monochromatic
#74216F #A32F9C #CA45C2 #D875D2 #E5A4E1

Accessibility & contrast

On white

4.08
#CA45C2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#CA45C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA45C2
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA45C2#FFFFFF#000000##000000
##CA45C21.004.085.145.14
#FFFFFF4.081.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A72C6
Deuteranopia (green-blind)
#6A84BF
Tritanopia (blue-blind)
#D1547E
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #ca45c2;
/* rgb */ color: rgb(202, 69, 194);
/* oklch */ color: oklch(62.0% 0.218 330.3);
Tailwind
colors: {
  custom: {
    50: '#de83d5',
    500: '#ca45c2',
    950: '#000000',
  },
}
SCSS
$custom: #ca45c2;
$custom-light: #de83d5;
$custom-dark: #000000;
JSON
{
  "hex": "#ca45c2",
  "rgb": {
    "r": 202,
    "g": 69,
    "b": 194
  },
  "hsl": {
    "h": 303.609,
    "s": 55.649,
    "l": 53.137
  },
  "oklch": {
    "l": 0.62004,
    "c": 0.21759,
    "h": 330.3
  },
  "luminance": 0.20708
}

Semantic roles & 50–950 ramp

primary
#CA45C2
secondary
#99D29C
accent
#DF5249
background
#FEF8FD
surface
#FCF0FA
border
#D5CBD3
text
#160B14
muted
#847C83

Preview Lab

Preview with #CA45C2

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

Preview Lab → · Contrast checker → · Palette generator →

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