#CA54D1#CA54D1

#CA54D1 is a light, highly saturated purple. Relative luminance 0.235; OKLCH L 64.4% C 0.210 H 325.4°. Best body text is #000000 at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#CA54D1
RGBrgb(202, 84, 209)
HSLhsl(297, 58%, 57%)
HSVhsv(297, 60%, 82%)
CMYKcmyk(3.3%, 59.8%, 0%, 18%)
CIE-LABlab(55.59, 63.09, -43.05)
CIE-LCHlch(55.59, 76.38, 325.70°)
OKLaboklab(64.39% 0.1728 -0.1191)
OKLCHoklch(64.39% 0.21 325.4)
XYZxyz(39.0352, 23.5029, 62.7897)
Luminance0.2350 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA54D1 #5BD154
analogous
#8C54D1 #CA54D1 #D1549A
triadic
#CA54D1 #D1CA54 #54D1CA
tetradic
#CA54D1 #D18C54 #5BD154 #549AD1
square
#CA54D1 #D18C54 #5BD154 #549AD1
split-complementary
#CA54D1 #9AD154 #54D18C
monochromatic
#812486 #AF31B7 #CA54D1 #D984DE #E8B4EB

Accessibility & contrast

On white

3.68
#CA54D1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.70
#CA54D1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA54D1
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA54D1#FFFFFF#000000##000000
##CA54D11.003.685.705.70
#FFFFFF3.681.0021.0021.00
#0000005.7021.001.001.00
##0000005.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#417CD5
Deuteranopia (green-blind)
#6B8ACE
Tritanopia (blue-blind)
#CF658B
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #ca54d1;
/* rgb */ color: rgb(202, 84, 209);
/* oklch */ color: oklch(64.4% 0.210 325.4);
Tailwind
colors: {
  custom: {
    50: '#dd8bdf',
    500: '#ca54d1',
    950: '#000000',
  },
}
SCSS
$custom: #ca54d1;
$custom-light: #dd8bdf;
$custom-dark: #000000;
JSON
{
  "hex": "#ca54d1",
  "rgb": {
    "r": 202,
    "g": 84,
    "b": 209
  },
  "hsl": {
    "h": 296.64,
    "s": 57.604,
    "l": 57.451
  },
  "oklch": {
    "l": 0.64392,
    "c": 0.2099,
    "h": 325.4
  },
  "luminance": 0.23501
}

Semantic roles & 50–950 ramp

primary
#CA54D1
secondary
#AADAA7
accent
#E14750
background
#FDF8FD
surface
#FBF0FB
border
#D4CBD4
text
#150C15
muted
#837D83

Preview Lab

Preview with #CA54D1

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

Preview Lab → · Contrast checker → · Palette generator →

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