#CA56BD#CA56BD

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

Color values

HEX#CA56BD
RGBrgb(202, 86, 189)
HSLhsl(307, 52%, 56%)
HSVhsv(307, 57%, 79%)
CMYKcmyk(0%, 57.4%, 6.4%, 20.8%)
CIE-LABlab(54.96, 58.80, -32.58)
CIE-LCHlch(54.96, 67.23, 331.01°)
OKLaboklab(63.62% 0.1682 -0.089)
OKLCHoklch(63.62% 0.19 332.1)
XYZxyz(36.8701, 22.8888, 50.6103)
Luminance0.2289 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA56BD #56CA63
analogous
#9D56CA #CA56BD #CA5683
triadic
#CA56BD #BDCA56 #56BDCA
tetradic
#CA56BD #CA9D56 #56CA63 #5683CA
square
#CA56BD #CA9D56 #56CA63 #5683CA
split-complementary
#CA56BD #83CA56 #56CA9D
monochromatic
#7E2874 #AD369F #CA56BD #D985CF #E7B3E1

Accessibility & contrast

On white

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

On black

5.58
#CA56BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA56BD
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA56BD#FFFFFF#000000##000000
##CA56BD1.003.775.585.58
#FFFFFF3.771.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5279C0
Deuteranopia (green-blind)
#7689BA
Tritanopia (blue-blind)
#D25F82
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #ca56bd;
/* rgb */ color: rgb(202, 86, 189);
/* oklch */ color: oklch(63.6% 0.190 332.1);
Tailwind
colors: {
  custom: {
    50: '#dd8cd1',
    500: '#ca56bd',
    950: '#000000',
  },
}
SCSS
$custom: #ca56bd;
$custom-light: #dd8cd1;
$custom-dark: #000000;
JSON
{
  "hex": "#ca56bd",
  "rgb": {
    "r": 202,
    "g": 86,
    "b": 189
  },
  "hsl": {
    "h": 306.724,
    "s": 52.252,
    "l": 56.471
  },
  "oklch": {
    "l": 0.63622,
    "c": 0.19031,
    "h": 332.1
  },
  "luminance": 0.22886
}

Semantic roles & 50–950 ramp

primary
#CA56BD
secondary
#A6D6AB
accent
#DC5C4C
background
#FDF8FC
surface
#FBF0F9
border
#D4CBD2
text
#150C14
muted
#837D82

Preview Lab

Preview with #CA56BD

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

Preview Lab → · Contrast checker → · Palette generator →

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