#CA5BC5#CA5BC5

#CA5BC5 is a light, vivid purple. Relative luminance 0.241; OKLCH L 64.6% C 0.189 H 329.2°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#CA5BC5
RGBrgb(202, 91, 197)
HSLhsl(303, 51%, 57%)
HSVhsv(303, 55%, 79%)
CMYKcmyk(0%, 55%, 2.5%, 20.8%)
CIE-LABlab(56.16, 57.87, -35.30)
CIE-LCHlch(56.16, 67.79, 328.62°)
OKLaboklab(64.62% 0.1628 -0.0968)
OKLCHoklch(64.62% 0.189 329.2)
XYZxyz(38.1758, 24.0724, 55.4482)
Luminance0.2407 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA5BC5 #5BCA60
analogous
#985BCA #CA5BC5 #CA5B8D
triadic
#CA5BC5 #C5CA5B #5BC5CA
tetradic
#CA5BC5 #CA985B #5BCA60 #5B8DCA
square
#CA5BC5 #CA985B #5BCA60 #5B8DCA
split-complementary
#CA5BC5 #8DCA5B #5BCA98
monochromatic
#812A7D #AF39AA #CA5BC5 #D989D5 #E8B8E6

Accessibility & contrast

On white

3.61
#CA5BC5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.81
#CA5BC5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA5BC5
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA5BC5#FFFFFF#000000##000000
##CA5BC51.003.615.815.81
#FFFFFF3.611.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#537DC8
Deuteranopia (green-blind)
#768CC2
Tritanopia (blue-blind)
#D06688
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #ca5bc5;
/* rgb */ color: rgb(202, 91, 197);
/* oklch */ color: oklch(64.6% 0.189 329.2);
Tailwind
colors: {
  custom: {
    50: '#dd8fd7',
    500: '#ca5bc5',
    950: '#000000',
  },
}
SCSS
$custom: #ca5bc5;
$custom-light: #dd8fd7;
$custom-dark: #000000;
JSON
{
  "hex": "#ca5bc5",
  "rgb": {
    "r": 202,
    "g": 91,
    "b": 197
  },
  "hsl": {
    "h": 302.703,
    "s": 51.152,
    "l": 57.451
  },
  "oklch": {
    "l": 0.64623,
    "c": 0.18942,
    "h": 329.2
  },
  "luminance": 0.2407
}

Semantic roles & 50–950 ramp

primary
#CA5BC5
secondary
#AAD7AC
accent
#DB544D
background
#FDF9FD
surface
#FBF1FA
border
#D4CBD3
text
#150D14
muted
#837E83

Preview Lab

Preview with #CA5BC5

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

Preview Lab → · Contrast checker → · Palette generator →

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