#CA45B9#CA45B9

#CA45B9 is a mid, highly saturated purple. Relative luminance 0.203; OKLCH L 61.5% C 0.211 H 333.3°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#CA45B9
RGBrgb(202, 69, 185)
HSLhsl(308, 56%, 53%)
HSVhsv(308, 66%, 79%)
CMYKcmyk(0%, 65.8%, 8.4%, 20.8%)
CIE-LABlab(52.20, 65.26, -34.59)
CIE-LCHlch(52.20, 73.86, 332.08°)
OKLaboklab(61.55% 0.1883 -0.0946)
OKLCHoklch(61.55% 0.211 333.3)
XYZxyz(35.2424, 20.3184, 47.9552)
Luminance0.2032 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA45B9 #45CA56
analogous
#9845CA #CA45B9 #CA4576
triadic
#CA45B9 #B9CA45 #45B9CA
tetradic
#CA45B9 #CA9845 #45CA56 #4576CA
square
#CA45B9 #CA9845 #45CA56 #4576CA
split-complementary
#CA45B9 #76CA45 #45CA98
monochromatic
#742169 #A32F94 #CA45B9 #D875CB #E5A4DD

Accessibility & contrast

On white

4.15
#CA45B9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#CA45B9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA45B9
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA45B9#FFFFFF#000000##000000
##CA45B91.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4170BC
Deuteranopia (green-blind)
#6F83B6
Tritanopia (blue-blind)
#D35079
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #ca45b9;
/* rgb */ color: rgb(202, 69, 185);
/* oklch */ color: oklch(61.5% 0.211 333.3);
Tailwind
colors: {
  custom: {
    50: '#de82ce',
    500: '#ca45b9',
    950: '#000000',
  },
}
SCSS
$custom: #ca45b9;
$custom-light: #de82ce;
$custom-dark: #000000;
JSON
{
  "hex": "#ca45b9",
  "rgb": {
    "r": 202,
    "g": 69,
    "b": 185
  },
  "hsl": {
    "h": 307.669,
    "s": 55.649,
    "l": 53.137
  },
  "oklch": {
    "l": 0.61547,
    "c": 0.21077,
    "h": 333.3
  },
  "luminance": 0.20316
}

Semantic roles & 50–950 ramp

primary
#CA45B9
secondary
#99D2A0
accent
#DF5C49
background
#FEF8FC
surface
#FCF0F9
border
#D5CBD2
text
#160B13
muted
#847C82

Preview Lab

Preview with #CA45B9

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

Preview Lab → · Contrast checker → · Palette generator →

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