#CA5DB8#CA5DB8

#CA5DB8 is a light, vivid purple. Relative luminance 0.238; OKLCH L 64.3% C 0.176 H 334.2°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#CA5DB8
RGBrgb(202, 93, 184)
HSLhsl(310, 51%, 58%)
HSVhsv(310, 54%, 79%)
CMYKcmyk(0%, 54%, 8.9%, 20.8%)
CIE-LABlab(55.94, 54.76, -28.18)
CIE-LCHlch(55.94, 61.59, 332.77°)
OKLaboklab(64.27% 0.158 -0.0766)
OKLCHoklch(64.27% 0.176 334.2)
XYZxyz(36.9233, 23.8485, 47.9966)
Luminance0.2385 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA5DB8 #5DCA6F
analogous
#A55DCA #CA5DB8 #CA5D81
triadic
#CA5DB8 #B8CA5D #5DB8CA
tetradic
#CA5DB8 #CAA55D #5DCA6F #5D81CA
square
#CA5DB8 #CAA55D #5DCA6F #5D81CA
split-complementary
#CA5DB8 #81CA5D #5DCAA5
monochromatic
#822B74 #B03A9D #CA5DB8 #D98BCC #E8B9E0

Accessibility & contrast

On white

3.64
#CA5DB8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.77
#CA5DB8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA5DB8
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA5DB8#FFFFFF#000000##000000
##CA5DB81.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C7CBB
Deuteranopia (green-blind)
#7C8CB5
Tritanopia (blue-blind)
#D26482
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #ca5db8;
/* rgb */ color: rgb(202, 93, 184);
/* oklch */ color: oklch(64.3% 0.176 334.2);
Tailwind
colors: {
  custom: {
    50: '#dd90cd',
    500: '#ca5db8',
    950: '#000000',
  },
}
SCSS
$custom: #ca5db8;
$custom-light: #dd90cd;
$custom-dark: #000000;
JSON
{
  "hex": "#ca5db8",
  "rgb": {
    "r": 202,
    "g": 93,
    "b": 184
  },
  "hsl": {
    "h": 309.908,
    "s": 50.698,
    "l": 57.843
  },
  "oklch": {
    "l": 0.64271,
    "c": 0.1756,
    "h": 334.2
  },
  "luminance": 0.23846
}

Semantic roles & 50–950 ramp

primary
#CA5DB8
secondary
#ACD7B3
accent
#DA654E
background
#FDF9FC
surface
#FBF1F9
border
#D4CBD2
text
#150D13
muted
#837E82

Preview Lab

Preview with #CA5DB8

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

Preview Lab → · Contrast checker → · Palette generator →

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