#CA45E1#CA45E1

#CA45E1 is a light, highly saturated purple. Relative luminance 0.222; OKLCH L 63.7% C 0.243 H 321.4°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#CA45E1
RGBrgb(202, 69, 225)
HSLhsl(291, 72%, 58%)
HSVhsv(291, 69%, 88%)
CMYKcmyk(10.2%, 69.3%, 0%, 11.8%)
CIE-LABlab(54.29, 71.94, -54.17)
CIE-LCHlch(54.29, 90.06, 323.02°)
OKLaboklab(63.74% 0.1895 -0.1514)
OKLCHoklch(63.74% 0.243 321.4)
XYZxyz(40.0743, 22.2512, 73.4036)
Luminance0.2225 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA45E1 #5CE145
analogous
#7C45E1 #CA45E1 #E145AA
triadic
#CA45E1 #E1CA45 #45E1CA
tetradic
#CA45E1 #E17C45 #5CE145 #45AAE1
square
#CA45E1 #E17C45 #5CE145 #45AAE1
split-complementary
#CA45E1 #AAE145 #45E17C
monochromatic
#811894 #B020C8 #CA45E1 #D97AE9 #E8AEF2

Accessibility & contrast

On white

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

On black

5.45
#CA45E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA45E1
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA45E1#FFFFFF#000000##000000
##CA45E11.003.855.455.45
#FFFFFF3.851.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078E5
Deuteranopia (green-blind)
#5887DD
Tritanopia (blue-blind)
#CC618F
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #ca45e1;
/* rgb */ color: rgb(202, 69, 225);
/* oklch */ color: oklch(63.7% 0.243 321.4);
Tailwind
colors: {
  custom: {
    50: '#de84eb',
    500: '#ca45e1',
    950: '#000000',
  },
}
SCSS
$custom: #ca45e1;
$custom-light: #de84eb;
$custom-dark: #000000;
JSON
{
  "hex": "#ca45e1",
  "rgb": {
    "r": 202,
    "g": 69,
    "b": 225
  },
  "hsl": {
    "h": 291.154,
    "s": 72.222,
    "l": 57.647
  },
  "oklch": {
    "l": 0.63736,
    "c": 0.24253,
    "h": 321.4
  },
  "luminance": 0.22249
}

Semantic roles & 50–950 ramp

primary
#CA45E1
secondary
#ABE0A2
accent
#EF3954
background
#FEF8FE
surface
#FCF0FD
border
#D5CBD5
text
#160C16
muted
#847D84

Preview Lab

Preview with #CA45E1

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

Preview Lab → · Contrast checker → · Palette generator →

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