#CA51BD#CA51BD

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

Color values

HEX#CA51BD
RGBrgb(202, 81, 189)
HSLhsl(306, 53%, 55%)
HSVhsv(306, 60%, 79%)
CMYKcmyk(0%, 59.9%, 6.4%, 20.8%)
CIE-LABlab(54.15, 61.00, -33.84)
CIE-LCHlch(54.15, 69.76, 330.98°)
OKLaboklab(63.03% 0.1746 -0.0926)
OKLCHoklch(63.03% 0.198 332.1)
XYZxyz(36.4848, 22.1182, 50.4818)
Luminance0.2212 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA51BD #51CA5E
analogous
#9A51CA #CA51BD #CA5181
triadic
#CA51BD #BDCA51 #51BDCA
tetradic
#CA51BD #CA9A51 #51CA5E #5181CA
square
#CA51BD #CA9A51 #51CA5E #5181CA
split-complementary
#CA51BD #81CA51 #51CA9A
monochromatic
#7B2572 #AA349D #CA51BD #D880CF #E7AFE1

Accessibility & contrast

On white

3.87
#CA51BD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#CA51BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA51BD
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA51BD#FFFFFF#000000##000000
##CA51BD1.003.875.425.42
#FFFFFF3.871.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C76C0
Deuteranopia (green-blind)
#7388BA
Tritanopia (blue-blind)
#D25B80
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #ca51bd;
/* rgb */ color: rgb(202, 81, 189);
/* oklch */ color: oklch(63.0% 0.198 332.1);
Tailwind
colors: {
  custom: {
    50: '#dd89d1',
    500: '#ca51bd',
    950: '#000000',
  },
}
SCSS
$custom: #ca51bd;
$custom-light: #dd89d1;
$custom-dark: #000000;
JSON
{
  "hex": "#ca51bd",
  "rgb": {
    "r": 202,
    "g": 81,
    "b": 189
  },
  "hsl": {
    "h": 306.446,
    "s": 53.304,
    "l": 55.49
  },
  "oklch": {
    "l": 0.63033,
    "c": 0.19759,
    "h": 332.1
  },
  "luminance": 0.22116
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CA51BD

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

Preview Lab → · Contrast checker → · Palette generator →

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