#CA56BC#CA56BC

#CA56BC is a light, vivid purple. Relative luminance 0.228; OKLCH L 63.6% C 0.190 H 332.5°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#CA56BC
RGBrgb(202, 86, 188)
HSLhsl(307, 52%, 56%)
HSVhsv(307, 57%, 79%)
CMYKcmyk(0%, 57.4%, 6.9%, 20.8%)
CIE-LABlab(54.91, 58.64, -32.08)
CIE-LCHlch(54.91, 66.84, 331.32°)
OKLaboklab(63.58% 0.1681 -0.0876)
OKLCHoklch(63.58% 0.19 332.5)
XYZxyz(36.7620, 22.8456, 50.0406)
Luminance0.2284 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA56BC #56CA64
analogous
#9E56CA #CA56BC #CA5682
triadic
#CA56BC #BCCA56 #56BCCA
tetradic
#CA56BC #CA9E56 #56CA64 #5682CA
square
#CA56BC #CA9E56 #56CA64 #5682CA
split-complementary
#CA56BC #82CA56 #56CA9E
monochromatic
#7E2874 #AD369E #CA56BC #D985CE #E7B3E1

Accessibility & contrast

On white

3.77
#CA56BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#CA56BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA56BC
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA56BC#FFFFFF#000000##000000
##CA56BC1.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5279BF
Deuteranopia (green-blind)
#7689B9
Tritanopia (blue-blind)
#D25F81
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #ca56bc;
/* rgb */ color: rgb(202, 86, 188);
/* oklch */ color: oklch(63.6% 0.190 332.5);
Tailwind
colors: {
  custom: {
    50: '#dd8cd0',
    500: '#ca56bc',
    950: '#000000',
  },
}
SCSS
$custom: #ca56bc;
$custom-light: #dd8cd0;
$custom-dark: #000000;
JSON
{
  "hex": "#ca56bc",
  "rgb": {
    "r": 202,
    "g": 86,
    "b": 188
  },
  "hsl": {
    "h": 307.241,
    "s": 52.252,
    "l": 56.471
  },
  "oklch": {
    "l": 0.63575,
    "c": 0.18951,
    "h": 332.5
  },
  "luminance": 0.22843
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CA56BC

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

Preview Lab → · Contrast checker → · Palette generator →

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