#CA54D4#CA54D4

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

Color values

HEX#CA54D4
RGBrgb(202, 84, 212)
HSLhsl(295, 60%, 58%)
HSVhsv(295, 60%, 83%)
CMYKcmyk(4.7%, 60.4%, 0%, 16.9%)
CIE-LABlab(55.74, 63.63, -44.51)
CIE-LCHlch(55.74, 77.65, 325.02°)
OKLaboklab(64.55% 0.173 -0.1234)
OKLCHoklch(64.55% 0.212 324.5)
XYZxyz(39.4101, 23.6529, 64.7642)
Luminance0.2365 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA54D4 #5ED454
analogous
#8A54D4 #CA54D4 #D4549E
triadic
#CA54D4 #D4CA54 #54D4CA
tetradic
#CA54D4 #D48A54 #5ED454 #549ED4
square
#CA54D4 #D48A54 #5ED454 #549ED4
split-complementary
#CA54D4 #9ED454 #54D48A
monochromatic
#83238B #B12FBC #CA54D4 #D985E0 #E8B6ED

Accessibility & contrast

On white

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

On black

5.73
#CA54D4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA54D4
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA54D4#FFFFFF#000000##000000
##CA54D41.003.665.735.73
#FFFFFF3.661.0021.0021.00
#0000005.7321.001.001.00
##0000005.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E7CD8
Deuteranopia (green-blind)
#6A8BD1
Tritanopia (blue-blind)
#CE668C
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #ca54d4;
/* rgb */ color: rgb(202, 84, 212);
/* oklch */ color: oklch(64.6% 0.212 324.5);
Tailwind
colors: {
  custom: {
    50: '#dd8be2',
    500: '#ca54d4',
    950: '#000000',
  },
}
SCSS
$custom: #ca54d4;
$custom-light: #dd8be2;
$custom-dark: #000000;
JSON
{
  "hex": "#ca54d4",
  "rgb": {
    "r": 202,
    "g": 84,
    "b": 212
  },
  "hsl": {
    "h": 295.313,
    "s": 59.813,
    "l": 58.039
  },
  "oklch": {
    "l": 0.64552,
    "c": 0.21249,
    "h": 324.5
  },
  "luminance": 0.23651
}

Semantic roles & 50–950 ramp

primary
#CA54D4
secondary
#ACDBA8
accent
#E34551
background
#FDF8FD
surface
#FBF0FB
border
#D4CBD4
text
#150C15
muted
#837D83

Preview Lab

Preview with #CA54D4

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

Preview Lab → · Contrast checker → · Palette generator →

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