#CA45B8#CA45B8

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

Color values

HEX#CA45B8
RGBrgb(202, 69, 184)
HSLhsl(308, 56%, 53%)
HSVhsv(308, 66%, 79%)
CMYKcmyk(0%, 65.8%, 8.9%, 20.8%)
CIE-LABlab(52.15, 65.11, -34.08)
CIE-LCHlch(52.15, 73.49, 332.37°)
OKLaboklab(61.5% 0.1882 -0.0932)
OKLCHoklch(61.5% 0.21 333.7)
XYZxyz(35.1372, 20.2763, 47.4012)
Luminance0.2027 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA45B8 #45CA57
analogous
#9945CA #CA45B8 #CA4575
triadic
#CA45B8 #B8CA45 #45B8CA
tetradic
#CA45B8 #CA9945 #45CA57 #4575CA
square
#CA45B8 #CA9945 #45CA57 #4575CA
split-complementary
#CA45B8 #75CA45 #45CA99
monochromatic
#742168 #A32F93 #CA45B8 #D875CA #E5A4DC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CA45B8#FFFFFF#000000##000000
##CA45B81.004.155.055.05
#FFFFFF4.151.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4270BB
Deuteranopia (green-blind)
#6F83B5
Tritanopia (blue-blind)
#D35079
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #ca45b8;
/* rgb */ color: rgb(202, 69, 184);
/* oklch */ color: oklch(61.5% 0.210 333.7);
Tailwind
colors: {
  custom: {
    50: '#de82cd',
    500: '#ca45b8',
    950: '#000000',
  },
}
SCSS
$custom: #ca45b8;
$custom-light: #de82cd;
$custom-dark: #000000;
JSON
{
  "hex": "#ca45b8",
  "rgb": {
    "r": 202,
    "g": 69,
    "b": 184
  },
  "hsl": {
    "h": 308.12,
    "s": 55.649,
    "l": 53.137
  },
  "oklch": {
    "l": 0.61497,
    "c": 0.21002,
    "h": 333.7
  },
  "luminance": 0.20273
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CA45B8

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

Preview Lab → · Contrast checker → · Palette generator →

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