#CA54E2#CA54E2

#CA54E2 is a light, highly saturated purple. Relative luminance 0.244; OKLCH L 65.3% C 0.225 H 320.5°. Best body text is #000000 at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#CA54E2
RGBrgb(202, 84, 226)
HSLhsl(290, 71%, 61%)
HSVhsv(290, 63%, 89%)
CMYKcmyk(10.6%, 62.8%, 0%, 11.4%)
CIE-LABlab(56.48, 66.17, -51.25)
CIE-LCHlch(56.48, 83.70, 322.24°)
OKLaboklab(65.33% 0.1735 -0.143)
OKLCHoklch(65.33% 0.225 320.5)
XYZxyz(41.2533, 24.3902, 74.4716)
Luminance0.2439 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA54E2 #6CE254
analogous
#8354E2 #CA54E2 #E254B3
triadic
#CA54E2 #E2CA54 #54E2CA
tetradic
#CA54E2 #E28354 #6CE254 #54B3E2
square
#CA54E2 #E28354 #6CE254 #54B3E2
split-complementary
#CA54E2 #B3E254 #54E283
monochromatic
#8A1BA0 #B724D5 #CA54E2 #DA88EB #EABDF4

Accessibility & contrast

On white

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

On black

5.88
#CA54E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA54E2
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA54E2#FFFFFF#000000##000000
##CA54E21.003.575.885.88
#FFFFFF3.571.0021.0021.00
#0000005.8821.001.001.00
##0000005.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E7FE6
Deuteranopia (green-blind)
#618CDE
Tritanopia (blue-blind)
#CB6B94
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #ca54e2;
/* rgb */ color: rgb(202, 84, 226);
/* oklch */ color: oklch(65.3% 0.225 320.5);
Tailwind
colors: {
  custom: {
    50: '#dd8bec',
    500: '#ca54e2',
    950: '#000000',
  },
}
SCSS
$custom: #ca54e2;
$custom-light: #dd8bec;
$custom-dark: #000000;
JSON
{
  "hex": "#ca54e2",
  "rgb": {
    "r": 202,
    "g": 84,
    "b": 226
  },
  "hsl": {
    "h": 289.859,
    "s": 71,
    "l": 60.784
  },
  "oklch": {
    "l": 0.65325,
    "c": 0.22481,
    "h": 320.5
  },
  "luminance": 0.24388
}

Semantic roles & 50–950 ramp

primary
#CA54E2
secondary
#B7E4AE
accent
#D31233
background
#FEF8FE
surface
#FCF0FD
border
#D5CBD5
text
#160D16
muted
#847D84

Preview Lab

Preview with #CA54E2

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

Preview Lab → · Contrast checker → · Palette generator →

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