#CA54E8#CA54E8

#CA54E8 is a light, highly saturated purple. Relative luminance 0.247; OKLCH L 65.7% C 0.230 H 318.9°. Best body text is #000000 at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#CA54E8
RGBrgb(202, 84, 232)
HSLhsl(288, 76%, 62%)
HSVhsv(288, 64%, 91%)
CMYKcmyk(12.9%, 63.8%, 0%, 9%)
CIE-LABlab(56.81, 67.29, -54.10)
CIE-LCHlch(56.81, 86.34, 321.20°)
OKLaboklab(65.67% 0.1735 -0.1513)
OKLCHoklch(65.67% 0.23 318.9)
XYZxyz(42.0910, 24.7253, 78.8836)
Luminance0.2472 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA54E8 #72E854
analogous
#8054E8 #CA54E8 #E854BC
triadic
#CA54E8 #E8CA54 #54E8CA
tetradic
#CA54E8 #E88054 #72E854 #54BCE8
square
#CA54E8 #E88054 #72E854 #54BCE8
split-complementary
#CA54E8 #BCE854 #54E880
monochromatic
#8D17AB #B91EE1 #CA54E8 #DB8AEF #EBC0F7

Accessibility & contrast

On white

3.53
#CA54E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.94
#CA54E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA54E8
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA54E8#FFFFFF#000000##000000
##CA54E81.003.535.945.94
#FFFFFF3.531.0021.0021.00
#0000005.9421.001.001.00
##0000005.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2480EC
Deuteranopia (green-blind)
#5D8CE4
Tritanopia (blue-blind)
#CA6E97
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #ca54e8;
/* rgb */ color: rgb(202, 84, 232);
/* oklch */ color: oklch(65.7% 0.230 318.9);
Tailwind
colors: {
  custom: {
    50: '#de8cf0',
    500: '#ca54e8',
    950: '#000000',
  },
}
SCSS
$custom: #ca54e8;
$custom-light: #de8cf0;
$custom-dark: #000000;
JSON
{
  "hex": "#ca54e8",
  "rgb": {
    "r": 202,
    "g": 84,
    "b": 232
  },
  "hsl": {
    "h": 287.838,
    "s": 76.289,
    "l": 61.961
  },
  "oklch": {
    "l": 0.6567,
    "c": 0.23017,
    "h": 318.9
  },
  "luminance": 0.24723
}

Semantic roles & 50–950 ramp

primary
#CA54E8
secondary
#BCE7B1
accent
#D80D36
background
#FEF8FE
surface
#FCF0FD
border
#D5CBD5
text
#160D17
muted
#847D85

Preview Lab

Preview with #CA54E8

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

Preview Lab → · Contrast checker → · Palette generator →

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