#CA56B8#CA56B8

#CA56B8 is a light, vivid purple. Relative luminance 0.227; OKLCH L 63.4% C 0.186 H 334.0°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#CA56B8
RGBrgb(202, 86, 184)
HSLhsl(309, 52%, 56%)
HSVhsv(309, 57%, 79%)
CMYKcmyk(0%, 57.4%, 8.9%, 20.8%)
CIE-LABlab(54.74, 57.99, -30.04)
CIE-LCHlch(54.74, 65.31, 332.61°)
OKLaboklab(63.39% 0.1674 -0.0818)
OKLCHoklch(63.39% 0.186 334)
XYZxyz(36.3368, 22.6755, 47.8011)
Luminance0.2267 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA56B8 #56CA68
analogous
#A256CA #CA56B8 #CA567E
triadic
#CA56B8 #B8CA56 #56B8CA
tetradic
#CA56B8 #CAA256 #56CA68 #567ECA
square
#CA56B8 #CAA256 #56CA68 #567ECA
split-complementary
#CA56B8 #7ECA56 #56CAA2
monochromatic
#7E2871 #AD369A #CA56B8 #D985CC #E7B3DF

Accessibility & contrast

On white

3.79
#CA56B8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.53
#CA56B8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA56B8
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA56B8#FFFFFF#000000##000000
##CA56B81.003.795.535.53
#FFFFFF3.791.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5478BB
Deuteranopia (green-blind)
#7889B5
Tritanopia (blue-blind)
#D35E7F
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #ca56b8;
/* rgb */ color: rgb(202, 86, 184);
/* oklch */ color: oklch(63.4% 0.186 334.0);
Tailwind
colors: {
  custom: {
    50: '#dd8ccd',
    500: '#ca56b8',
    950: '#000000',
  },
}
SCSS
$custom: #ca56b8;
$custom-light: #dd8ccd;
$custom-dark: #000000;
JSON
{
  "hex": "#ca56b8",
  "rgb": {
    "r": 202,
    "g": 86,
    "b": 184
  },
  "hsl": {
    "h": 309.31,
    "s": 52.252,
    "l": 56.471
  },
  "oklch": {
    "l": 0.63388,
    "c": 0.18634,
    "h": 334
  },
  "luminance": 0.22673
}

Semantic roles & 50–950 ramp

primary
#CA56B8
secondary
#A6D6AD
accent
#DC624C
background
#FDF8FC
surface
#FBF0F9
border
#D4CBD2
text
#150C13
muted
#837D82

Preview Lab

Preview with #CA56B8

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

Preview Lab → · Contrast checker → · Palette generator →

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