#CA5CC2#CA5CC2

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

Color values

HEX#CA5CC2
RGBrgb(202, 92, 194)
HSLhsl(304, 51%, 58%)
HSVhsv(304, 54%, 79%)
CMYKcmyk(0%, 54.5%, 4%, 20.8%)
CIE-LABlab(56.20, 56.90, -33.52)
CIE-LCHlch(56.20, 66.04, 329.49°)
OKLaboklab(64.61% 0.1611 -0.0918)
OKLCHoklch(64.61% 0.185 330.3)
XYZxyz(37.9216, 24.1083, 53.6845)
Luminance0.2411 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA5CC2 #5CCA64
analogous
#9B5CCA #CA5CC2 #CA5C8B
triadic
#CA5CC2 #C2CA5C #5CC2CA
tetradic
#CA5CC2 #CA9B5C #5CCA64 #5C8BCA
square
#CA5CC2 #CA9B5C #5CCA64 #5C8BCA
split-complementary
#CA5CC2 #8BCA5C #5CCA9B
monochromatic
#812A7B #B039A7 #CA5CC2 #D98AD3 #E8B8E5

Accessibility & contrast

On white

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

On black

5.82
#CA5CC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA5CC2
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA5CC2#FFFFFF#000000##000000
##CA5CC21.003.615.825.82
#FFFFFF3.611.0021.0021.00
#0000005.8221.001.001.00
##0000005.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#567DC5
Deuteranopia (green-blind)
#778CBF
Tritanopia (blue-blind)
#D16687
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #ca5cc2;
/* rgb */ color: rgb(202, 92, 194);
/* oklch */ color: oklch(64.6% 0.185 330.3);
Tailwind
colors: {
  custom: {
    50: '#dd8fd5',
    500: '#ca5cc2',
    950: '#000000',
  },
}
SCSS
$custom: #ca5cc2;
$custom-light: #dd8fd5;
$custom-dark: #000000;
JSON
{
  "hex": "#ca5cc2",
  "rgb": {
    "r": 202,
    "g": 92,
    "b": 194
  },
  "hsl": {
    "h": 304.364,
    "s": 50.926,
    "l": 57.647
  },
  "oklch": {
    "l": 0.64605,
    "c": 0.18537,
    "h": 330.3
  },
  "luminance": 0.24106
}

Semantic roles & 50–950 ramp

primary
#CA5CC2
secondary
#ABD7AE
accent
#DA584D
background
#FDF9FD
surface
#FBF1FA
border
#D4CBD3
text
#150D14
muted
#837E83

Preview Lab

Preview with #CA5CC2

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

Preview Lab → · Contrast checker → · Palette generator →

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