#CA56C4#CA56C4

#CA56C4 is a light, vivid purple. Relative luminance 0.232; OKLCH L 64.0% C 0.196 H 329.6°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#CA56C4
RGBrgb(202, 86, 196)
HSLhsl(303, 52%, 56%)
HSVhsv(303, 57%, 79%)
CMYKcmyk(0%, 57.4%, 3%, 20.8%)
CIE-LABlab(55.28, 59.97, -36.11)
CIE-LCHlch(55.28, 70.00, 328.95°)
OKLaboklab(63.96% 0.1691 -0.0991)
OKLCHoklch(63.96% 0.196 329.6)
XYZxyz(37.6484, 23.2001, 54.7090)
Luminance0.2320 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA56C4 #56CA5C
analogous
#9656CA #CA56C4 #CA568A
triadic
#CA56C4 #C4CA56 #56C4CA
tetradic
#CA56C4 #CA9656 #56CA5C #568ACA
square
#CA56C4 #CA9656 #56CA5C #568ACA
split-complementary
#CA56C4 #8ACA56 #56CA96
monochromatic
#7E287A #AD36A7 #CA56C4 #D985D4 #E7B3E5

Accessibility & contrast

On white

3.72
#CA56C4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.64
#CA56C4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA56C4
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA56C4#FFFFFF#000000##000000
##CA56C41.003.725.645.64
#FFFFFF3.721.0021.0021.00
#0000005.6421.001.001.00
##0000005.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D7AC7
Deuteranopia (green-blind)
#738AC1
Tritanopia (blue-blind)
#D16285
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #ca56c4;
/* rgb */ color: rgb(202, 86, 196);
/* oklch */ color: oklch(64.0% 0.196 329.6);
Tailwind
colors: {
  custom: {
    50: '#dd8cd6',
    500: '#ca56c4',
    950: '#000000',
  },
}
SCSS
$custom: #ca56c4;
$custom-light: #dd8cd6;
$custom-dark: #000000;
JSON
{
  "hex": "#ca56c4",
  "rgb": {
    "r": 202,
    "g": 86,
    "b": 196
  },
  "hsl": {
    "h": 303.103,
    "s": 52.252,
    "l": 56.471
  },
  "oklch": {
    "l": 0.63962,
    "c": 0.19603,
    "h": 329.6
  },
  "luminance": 0.23198
}

Semantic roles & 50–950 ramp

primary
#CA56C4
secondary
#A6D6A9
accent
#DC544C
background
#FDF8FD
surface
#FBF0FA
border
#D4CBD3
text
#150C14
muted
#837D83

Preview Lab

Preview with #CA56C4

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

Preview Lab → · Contrast checker → · Palette generator →

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