#CA5ABA#CA5ABA

#CA5ABA is a light, vivid purple. Relative luminance 0.234; OKLCH L 64.0% C 0.182 H 333.3°. Best body text is #000000 at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#CA5ABA
RGBrgb(202, 90, 186)
HSLhsl(309, 51%, 57%)
HSVhsv(309, 55%, 79%)
CMYKcmyk(0%, 55.4%, 7.9%, 20.8%)
CIE-LABlab(55.50, 56.49, -30.01)
CIE-LCHlch(55.50, 63.97, 332.02°)
OKLaboklab(63.98% 0.1625 -0.0817)
OKLCHoklch(63.98% 0.182 333.3)
XYZxyz(36.8762, 23.4166, 49.0224)
Luminance0.2341 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA5ABA #5ACA6A
analogous
#A25ACA #CA5ABA #CA5A82
triadic
#CA5ABA #BACA5A #5ABACA
tetradic
#CA5ABA #CAA25A #5ACA6A #5A82CA
square
#CA5ABA #CAA25A #5ACA6A #5A82CA
split-complementary
#CA5ABA #82CA5A #5ACAA2
monochromatic
#802974 #AF389E #CA5ABA #D988CD #E8B7E1

Accessibility & contrast

On white

3.70
#CA5ABA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.68
#CA5ABA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA5ABA
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA5ABA#FFFFFF#000000##000000
##CA5ABA1.003.705.685.68
#FFFFFF3.701.0021.0021.00
#0000005.6821.001.001.00
##0000005.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#587BBD
Deuteranopia (green-blind)
#7A8BB7
Tritanopia (blue-blind)
#D26282
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #ca5aba;
/* rgb */ color: rgb(202, 90, 186);
/* oklch */ color: oklch(64.0% 0.182 333.3);
Tailwind
colors: {
  custom: {
    50: '#dd8ecf',
    500: '#ca5aba',
    950: '#000000',
  },
}
SCSS
$custom: #ca5aba;
$custom-light: #dd8ecf;
$custom-dark: #000000;
JSON
{
  "hex": "#ca5aba",
  "rgb": {
    "r": 202,
    "g": 90,
    "b": 186
  },
  "hsl": {
    "h": 308.571,
    "s": 51.376,
    "l": 57.255
  },
  "oklch": {
    "l": 0.63977,
    "c": 0.18186,
    "h": 333.3
  },
  "luminance": 0.23414
}

Semantic roles & 50–950 ramp

primary
#CA5ABA
secondary
#A9D7B0
accent
#DB614D
background
#FDF9FC
surface
#FBF1F9
border
#D4CBD2
text
#150D14
muted
#837E82

Preview Lab

Preview with #CA5ABA

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

Preview Lab → · Contrast checker → · Palette generator →

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