#CA45D2#CA45D2

#CA45D2 is a light, highly saturated purple. Relative luminance 0.215; OKLCH L 62.9% C 0.230 H 325.5°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#CA45D2
RGBrgb(202, 69, 210)
HSLhsl(297, 61%, 55%)
HSVhsv(297, 67%, 82%)
CMYKcmyk(3.8%, 67.1%, 0%, 17.6%)
CIE-LABlab(53.46, 69.33, -46.99)
CIE-LCHlch(53.46, 83.75, 325.87°)
OKLaboklab(62.87% 0.1897 -0.1305)
OKLCHoklch(62.87% 0.23 325.5)
XYZxyz(38.1173, 21.4684, 63.0964)
Luminance0.2147 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA45D2 #4DD245
analogous
#8445D2 #CA45D2 #D24593
triadic
#CA45D2 #D2CA45 #45D2CA
tetradic
#CA45D2 #D28445 #4DD245 #4593D2
square
#CA45D2 #D28445 #4DD245 #4593D2
split-complementary
#CA45D2 #93D245 #45D284
monochromatic
#791F7E #A82AAF #CA45D2 #D876DE #E6A8EA

Accessibility & contrast

On white

3.97
#CA45D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#CA45D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA45D2
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA45D2#FFFFFF#000000##000000
##CA45D21.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2775D6
Deuteranopia (green-blind)
#6285CE
Tritanopia (blue-blind)
#CF5B86
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #ca45d2;
/* rgb */ color: rgb(202, 69, 210);
/* oklch */ color: oklch(62.9% 0.230 325.5);
Tailwind
colors: {
  custom: {
    50: '#de83e0',
    500: '#ca45d2',
    950: '#000000',
  },
}
SCSS
$custom: #ca45d2;
$custom-light: #de83e0;
$custom-dark: #000000;
JSON
{
  "hex": "#ca45d2",
  "rgb": {
    "r": 202,
    "g": 69,
    "b": 210
  },
  "hsl": {
    "h": 296.596,
    "s": 61.039,
    "l": 54.706
  },
  "oklch": {
    "l": 0.62869,
    "c": 0.23024,
    "h": 325.5
  },
  "luminance": 0.21466
}

Semantic roles & 50–950 ramp

primary
#CA45D2
secondary
#9FD79C
accent
#E4444D
background
#FEF8FD
surface
#FCF0FB
border
#D5CBD4
text
#160C15
muted
#847D83

Preview Lab

Preview with #CA45D2

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

Preview Lab → · Contrast checker → · Palette generator →

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