#CA51BB#CA51BB

#CA51BB is a light, vivid purple. Relative luminance 0.220; OKLCH L 62.9% C 0.196 H 332.8°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#CA51BB
RGBrgb(202, 81, 187)
HSLhsl(307, 53%, 55%)
HSVhsv(307, 60%, 79%)
CMYKcmyk(0%, 59.9%, 7.4%, 20.8%)
CIE-LABlab(54.06, 60.68, -32.83)
CIE-LCHlch(54.06, 68.99, 331.58°)
OKLaboklab(62.94% 0.1743 -0.0897)
OKLCHoklch(62.94% 0.196 332.8)
XYZxyz(36.2692, 22.0319, 49.3464)
Luminance0.2203 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA51BB #51CA60
analogous
#9C51CA #CA51BB #CA517E
triadic
#CA51BB #BBCA51 #51BBCA
tetradic
#CA51BB #CA9C51 #51CA60 #517ECA
square
#CA51BB #CA9C51 #51CA60 #517ECA
split-complementary
#CA51BB #7ECA51 #51CA9C
monochromatic
#7B2570 #AA349B #CA51BB #D880CD #E7AFE0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CA51BB#FFFFFF#000000##000000
##CA51BB1.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)
#4D76BE
Deuteranopia (green-blind)
#7488B8
Tritanopia (blue-blind)
#D25B7F
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #ca51bb;
/* rgb */ color: rgb(202, 81, 187);
/* oklch */ color: oklch(62.9% 0.196 332.8);
Tailwind
colors: {
  custom: {
    50: '#dd89d0',
    500: '#ca51bb',
    950: '#000000',
  },
}
SCSS
$custom: #ca51bb;
$custom-light: #dd89d0;
$custom-dark: #000000;
JSON
{
  "hex": "#ca51bb",
  "rgb": {
    "r": 202,
    "g": 81,
    "b": 187
  },
  "hsl": {
    "h": 307.438,
    "s": 53.304,
    "l": 55.49
  },
  "oklch": {
    "l": 0.62936,
    "c": 0.19602,
    "h": 332.8
  },
  "luminance": 0.22029
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CA51BB

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

Preview Lab → · Contrast checker → · Palette generator →

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