#CA56B7#CA56B7

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

Color values

HEX#CA56B7
RGBrgb(202, 86, 183)
HSLhsl(310, 52%, 56%)
HSVhsv(310, 57%, 79%)
CMYKcmyk(0%, 57.4%, 9.4%, 20.8%)
CIE-LABlab(54.69, 57.83, -29.53)
CIE-LCHlch(54.69, 64.93, 332.95°)
OKLaboklab(63.34% 0.1673 -0.0803)
OKLCHoklch(63.34% 0.186 334.3)
XYZxyz(36.2323, 22.6337, 47.2510)
Luminance0.2263 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA56B7 #56CA69
analogous
#A356CA #CA56B7 #CA567D
triadic
#CA56B7 #B7CA56 #56B7CA
tetradic
#CA56B7 #CAA356 #56CA69 #567DCA
square
#CA56B7 #CAA356 #56CA69 #567DCA
split-complementary
#CA56B7 #7DCA56 #56CAA3
monochromatic
#7E2870 #AD3699 #CA56B7 #D985CB #E7B3DF

Accessibility & contrast

On white

3.80
#CA56B7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##CA56B7#FFFFFF#000000##000000
##CA56B71.003.805.535.53
#FFFFFF3.801.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5578BA
Deuteranopia (green-blind)
#7889B4
Tritanopia (blue-blind)
#D35D7F
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #ca56b7;
/* rgb */ color: rgb(202, 86, 183);
/* oklch */ color: oklch(63.3% 0.186 334.3);
Tailwind
colors: {
  custom: {
    50: '#dd8ccd',
    500: '#ca56b7',
    950: '#000000',
  },
}
SCSS
$custom: #ca56b7;
$custom-light: #dd8ccd;
$custom-dark: #000000;
JSON
{
  "hex": "#ca56b7",
  "rgb": {
    "r": 202,
    "g": 86,
    "b": 183
  },
  "hsl": {
    "h": 309.828,
    "s": 52.252,
    "l": 56.471
  },
  "oklch": {
    "l": 0.63342,
    "c": 0.18556,
    "h": 334.3
  },
  "luminance": 0.22631
}

Semantic roles & 50–950 ramp

primary
#CA56B7
secondary
#A6D6AE
accent
#DC644C
background
#FDF8FC
surface
#FBF0F9
border
#D4CBD2
text
#150C13
muted
#837D82

Preview Lab

Preview with #CA56B7

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

Preview Lab → · Contrast checker → · Palette generator →

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