#CA45E2#CA45E2

#CA45E2 is a light, highly saturated purple. Relative luminance 0.223; OKLCH L 63.8% C 0.243 H 321.1°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#CA45E2
RGBrgb(202, 69, 226)
HSLhsl(291, 73%, 58%)
HSVhsv(291, 69%, 89%)
CMYKcmyk(10.6%, 69.5%, 0%, 11.4%)
CIE-LABlab(54.35, 72.12, -54.65)
CIE-LCHlch(54.35, 90.48, 322.85°)
OKLaboklab(63.8% 0.1894 -0.1528)
OKLCHoklch(63.8% 0.243 321.1)
XYZxyz(40.2111, 22.3059, 74.1242)
Luminance0.2230 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA45E2 #5DE245
analogous
#7B45E2 #CA45E2 #E245AB
triadic
#CA45E2 #E2CA45 #45E2CA
tetradic
#CA45E2 #E27B45 #5DE245 #45ABE2
square
#CA45E2 #E27B45 #5DE245 #45ABE2
split-complementary
#CA45E2 #ABE245 #45E27B
monochromatic
#821795 #B020CA #CA45E2 #D97AEA #E8AFF3

Accessibility & contrast

On white

3.85
#CA45E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.46
#CA45E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA45E2
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA45E2#FFFFFF#000000##000000
##CA45E21.003.855.465.46
#FFFFFF3.851.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079E6
Deuteranopia (green-blind)
#5787DE
Tritanopia (blue-blind)
#CC628F
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #ca45e2;
/* rgb */ color: rgb(202, 69, 226);
/* oklch */ color: oklch(63.8% 0.243 321.1);
Tailwind
colors: {
  custom: {
    50: '#de84ec',
    500: '#ca45e2',
    950: '#000000',
  },
}
SCSS
$custom: #ca45e2;
$custom-light: #de84ec;
$custom-dark: #000000;
JSON
{
  "hex": "#ca45e2",
  "rgb": {
    "r": 202,
    "g": 69,
    "b": 226
  },
  "hsl": {
    "h": 290.828,
    "s": 73.023,
    "l": 57.843
  },
  "oklch": {
    "l": 0.63796,
    "c": 0.24337,
    "h": 321.1
  },
  "luminance": 0.22304
}

Semantic roles & 50–950 ramp

primary
#CA45E2
secondary
#ACE1A2
accent
#F03854
background
#FEF8FE
surface
#FCF0FD
border
#D5CBD5
text
#160C16
muted
#847D84

Preview Lab

Preview with #CA45E2

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

Preview Lab → · Contrast checker → · Palette generator →

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