#CA45BD#CA45BD

#CA45BD is a mid, highly saturated purple. Relative luminance 0.205; OKLCH L 61.7% C 0.214 H 332.0°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#CA45BD
RGBrgb(202, 69, 189)
HSLhsl(306, 56%, 53%)
HSVhsv(306, 66%, 79%)
CMYKcmyk(0%, 65.8%, 6.4%, 20.8%)
CIE-LABlab(52.39, 65.89, -36.61)
CIE-LCHlch(52.39, 75.38, 330.94°)
OKLaboklab(61.75% 0.1887 -0.1004)
OKLCHoklch(61.75% 0.214 332)
XYZxyz(35.6706, 20.4897, 50.2104)
Luminance0.2049 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA45BD #45CA52
analogous
#9545CA #CA45BD #CA457A
triadic
#CA45BD #BDCA45 #45BDCA
tetradic
#CA45BD #CA9545 #45CA52 #457ACA
square
#CA45BD #CA9545 #45CA52 #457ACA
split-complementary
#CA45BD #7ACA45 #45CA95
monochromatic
#74216C #A32F98 #CA45BD #D875CE #E5A4DF

Accessibility & contrast

On white

4.12
#CA45BD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#CA45BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA45BD
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA45BD#FFFFFF#000000##000000
##CA45BD1.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E71C0
Deuteranopia (green-blind)
#6D84BA
Tritanopia (blue-blind)
#D2527B
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #ca45bd;
/* rgb */ color: rgb(202, 69, 189);
/* oklch */ color: oklch(61.7% 0.214 332.0);
Tailwind
colors: {
  custom: {
    50: '#de83d1',
    500: '#ca45bd',
    950: '#000000',
  },
}
SCSS
$custom: #ca45bd;
$custom-light: #de83d1;
$custom-dark: #000000;
JSON
{
  "hex": "#ca45bd",
  "rgb": {
    "r": 202,
    "g": 69,
    "b": 189
  },
  "hsl": {
    "h": 305.865,
    "s": 55.649,
    "l": 53.137
  },
  "oklch": {
    "l": 0.61748,
    "c": 0.21377,
    "h": 332
  },
  "luminance": 0.20487
}

Semantic roles & 50–950 ramp

primary
#CA45BD
secondary
#99D29E
accent
#DF5849
background
#FEF8FC
surface
#FCF0F9
border
#D5CBD2
text
#160B14
muted
#847C82

Preview Lab

Preview with #CA45BD

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

Preview Lab → · Contrast checker → · Palette generator →

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