#CA54E9#CA54E9

#CA54E9 is a light, highly saturated purple. Relative luminance 0.248; OKLCH L 65.7% C 0.231 H 318.6°. Best body text is #000000 at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#CA54E9
RGBrgb(202, 84, 233)
HSLhsl(288, 77%, 62%)
HSVhsv(288, 64%, 91%)
CMYKcmyk(13.3%, 63.9%, 0%, 8.6%)
CIE-LABlab(56.86, 67.48, -54.57)
CIE-LCHlch(56.86, 86.78, 321.04°)
OKLaboklab(65.73% 0.1735 -0.1527)
OKLCHoklch(65.73% 0.231 318.6)
XYZxyz(42.2335, 24.7822, 79.6338)
Luminance0.2478 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA54E9 #73E954
analogous
#8054E9 #CA54E9 #E954BD
triadic
#CA54E9 #E9CA54 #54E9CA
tetradic
#CA54E9 #E98054 #73E954 #54BDE9
square
#CA54E9 #E98054 #73E954 #54BDE9
split-complementary
#CA54E9 #BDE954 #54E980
monochromatic
#8D16AC #B91EE2 #CA54E9 #DB8AF0 #ECC0F7

Accessibility & contrast

On white

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

On black

5.96
#CA54E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA54E9
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA54E9#FFFFFF#000000##000000
##CA54E91.003.535.965.96
#FFFFFF3.531.0021.0021.00
#0000005.9621.001.001.00
##0000005.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2281ED
Deuteranopia (green-blind)
#5C8CE5
Tritanopia (blue-blind)
#CA6E97
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #ca54e9;
/* rgb */ color: rgb(202, 84, 233);
/* oklch */ color: oklch(65.7% 0.231 318.6);
Tailwind
colors: {
  custom: {
    50: '#de8cf1',
    500: '#ca54e9',
    950: '#000000',
  },
}
SCSS
$custom: #ca54e9;
$custom-light: #de8cf1;
$custom-dark: #000000;
JSON
{
  "hex": "#ca54e9",
  "rgb": {
    "r": 202,
    "g": 84,
    "b": 233
  },
  "hsl": {
    "h": 287.517,
    "s": 77.202,
    "l": 62.157
  },
  "oklch": {
    "l": 0.65729,
    "c": 0.23107,
    "h": 318.6
  },
  "luminance": 0.2478
}

Semantic roles & 50–950 ramp

primary
#CA54E9
secondary
#BCE8B1
accent
#D90C37
background
#FEF8FE
surface
#FCF0FD
border
#D5CBD5
text
#160D17
muted
#847D85

Preview Lab

Preview with #CA54E9

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

Preview Lab → · Contrast checker → · Palette generator →

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