#CA45B5#CA45B5

#CA45B5 is a mid, highly saturated purple. Relative luminance 0.201; OKLCH L 61.4% C 0.208 H 334.7°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#CA45B5
RGBrgb(202, 69, 181)
HSLhsl(309, 56%, 53%)
HSVhsv(309, 66%, 79%)
CMYKcmyk(0%, 65.8%, 10.4%, 20.8%)
CIE-LABlab(52.01, 64.65, -32.56)
CIE-LCHlch(52.01, 72.38, 333.27°)
OKLaboklab(61.35% 0.1879 -0.0888)
OKLCHoklch(61.35% 0.208 334.7)
XYZxyz(34.8260, 20.1519, 45.7626)
Luminance0.2015 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA45B5 #45CA5A
analogous
#9D45CA #CA45B5 #CA4572
triadic
#CA45B5 #B5CA45 #45B5CA
tetradic
#CA45B5 #CA9D45 #45CA5A #4572CA
square
#CA45B5 #CA9D45 #45CA5A #4572CA
split-complementary
#CA45B5 #72CA45 #45CA9D
monochromatic
#742167 #A32F91 #CA45B5 #D875C8 #E5A4DB

Accessibility & contrast

On white

4.18
#CA45B5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#CA45B5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA45B5
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA45B5#FFFFFF#000000##000000
##CA45B51.004.185.035.03
#FFFFFF4.181.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#446FB8
Deuteranopia (green-blind)
#7083B2
Tritanopia (blue-blind)
#D34F77
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #ca45b5;
/* rgb */ color: rgb(202, 69, 181);
/* oklch */ color: oklch(61.4% 0.208 334.7);
Tailwind
colors: {
  custom: {
    50: '#de82cb',
    500: '#ca45b5',
    950: '#000000',
  },
}
SCSS
$custom: #ca45b5;
$custom-light: #de82cb;
$custom-dark: #000000;
JSON
{
  "hex": "#ca45b5",
  "rgb": {
    "r": 202,
    "g": 69,
    "b": 181
  },
  "hsl": {
    "h": 309.474,
    "s": 55.649,
    "l": 53.137
  },
  "oklch": {
    "l": 0.6135,
    "c": 0.20782,
    "h": 334.7
  },
  "luminance": 0.20149
}

Semantic roles & 50–950 ramp

primary
#CA45B5
secondary
#99D2A2
accent
#DF6149
background
#FEF8FC
surface
#FCF0F8
border
#D5CBD1
text
#160B13
muted
#847C82

Preview Lab

Preview with #CA45B5

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

Preview Lab → · Contrast checker → · Palette generator →

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