#CA45B4#CA45B4

#CA45B4 is a mid, highly saturated purple. Relative luminance 0.201; OKLCH L 61.3% C 0.207 H 335.1°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#CA45B4
RGBrgb(202, 69, 180)
HSLhsl(310, 56%, 53%)
HSVhsv(310, 66%, 79%)
CMYKcmyk(0%, 65.8%, 10.9%, 20.8%)
CIE-LABlab(51.96, 64.50, -32.05)
CIE-LCHlch(51.96, 72.02, 333.58°)
OKLaboklab(61.3% 0.1878 -0.0873)
OKLCHoklch(61.3% 0.207 335.1)
XYZxyz(34.7238, 20.1110, 45.2241)
Luminance0.2011 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA45B4 #45CA5B
analogous
#9E45CA #CA45B4 #CA4571
triadic
#CA45B4 #B4CA45 #45B4CA
tetradic
#CA45B4 #CA9E45 #45CA5B #4571CA
square
#CA45B4 #CA9E45 #45CA5B #4571CA
split-complementary
#CA45B4 #71CA45 #45CA9E
monochromatic
#742166 #A32F90 #CA45B4 #D875C7 #E5A4DA

Accessibility & contrast

On white

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

On black

5.02
#CA45B4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA45B4
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA45B4#FFFFFF#000000##000000
##CA45B41.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#456FB7
Deuteranopia (green-blind)
#7183B1
Tritanopia (blue-blind)
#D44E76
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #ca45b4;
/* rgb */ color: rgb(202, 69, 180);
/* oklch */ color: oklch(61.3% 0.207 335.1);
Tailwind
colors: {
  custom: {
    50: '#de82cb',
    500: '#ca45b4',
    950: '#000000',
  },
}
SCSS
$custom: #ca45b4;
$custom-light: #de82cb;
$custom-dark: #000000;
JSON
{
  "hex": "#ca45b4",
  "rgb": {
    "r": 202,
    "g": 69,
    "b": 180
  },
  "hsl": {
    "h": 309.925,
    "s": 55.649,
    "l": 53.137
  },
  "oklch": {
    "l": 0.61302,
    "c": 0.20709,
    "h": 335.1
  },
  "luminance": 0.20108
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CA45B4

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

Preview Lab → · Contrast checker → · Palette generator →

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