#CA54CC#CA54CC

#CA54CC is a light, highly saturated purple. Relative luminance 0.233; OKLCH L 64.1% C 0.206 H 327.0°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#CA54CC
RGBrgb(202, 84, 204)
HSLhsl(299, 54%, 56%)
HSVhsv(299, 59%, 80%)
CMYKcmyk(1%, 58.8%, 0%, 20%)
CIE-LABlab(55.34, 62.22, -40.59)
CIE-LCHlch(55.34, 74.29, 326.88°)
OKLaboklab(64.13% 0.1724 -0.112)
OKLCHoklch(64.13% 0.206 327)
XYZxyz(38.4259, 23.2592, 59.5806)
Luminance0.2326 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA54CC #56CC54
analogous
#8E54CC #CA54CC #CC5492
triadic
#CA54CC #CCCA54 #54CCCA
tetradic
#CA54CC #CC8E54 #56CC54 #5492CC
square
#CA54CC #CC8E54 #56CC54 #5492CC
split-complementary
#CA54CC #92CC54 #54CC8E
monochromatic
#7E2680 #AD34AF #CA54CC #D983DA #E7B2E8

Accessibility & contrast

On white

3.72
#CA54CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.65
#CA54CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA54CC
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA54CC#FFFFFF#000000##000000
##CA54CC1.003.725.655.65
#FFFFFF3.721.0021.0021.00
#0000005.6521.001.001.00
##0000005.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#457BD0
Deuteranopia (green-blind)
#6E8AC9
Tritanopia (blue-blind)
#CF6388
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #ca54cc;
/* rgb */ color: rgb(202, 84, 204);
/* oklch */ color: oklch(64.1% 0.206 327.0);
Tailwind
colors: {
  custom: {
    50: '#dd8bdc',
    500: '#ca54cc',
    950: '#000000',
  },
}
SCSS
$custom: #ca54cc;
$custom-light: #dd8bdc;
$custom-dark: #000000;
JSON
{
  "hex": "#ca54cc",
  "rgb": {
    "r": 202,
    "g": 84,
    "b": 204
  },
  "hsl": {
    "h": 299,
    "s": 54.054,
    "l": 56.471
  },
  "oklch": {
    "l": 0.6413,
    "c": 0.20563,
    "h": 327
  },
  "luminance": 0.23257
}

Semantic roles & 50–950 ramp

primary
#CA54CC
secondary
#A6D7A5
accent
#DD4A4D
background
#FDF8FD
surface
#FBF0FB
border
#D4CBD4
text
#150C15
muted
#837D83

Preview Lab

Preview with #CA54CC

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

Preview Lab → · Contrast checker → · Palette generator →

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