#CA51BC#CA51BC

#CA51BC is a light, vivid purple. Relative luminance 0.221; OKLCH L 63.0% C 0.197 H 332.4°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#CA51BC
RGBrgb(202, 81, 188)
HSLhsl(307, 53%, 55%)
HSVhsv(307, 60%, 79%)
CMYKcmyk(0%, 59.9%, 6.9%, 20.8%)
CIE-LABlab(54.11, 60.84, -33.34)
CIE-LCHlch(54.11, 69.37, 331.28°)
OKLaboklab(62.98% 0.1744 -0.0911)
OKLCHoklch(62.98% 0.197 332.4)
XYZxyz(36.3766, 22.0749, 49.9121)
Luminance0.2207 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA51BC #51CA5F
analogous
#9B51CA #CA51BC #CA517F
triadic
#CA51BC #BCCA51 #51BCCA
tetradic
#CA51BC #CA9B51 #51CA5F #517FCA
square
#CA51BC #CA9B51 #51CA5F #517FCA
split-complementary
#CA51BC #7FCA51 #51CA9B
monochromatic
#7B2571 #AA349C #CA51BC #D880CE #E7AFE0

Accessibility & contrast

On white

3.88
#CA51BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#CA51BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA51BC
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA51BC#FFFFFF#000000##000000
##CA51BC1.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D76BF
Deuteranopia (green-blind)
#7488B9
Tritanopia (blue-blind)
#D25B7F
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #ca51bc;
/* rgb */ color: rgb(202, 81, 188);
/* oklch */ color: oklch(63.0% 0.197 332.4);
Tailwind
colors: {
  custom: {
    50: '#dd89d0',
    500: '#ca51bc',
    950: '#000000',
  },
}
SCSS
$custom: #ca51bc;
$custom-light: #dd89d0;
$custom-dark: #000000;
JSON
{
  "hex": "#ca51bc",
  "rgb": {
    "r": 202,
    "g": 81,
    "b": 188
  },
  "hsl": {
    "h": 306.942,
    "s": 53.304,
    "l": 55.49
  },
  "oklch": {
    "l": 0.62984,
    "c": 0.1968,
    "h": 332.4
  },
  "luminance": 0.22072
}

Semantic roles & 50–950 ramp

primary
#CA51BC
secondary
#A2D5A8
accent
#DD5C4B
background
#FDF8FC
surface
#FBF0F9
border
#D4CBD2
text
#150C14
muted
#837D82

Preview Lab

Preview with #CA51BC

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

Preview Lab → · Contrast checker → · Palette generator →

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