#CA56BB#CA56BB

#CA56BB is a light, vivid purple. Relative luminance 0.228; OKLCH L 63.5% C 0.189 H 332.8°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#CA56BB
RGBrgb(202, 86, 187)
HSLhsl(308, 52%, 56%)
HSVhsv(308, 57%, 79%)
CMYKcmyk(0%, 57.4%, 7.4%, 20.8%)
CIE-LABlab(54.87, 58.48, -31.57)
CIE-LCHlch(54.87, 66.45, 331.64°)
OKLaboklab(63.53% 0.1679 -0.0861)
OKLCHoklch(63.53% 0.189 332.8)
XYZxyz(36.6546, 22.8026, 49.4748)
Luminance0.2280 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA56BB #56CA65
analogous
#9F56CA #CA56BB #CA5681
triadic
#CA56BB #BBCA56 #56BBCA
tetradic
#CA56BB #CA9F56 #56CA65 #5681CA
square
#CA56BB #CA9F56 #56CA65 #5681CA
split-complementary
#CA56BB #81CA56 #56CA9F
monochromatic
#7E2873 #AD369D #CA56BB #D985CE #E7B3E0

Accessibility & contrast

On white

3.78
#CA56BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.56
#CA56BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA56BB
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA56BB#FFFFFF#000000##000000
##CA56BB1.003.785.565.56
#FFFFFF3.781.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5379BE
Deuteranopia (green-blind)
#7789B8
Tritanopia (blue-blind)
#D25F81
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #ca56bb;
/* rgb */ color: rgb(202, 86, 187);
/* oklch */ color: oklch(63.5% 0.189 332.8);
Tailwind
colors: {
  custom: {
    50: '#dd8ccf',
    500: '#ca56bb',
    950: '#000000',
  },
}
SCSS
$custom: #ca56bb;
$custom-light: #dd8ccf;
$custom-dark: #000000;
JSON
{
  "hex": "#ca56bb",
  "rgb": {
    "r": 202,
    "g": 86,
    "b": 187
  },
  "hsl": {
    "h": 307.759,
    "s": 52.252,
    "l": 56.471
  },
  "oklch": {
    "l": 0.63528,
    "c": 0.18871,
    "h": 332.8
  },
  "luminance": 0.228
}

Semantic roles & 50–950 ramp

primary
#CA56BB
secondary
#A6D6AC
accent
#DC5F4C
background
#FDF8FC
surface
#FBF0F9
border
#D4CBD2
text
#150C14
muted
#837D82

Preview Lab

Preview with #CA56BB

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

Preview Lab → · Contrast checker → · Palette generator →

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