#CA54D5#CA54D5

#CA54D5 is a light, highly saturated purple. Relative luminance 0.237; OKLCH L 64.6% C 0.213 H 324.2°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#CA54D5
RGBrgb(202, 84, 213)
HSLhsl(295, 61%, 58%)
HSVhsv(295, 61%, 84%)
CMYKcmyk(5.2%, 60.6%, 0%, 16.5%)
CIE-LABlab(55.79, 63.80, -45.00)
CIE-LCHlch(55.79, 78.07, 324.81°)
OKLaboklab(64.61% 0.1731 -0.1248)
OKLCHoklch(64.61% 0.213 324.2)
XYZxyz(39.5366, 23.7035, 65.4306)
Luminance0.2370 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA54D5 #5FD554
analogous
#8954D5 #CA54D5 #D5549F
triadic
#CA54D5 #D5CA54 #54D5CA
tetradic
#CA54D5 #D58954 #5FD554 #549FD5
square
#CA54D5 #D58954 #5FD554 #549FD5
split-complementary
#CA54D5 #9FD554 #54D589
monochromatic
#83228C #B12EBD #CA54D5 #D985E1 #E8B6ED

Accessibility & contrast

On white

3.66
#CA54D5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.74
#CA54D5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA54D5
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA54D5#FFFFFF#000000##000000
##CA54D51.003.665.745.74
#FFFFFF3.661.0021.0021.00
#0000005.7421.001.001.00
##0000005.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D7DD9
Deuteranopia (green-blind)
#698BD2
Tritanopia (blue-blind)
#CE678D
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #ca54d5;
/* rgb */ color: rgb(202, 84, 213);
/* oklch */ color: oklch(64.6% 0.213 324.2);
Tailwind
colors: {
  custom: {
    50: '#dd8be2',
    500: '#ca54d5',
    950: '#000000',
  },
}
SCSS
$custom: #ca54d5;
$custom-light: #dd8be2;
$custom-dark: #000000;
JSON
{
  "hex": "#ca54d5",
  "rgb": {
    "r": 202,
    "g": 84,
    "b": 213
  },
  "hsl": {
    "h": 294.884,
    "s": 60.563,
    "l": 58.235
  },
  "oklch": {
    "l": 0.64605,
    "c": 0.21336,
    "h": 324.2
  },
  "luminance": 0.23701
}

Semantic roles & 50–950 ramp

primary
#CA54D5
secondary
#ADDCA9
accent
#E44452
background
#FDF8FD
surface
#FBF0FB
border
#D4CBD4
text
#150C15
muted
#837D83

Preview Lab

Preview with #CA54D5

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

Preview Lab → · Contrast checker → · Palette generator →

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