#CA5DC7#CA5DC7

#CA5DC7 is a light, vivid purple. Relative luminance 0.245; OKLCH L 65.0% C 0.188 H 328.5°. Best body text is #000000 at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#CA5DC7
RGBrgb(202, 93, 199)
HSLhsl(302, 51%, 58%)
HSVhsv(302, 54%, 79%)
CMYKcmyk(0%, 54%, 1.5%, 20.8%)
CIE-LABlab(56.60, 57.29, -35.76)
CIE-LCHlch(56.60, 67.54, 328.03°)
OKLaboklab(64.97% 0.1604 -0.0982)
OKLCHoklch(64.97% 0.188 328.5)
XYZxyz(38.5798, 24.5111, 56.7208)
Luminance0.2451 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA5DC7 #5DCA60
analogous
#965DCA #CA5DC7 #CA5D91
triadic
#CA5DC7 #C7CA5D #5DC7CA
tetradic
#CA5DC7 #CA965D #5DCA60 #5D91CA
square
#CA5DC7 #CA965D #5DCA60 #5D91CA
split-complementary
#CA5DC7 #91CA5D #5DCA96
monochromatic
#822B80 #B03AAD #CA5DC7 #D98BD7 #E8B9E7

Accessibility & contrast

On white

3.56
#CA5DC7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.90
#CA5DC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA5DC7
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA5DC7#FFFFFF#000000##000000
##CA5DC71.003.565.905.90
#FFFFFF3.561.0021.0021.00
#0000005.9021.001.001.00
##0000005.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#547ECA
Deuteranopia (green-blind)
#768DC4
Tritanopia (blue-blind)
#D06989
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #ca5dc7;
/* rgb */ color: rgb(202, 93, 199);
/* oklch */ color: oklch(65.0% 0.188 328.5);
Tailwind
colors: {
  custom: {
    50: '#dd90d8',
    500: '#ca5dc7',
    950: '#000000',
  },
}
SCSS
$custom: #ca5dc7;
$custom-light: #dd90d8;
$custom-dark: #000000;
JSON
{
  "hex": "#ca5dc7",
  "rgb": {
    "r": 202,
    "g": 93,
    "b": 199
  },
  "hsl": {
    "h": 301.651,
    "s": 50.698,
    "l": 57.843
  },
  "oklch": {
    "l": 0.64973,
    "c": 0.18809,
    "h": 328.5
  },
  "luminance": 0.24509
}

Semantic roles & 50–950 ramp

primary
#CA5DC7
secondary
#ACD7AD
accent
#DA514E
background
#FDF9FD
surface
#FBF1FA
border
#D4CBD3
text
#150D14
muted
#837E83

Preview Lab

Preview with #CA5DC7

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

Preview Lab → · Contrast checker → · Palette generator →

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