#CA45B7#CA45B7

#CA45B7 is a mid, highly saturated purple. Relative luminance 0.202; OKLCH L 61.4% C 0.209 H 334.0°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#CA45B7
RGBrgb(202, 69, 183)
HSLhsl(309, 56%, 53%)
HSVhsv(309, 66%, 79%)
CMYKcmyk(0%, 65.8%, 9.4%, 20.8%)
CIE-LABlab(52.10, 64.95, -33.57)
CIE-LCHlch(52.10, 73.12, 332.67°)
OKLaboklab(61.45% 0.1881 -0.0917)
OKLCHoklch(61.45% 0.209 334)
XYZxyz(35.0327, 20.2345, 46.8511)
Luminance0.2023 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA45B7 #45CA58
analogous
#9A45CA #CA45B7 #CA4575
triadic
#CA45B7 #B7CA45 #45B7CA
tetradic
#CA45B7 #CA9A45 #45CA58 #4575CA
square
#CA45B7 #CA9A45 #45CA58 #4575CA
split-complementary
#CA45B7 #75CA45 #45CA9A
monochromatic
#742168 #A32F93 #CA45B7 #D875C9 #E5A4DC

Accessibility & contrast

On white

4.16
#CA45B7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#CA45B7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA45B7
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA45B7#FFFFFF#000000##000000
##CA45B71.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4370BA
Deuteranopia (green-blind)
#6F83B4
Tritanopia (blue-blind)
#D34F78
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #ca45b7;
/* rgb */ color: rgb(202, 69, 183);
/* oklch */ color: oklch(61.4% 0.209 334.0);
Tailwind
colors: {
  custom: {
    50: '#de82cd',
    500: '#ca45b7',
    950: '#000000',
  },
}
SCSS
$custom: #ca45b7;
$custom-light: #de82cd;
$custom-dark: #000000;
JSON
{
  "hex": "#ca45b7",
  "rgb": {
    "r": 202,
    "g": 69,
    "b": 183
  },
  "hsl": {
    "h": 308.571,
    "s": 55.649,
    "l": 53.137
  },
  "oklch": {
    "l": 0.61448,
    "c": 0.20929,
    "h": 334
  },
  "luminance": 0.20232
}

Semantic roles & 50–950 ramp

primary
#CA45B7
secondary
#99D2A1
accent
#DF5E49
background
#FEF8FC
surface
#FCF0F9
border
#D5CBD2
text
#160B13
muted
#847C82

Preview Lab

Preview with #CA45B7

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

Preview Lab → · Contrast checker → · Palette generator →

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