#CA54BF#CA54BF

#CA54BF is a light, vivid purple. Relative luminance 0.227; OKLCH L 63.5% C 0.195 H 331.4°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#CA54BF
RGBrgb(202, 84, 191)
HSLhsl(306, 53%, 56%)
HSVhsv(306, 58%, 79%)
CMYKcmyk(0%, 58.4%, 5.4%, 20.8%)
CIE-LABlab(54.72, 60.02, -34.10)
CIE-LCHlch(54.72, 69.03, 330.39°)
OKLaboklab(63.48% 0.171 -0.0934)
OKLCHoklch(63.48% 0.195 331.4)
XYZxyz(36.9313, 22.6614, 51.7090)
Luminance0.2266 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA54BF #54CA5F
analogous
#9A54CA #CA54BF #CA5484
triadic
#CA54BF #BFCA54 #54BFCA
tetradic
#CA54BF #CA9A54 #54CA5F #5484CA
square
#CA54BF #CA9A54 #54CA5F #5484CA
split-complementary
#CA54BF #84CA54 #54CA9A
monochromatic
#7D2775 #AC35A1 #CA54BF #D883D0 #E7B1E2

Accessibility & contrast

On white

3.80
#CA54BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.53
#CA54BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA54BF
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA54BF#FFFFFF#000000##000000
##CA54BF1.003.805.535.53
#FFFFFF3.801.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E78C2
Deuteranopia (green-blind)
#7489BC
Tritanopia (blue-blind)
#D25E82
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #ca54bf;
/* rgb */ color: rgb(202, 84, 191);
/* oklch */ color: oklch(63.5% 0.195 331.4);
Tailwind
colors: {
  custom: {
    50: '#dd8bd2',
    500: '#ca54bf',
    950: '#000000',
  },
}
SCSS
$custom: #ca54bf;
$custom-light: #dd8bd2;
$custom-dark: #000000;
JSON
{
  "hex": "#ca54bf",
  "rgb": {
    "r": 202,
    "g": 84,
    "b": 191
  },
  "hsl": {
    "h": 305.593,
    "s": 52.679,
    "l": 56.078
  },
  "oklch": {
    "l": 0.63479,
    "c": 0.19487,
    "h": 331.4
  },
  "luminance": 0.22659
}

Semantic roles & 50–950 ramp

primary
#CA54BF
secondary
#A5D5A9
accent
#DC594C
background
#FDF8FC
surface
#FBF0F9
border
#D4CBD2
text
#150C14
muted
#837D82

Preview Lab

Preview with #CA54BF

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

Preview Lab → · Contrast checker → · Palette generator →

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