#CA5DBA#CA5DBA

#CA5DBA is a light, vivid purple. Relative luminance 0.239; OKLCH L 64.4% C 0.177 H 333.4°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#CA5DBA
RGBrgb(202, 93, 186)
HSLhsl(309, 51%, 58%)
HSVhsv(309, 54%, 79%)
CMYKcmyk(0%, 54%, 7.9%, 20.8%)
CIE-LABlab(56.02, 55.09, -29.20)
CIE-LCHlch(56.02, 62.35, 332.07°)
OKLaboklab(64.36% 0.1584 -0.0795)
OKLCHoklch(64.36% 0.177 333.4)
XYZxyz(37.1344, 23.9330, 49.1085)
Luminance0.2393 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA5DBA #5DCA6D
analogous
#A35DCA #CA5DBA #CA5D84
triadic
#CA5DBA #BACA5D #5DBACA
tetradic
#CA5DBA #CAA35D #5DCA6D #5D84CA
square
#CA5DBA #CAA35D #5DCA6D #5D84CA
split-complementary
#CA5DBA #84CA5D #5DCAA3
monochromatic
#822B75 #B03A9F #CA5DBA #D98BCE #E8B9E1

Accessibility & contrast

On white

3.63
#CA5DBA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.79
#CA5DBA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA5DBA
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA5DBA#FFFFFF#000000##000000
##CA5DBA1.003.635.795.79
#FFFFFF3.631.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B7CBD
Deuteranopia (green-blind)
#7B8CB7
Tritanopia (blue-blind)
#D26483
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #ca5dba;
/* rgb */ color: rgb(202, 93, 186);
/* oklch */ color: oklch(64.4% 0.177 333.4);
Tailwind
colors: {
  custom: {
    50: '#dd90cf',
    500: '#ca5dba',
    950: '#000000',
  },
}
SCSS
$custom: #ca5dba;
$custom-light: #dd90cf;
$custom-dark: #000000;
JSON
{
  "hex": "#ca5dba",
  "rgb": {
    "r": 202,
    "g": 93,
    "b": 186
  },
  "hsl": {
    "h": 308.807,
    "s": 50.698,
    "l": 57.843
  },
  "oklch": {
    "l": 0.64362,
    "c": 0.17721,
    "h": 333.4
  },
  "luminance": 0.2393
}

Semantic roles & 50–950 ramp

primary
#CA5DBA
secondary
#ACD7B2
accent
#DA624E
background
#FDF9FC
surface
#FBF1F9
border
#D4CBD2
text
#150D13
muted
#837E82

Preview Lab

Preview with #CA5DBA

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

Preview Lab → · Contrast checker → · Palette generator →

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