#CA54E3#CA54E3

#CA54E3 is a light, highly saturated purple. Relative luminance 0.244; OKLCH L 65.4% C 0.226 H 320.2°. Best body text is #000000 at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#CA54E3
RGBrgb(202, 84, 227)
HSLhsl(290, 72%, 61%)
HSVhsv(290, 63%, 89%)
CMYKcmyk(11%, 63%, 0%, 11%)
CIE-LABlab(56.53, 66.36, -51.73)
CIE-LCHlch(56.53, 84.14, 322.06°)
OKLaboklab(65.38% 0.1735 -0.1444)
OKLCHoklch(65.38% 0.226 320.2)
XYZxyz(41.3909, 24.4452, 75.1963)
Luminance0.2444 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA54E3 #6DE354
analogous
#8254E3 #CA54E3 #E354B5
triadic
#CA54E3 #E3CA54 #54E3CA
tetradic
#CA54E3 #E38254 #6DE354 #54B5E3
square
#CA54E3 #E38254 #6DE354 #54B5E3
split-complementary
#CA54E3 #B5E354 #54E382
monochromatic
#8A1BA2 #B723D7 #CA54E3 #DA89EC #EBBDF4

Accessibility & contrast

On white

3.57
#CA54E3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.89
#CA54E3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA54E3
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA54E3#FFFFFF#000000##000000
##CA54E31.003.575.895.89
#FFFFFF3.571.0021.0021.00
#0000005.8921.001.001.00
##0000005.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D7FE7
Deuteranopia (green-blind)
#608CDF
Tritanopia (blue-blind)
#CB6C94
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #ca54e3;
/* rgb */ color: rgb(202, 84, 227);
/* oklch */ color: oklch(65.4% 0.226 320.2);
Tailwind
colors: {
  custom: {
    50: '#de8cec',
    500: '#ca54e3',
    950: '#000000',
  },
}
SCSS
$custom: #ca54e3;
$custom-light: #de8cec;
$custom-dark: #000000;
JSON
{
  "hex": "#ca54e3",
  "rgb": {
    "r": 202,
    "g": 84,
    "b": 227
  },
  "hsl": {
    "h": 289.51,
    "s": 71.859,
    "l": 60.98
  },
  "oklch": {
    "l": 0.65382,
    "c": 0.2257,
    "h": 320.2
  },
  "luminance": 0.24443
}

Semantic roles & 50–950 ramp

primary
#CA54E3
secondary
#B8E4AE
accent
#D41234
background
#FEF8FE
surface
#FCF0FD
border
#D5CBD5
text
#160D16
muted
#847D84

Preview Lab

Preview with #CA54E3

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

Preview Lab → · Contrast checker → · Palette generator →

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