#CA56BA#CA56BA

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

Color values

HEX#CA56BA
RGBrgb(202, 86, 186)
HSLhsl(308, 52%, 56%)
HSVhsv(308, 57%, 79%)
CMYKcmyk(0%, 57.4%, 7.9%, 20.8%)
CIE-LABlab(54.82, 58.31, -31.06)
CIE-LCHlch(54.82, 66.07, 331.96°)
OKLaboklab(63.48% 0.1678 -0.0847)
OKLCHoklch(63.48% 0.188 333.2)
XYZxyz(36.5479, 22.7599, 48.9130)
Luminance0.2276 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA56BA #56CA66
analogous
#A056CA #CA56BA #CA5680
triadic
#CA56BA #BACA56 #56BACA
tetradic
#CA56BA #CAA056 #56CA66 #5680CA
square
#CA56BA #CAA056 #56CA66 #5680CA
split-complementary
#CA56BA #80CA56 #56CAA0
monochromatic
#7E2872 #AD369C #CA56BA #D985CD #E7B3E0

Accessibility & contrast

On white

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

On black

5.55
#CA56BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA56BA
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA56BA#FFFFFF#000000##000000
##CA56BA1.003.785.555.55
#FFFFFF3.781.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5379BD
Deuteranopia (green-blind)
#7789B7
Tritanopia (blue-blind)
#D25E80
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #ca56ba;
/* rgb */ color: rgb(202, 86, 186);
/* oklch */ color: oklch(63.5% 0.188 333.2);
Tailwind
colors: {
  custom: {
    50: '#dd8ccf',
    500: '#ca56ba',
    950: '#000000',
  },
}
SCSS
$custom: #ca56ba;
$custom-light: #dd8ccf;
$custom-dark: #000000;
JSON
{
  "hex": "#ca56ba",
  "rgb": {
    "r": 202,
    "g": 86,
    "b": 186
  },
  "hsl": {
    "h": 308.276,
    "s": 52.252,
    "l": 56.471
  },
  "oklch": {
    "l": 0.63481,
    "c": 0.18792,
    "h": 333.2
  },
  "luminance": 0.22757
}

Semantic roles & 50–950 ramp

primary
#CA56BA
secondary
#A6D6AD
accent
#DC604C
background
#FDF8FC
surface
#FBF0F9
border
#D4CBD2
text
#150C14
muted
#837D82

Preview Lab

Preview with #CA56BA

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

Preview Lab → · Contrast checker → · Palette generator →

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