#CA54E7#CA54E7

#CA54E7 is a light, highly saturated purple. Relative luminance 0.247; OKLCH L 65.6% C 0.229 H 319.2°. Best body text is #000000 at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#CA54E7
RGBrgb(202, 84, 231)
HSLhsl(288, 75%, 62%)
HSVhsv(288, 64%, 91%)
CMYKcmyk(12.6%, 63.6%, 0%, 9.4%)
CIE-LABlab(56.75, 67.10, -53.63)
CIE-LCHlch(56.75, 85.90, 321.37°)
OKLaboklab(65.61% 0.1735 -0.1499)
OKLCHoklch(65.61% 0.229 319.2)
XYZxyz(41.9494, 24.6686, 78.1377)
Luminance0.2467 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA54E7 #71E754
analogous
#8154E7 #CA54E7 #E754BB
triadic
#CA54E7 #E7CA54 #54E7CA
tetradic
#CA54E7 #E78154 #71E754 #54BBE7
square
#CA54E7 #E78154 #71E754 #54BBE7
split-complementary
#CA54E7 #BBE754 #54E781
monochromatic
#8C18A9 #B91FDF #CA54E7 #DB8AEF #EBBFF6

Accessibility & contrast

On white

3.54
#CA54E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.93
#CA54E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA54E7
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA54E7#FFFFFF#000000##000000
##CA54E71.003.545.935.93
#FFFFFF3.541.0021.0021.00
#0000005.9321.001.001.00
##0000005.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2680EB
Deuteranopia (green-blind)
#5E8CE3
Tritanopia (blue-blind)
#CA6D96
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #ca54e7;
/* rgb */ color: rgb(202, 84, 231);
/* oklch */ color: oklch(65.6% 0.229 319.2);
Tailwind
colors: {
  custom: {
    50: '#de8cef',
    500: '#ca54e7',
    950: '#000000',
  },
}
SCSS
$custom: #ca54e7;
$custom-light: #de8cef;
$custom-dark: #000000;
JSON
{
  "hex": "#ca54e7",
  "rgb": {
    "r": 202,
    "g": 84,
    "b": 231
  },
  "hsl": {
    "h": 288.163,
    "s": 75.385,
    "l": 61.765
  },
  "oklch": {
    "l": 0.65612,
    "c": 0.22928,
    "h": 319.2
  },
  "luminance": 0.24667
}

Semantic roles & 50–950 ramp

primary
#CA54E7
secondary
#BBE7B0
accent
#D80E36
background
#FEF8FE
surface
#FCF0FD
border
#D5CBD5
text
#160D16
muted
#847D84

Preview Lab

Preview with #CA54E7

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

Preview Lab → · Contrast checker → · Palette generator →

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