#CA5BC7#CA5BC7

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

Color values

HEX#CA5BC7
RGBrgb(202, 91, 199)
HSLhsl(302, 51%, 57%)
HSVhsv(302, 55%, 79%)
CMYKcmyk(0%, 55%, 1.5%, 20.8%)
CIE-LABlab(56.25, 58.22, -36.30)
CIE-LCHlch(56.25, 68.61, 328.06°)
OKLaboklab(64.72% 0.1631 -0.0997)
OKLCHoklch(64.72% 0.191 328.6)
XYZxyz(38.4065, 24.1646, 56.6631)
Luminance0.2416 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA5BC7 #5BCA5E
analogous
#965BCA #CA5BC7 #CA5B8F
triadic
#CA5BC7 #C7CA5B #5BC7CA
tetradic
#CA5BC7 #CA965B #5BCA5E #5B8FCA
square
#CA5BC7 #CA965B #5BCA5E #5B8FCA
split-complementary
#CA5BC7 #8FCA5B #5BCA96
monochromatic
#812A7F #AF39AC #CA5BC7 #D989D7 #E8B8E7

Accessibility & contrast

On white

3.60
#CA5BC7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.83
#CA5BC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA5BC7
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA5BC7#FFFFFF#000000##000000
##CA5BC71.003.605.835.83
#FFFFFF3.601.0021.0021.00
#0000005.8321.001.001.00
##0000005.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#517DCA
Deuteranopia (green-blind)
#758CC4
Tritanopia (blue-blind)
#D06789
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #ca5bc7;
/* rgb */ color: rgb(202, 91, 199);
/* oklch */ color: oklch(64.7% 0.191 328.6);
Tailwind
colors: {
  custom: {
    50: '#dd8fd8',
    500: '#ca5bc7',
    950: '#000000',
  },
}
SCSS
$custom: #ca5bc7;
$custom-light: #dd8fd8;
$custom-dark: #000000;
JSON
{
  "hex": "#ca5bc7",
  "rgb": {
    "r": 202,
    "g": 91,
    "b": 199
  },
  "hsl": {
    "h": 301.622,
    "s": 51.152,
    "l": 57.451
  },
  "oklch": {
    "l": 0.64721,
    "c": 0.19113,
    "h": 328.6
  },
  "luminance": 0.24162
}

Semantic roles & 50–950 ramp

primary
#CA5BC7
secondary
#AAD7AB
accent
#DB514D
background
#FDF9FD
surface
#FBF1FA
border
#D4CBD3
text
#150D14
muted
#837E83

Preview Lab

Preview with #CA5BC7

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

Preview Lab → · Contrast checker → · Palette generator →

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