#CA5CC5#CA5CC5

#CA5CC5 is a light, vivid purple. Relative luminance 0.242; OKLCH L 64.7% C 0.188 H 329.2°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#CA5CC5
RGBrgb(202, 92, 197)
HSLhsl(303, 51%, 58%)
HSVhsv(303, 54%, 79%)
CMYKcmyk(0%, 54.5%, 2.5%, 20.8%)
CIE-LABlab(56.33, 57.41, -35.03)
CIE-LCHlch(56.33, 67.25, 328.61°)
OKLaboklab(64.75% 0.1615 -0.0961)
OKLCHoklch(64.75% 0.188 329.2)
XYZxyz(38.2619, 24.2445, 55.4768)
Luminance0.2424 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA5CC5 #5CCA61
analogous
#985CCA #CA5CC5 #CA5C8E
triadic
#CA5CC5 #C5CA5C #5CC5CA
tetradic
#CA5CC5 #CA985C #5CCA61 #5C8ECA
square
#CA5CC5 #CA985C #5CCA61 #5C8ECA
split-complementary
#CA5CC5 #8ECA5C #5CCA98
monochromatic
#812A7E #B039AA #CA5CC5 #D98AD5 #E8B8E6

Accessibility & contrast

On white

3.59
#CA5CC5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.85
#CA5CC5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA5CC5
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA5CC5#FFFFFF#000000##000000
##CA5CC51.003.595.855.85
#FFFFFF3.591.0021.0021.00
#0000005.8521.001.001.00
##0000005.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#547EC8
Deuteranopia (green-blind)
#768CC2
Tritanopia (blue-blind)
#D06788
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #ca5cc5;
/* rgb */ color: rgb(202, 92, 197);
/* oklch */ color: oklch(64.7% 0.188 329.2);
Tailwind
colors: {
  custom: {
    50: '#dd8fd7',
    500: '#ca5cc5',
    950: '#000000',
  },
}
SCSS
$custom: #ca5cc5;
$custom-light: #dd8fd7;
$custom-dark: #000000;
JSON
{
  "hex": "#ca5cc5",
  "rgb": {
    "r": 202,
    "g": 92,
    "b": 197
  },
  "hsl": {
    "h": 302.727,
    "s": 50.926,
    "l": 57.647
  },
  "oklch": {
    "l": 0.64749,
    "c": 0.18791,
    "h": 329.2
  },
  "luminance": 0.24242
}

Semantic roles & 50–950 ramp

primary
#CA5CC5
secondary
#ABD7AD
accent
#DA544D
background
#FDF9FD
surface
#FBF1FA
border
#D4CBD3
text
#150D14
muted
#837E83

Preview Lab

Preview with #CA5CC5

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

Preview Lab → · Contrast checker → · Palette generator →

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