#CA45E8#CA45E8

#CA45E8 is a light, highly saturated purple. Relative luminance 0.226; OKLCH L 64.2% C 0.248 H 319.6°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#CA45E8
RGBrgb(202, 69, 232)
HSLhsl(289, 78%, 59%)
HSVhsv(289, 70%, 91%)
CMYKcmyk(12.9%, 70.3%, 0%, 9%)
CIE-LABlab(54.70, 73.20, -57.47)
CIE-LCHlch(54.70, 93.06, 321.87°)
OKLaboklab(64.16% 0.1891 -0.161)
OKLCHoklch(64.16% 0.248 319.6)
XYZxyz(41.0489, 22.6410, 78.5362)
Luminance0.2264 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA45E8 #63E845
analogous
#7945E8 #CA45E8 #E845B5
triadic
#CA45E8 #E8CA45 #45E8CA
tetradic
#CA45E8 #E87945 #63E845 #45B5E8
square
#CA45E8 #E87945 #63E845 #45B5E8
split-complementary
#CA45E8 #B5E845 #45E879
monochromatic
#85149F #B31AD5 #CA45E8 #DA7BEF #E9B2F5

Accessibility & contrast

On white

3.80
#CA45E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.53
#CA45E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA45E8
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA45E8#FFFFFF#000000##000000
##CA45E81.003.805.535.53
#FFFFFF3.801.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AED
Deuteranopia (green-blind)
#5287E4
Tritanopia (blue-blind)
#CA6492
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #ca45e8;
/* rgb */ color: rgb(202, 69, 232);
/* oklch */ color: oklch(64.2% 0.248 319.6);
Tailwind
colors: {
  custom: {
    50: '#de84f0',
    500: '#ca45e8',
    950: '#000000',
  },
}
SCSS
$custom: #ca45e8;
$custom-light: #de84f0;
$custom-dark: #000000;
JSON
{
  "hex": "#ca45e8",
  "rgb": {
    "r": 202,
    "g": 69,
    "b": 232
  },
  "hsl": {
    "h": 288.957,
    "s": 77.99,
    "l": 59.02
  },
  "oklch": {
    "l": 0.64159,
    "c": 0.24836,
    "h": 319.6
  },
  "luminance": 0.22639
}

Semantic roles & 50–950 ramp

primary
#CA45E8
secondary
#B0E4A4
accent
#F43357
background
#FEF8FE
surface
#FCF0FD
border
#D5CBD5
text
#160C17
muted
#847D85

Preview Lab

Preview with #CA45E8

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

Preview Lab → · Contrast checker → · Palette generator →

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