#CA5CC7#CA5CC7

#CA5CC7 is a light, vivid purple. Relative luminance 0.243; OKLCH L 64.8% C 0.190 H 328.5°. Best body text is #000000 at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#CA5CC7
RGBrgb(202, 92, 199)
HSLhsl(302, 51%, 58%)
HSVhsv(302, 54%, 79%)
CMYKcmyk(0%, 54.5%, 1.5%, 20.8%)
CIE-LABlab(56.42, 57.76, -36.03)
CIE-LCHlch(56.42, 68.07, 328.04°)
OKLaboklab(64.85% 0.1617 -0.099)
OKLCHoklch(64.85% 0.19 328.5)
XYZxyz(38.4926, 24.3367, 56.6918)
Luminance0.2433 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA5CC7 #5CCA5F
analogous
#965CCA #CA5CC7 #CA5C90
triadic
#CA5CC7 #C7CA5C #5CC7CA
tetradic
#CA5CC7 #CA965C #5CCA5F #5C90CA
square
#CA5CC7 #CA965C #5CCA5F #5C90CA
split-complementary
#CA5CC7 #90CA5C #5CCA96
monochromatic
#812A7F #B039AC #CA5CC7 #D98AD7 #E8B8E7

Accessibility & contrast

On white

3.58
#CA5CC7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.87
#CA5CC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA5CC7
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA5CC7#FFFFFF#000000##000000
##CA5CC71.003.585.875.87
#FFFFFF3.581.0021.0021.00
#0000005.8721.001.001.00
##0000005.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#537ECA
Deuteranopia (green-blind)
#758DC4
Tritanopia (blue-blind)
#D06889
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #ca5cc7;
/* rgb */ color: rgb(202, 92, 199);
/* oklch */ color: oklch(64.8% 0.190 328.5);
Tailwind
colors: {
  custom: {
    50: '#dd8fd8',
    500: '#ca5cc7',
    950: '#000000',
  },
}
SCSS
$custom: #ca5cc7;
$custom-light: #dd8fd8;
$custom-dark: #000000;
JSON
{
  "hex": "#ca5cc7",
  "rgb": {
    "r": 202,
    "g": 92,
    "b": 199
  },
  "hsl": {
    "h": 301.636,
    "s": 50.926,
    "l": 57.647
  },
  "oklch": {
    "l": 0.64847,
    "c": 0.18961,
    "h": 328.5
  },
  "luminance": 0.24334
}

Semantic roles & 50–950 ramp

primary
#CA5CC7
secondary
#ABD7AC
accent
#DA514D
background
#FDF9FD
surface
#FBF1FA
border
#D4CBD3
text
#150D14
muted
#837E83

Preview Lab

Preview with #CA5CC7

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

Preview Lab → · Contrast checker → · Palette generator →

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