#CA54D3#CA54D3

#CA54D3 is a light, highly saturated purple. Relative luminance 0.236; OKLCH L 64.5% C 0.212 H 324.8°. Best body text is #000000 at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#CA54D3
RGBrgb(202, 84, 211)
HSLhsl(296, 59%, 58%)
HSVhsv(296, 60%, 83%)
CMYKcmyk(4.3%, 60.2%, 0%, 17.3%)
CIE-LABlab(55.69, 63.45, -44.02)
CIE-LCHlch(55.69, 77.22, 325.25°)
OKLaboklab(64.5% 0.1729 -0.122)
OKLCHoklch(64.5% 0.212 324.8)
XYZxyz(39.2844, 23.6026, 64.1019)
Luminance0.2360 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA54D3 #5DD354
analogous
#8A54D3 #CA54D3 #D3549C
triadic
#CA54D3 #D3CA54 #54D3CA
tetradic
#CA54D3 #D38A54 #5DD354 #549CD3
square
#CA54D3 #D38A54 #5DD354 #549CD3
split-complementary
#CA54D3 #9CD354 #54D38A
monochromatic
#822389 #B030BA #CA54D3 #D985E0 #E8B5EC

Accessibility & contrast

On white

3.67
#CA54D3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.72
#CA54D3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA54D3
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA54D3#FFFFFF#000000##000000
##CA54D31.003.675.725.72
#FFFFFF3.671.0021.0021.00
#0000005.7221.001.001.00
##0000005.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F7CD7
Deuteranopia (green-blind)
#6A8AD0
Tritanopia (blue-blind)
#CE668C
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #ca54d3;
/* rgb */ color: rgb(202, 84, 211);
/* oklch */ color: oklch(64.5% 0.212 324.8);
Tailwind
colors: {
  custom: {
    50: '#dd8be1',
    500: '#ca54d3',
    950: '#000000',
  },
}
SCSS
$custom: #ca54d3;
$custom-light: #dd8be1;
$custom-dark: #000000;
JSON
{
  "hex": "#ca54d3",
  "rgb": {
    "r": 202,
    "g": 84,
    "b": 211
  },
  "hsl": {
    "h": 295.748,
    "s": 59.07,
    "l": 57.843
  },
  "oklch": {
    "l": 0.64498,
    "c": 0.21162,
    "h": 324.8
  },
  "luminance": 0.236
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CA54D3

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

Preview Lab → · Contrast checker → · Palette generator →

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