#CA51BF#CA51BF

#CA51BF is a light, vivid purple. Relative luminance 0.222; OKLCH L 63.1% C 0.199 H 331.4°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#CA51BF
RGBrgb(202, 81, 191)
HSLhsl(305, 53%, 55%)
HSVhsv(305, 60%, 79%)
CMYKcmyk(0%, 59.9%, 5.4%, 20.8%)
CIE-LABlab(54.24, 61.33, -34.85)
CIE-LCHlch(54.24, 70.54, 330.39°)
OKLaboklab(63.13% 0.1748 -0.0955)
OKLCHoklch(63.13% 0.199 331.4)
XYZxyz(36.7034, 22.2056, 51.6331)
Luminance0.2220 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA51BF #51CA5C
analogous
#9951CA #CA51BF #CA5182
triadic
#CA51BF #BFCA51 #51BFCA
tetradic
#CA51BF #CA9951 #51CA5C #5182CA
square
#CA51BF #CA9951 #51CA5C #5182CA
split-complementary
#CA51BF #82CA51 #51CA99
monochromatic
#7B2573 #AA349F #CA51BF #D880D0 #E7AFE2

Accessibility & contrast

On white

3.86
#CA51BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#CA51BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA51BF
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA51BF#FFFFFF#000000##000000
##CA51BF1.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B77C2
Deuteranopia (green-blind)
#7288BC
Tritanopia (blue-blind)
#D25C81
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #ca51bf;
/* rgb */ color: rgb(202, 81, 191);
/* oklch */ color: oklch(63.1% 0.199 331.4);
Tailwind
colors: {
  custom: {
    50: '#dd89d2',
    500: '#ca51bf',
    950: '#000000',
  },
}
SCSS
$custom: #ca51bf;
$custom-light: #dd89d2;
$custom-dark: #000000;
JSON
{
  "hex": "#ca51bf",
  "rgb": {
    "r": 202,
    "g": 81,
    "b": 191
  },
  "hsl": {
    "h": 305.455,
    "s": 53.304,
    "l": 55.49
  },
  "oklch": {
    "l": 0.6313,
    "c": 0.19918,
    "h": 331.4
  },
  "luminance": 0.22203
}

Semantic roles & 50–950 ramp

primary
#CA51BF
secondary
#A2D5A7
accent
#DD584B
background
#FDF8FC
surface
#FBF0F9
border
#D4CBD2
text
#150C14
muted
#837D82

Preview Lab

Preview with #CA51BF

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

Preview Lab → · Contrast checker → · Palette generator →

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