#CA56C7#CA56C7

#CA56C7 is a light, vivid purple. Relative luminance 0.233; OKLCH L 64.1% C 0.199 H 328.6°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#CA56C7
RGBrgb(202, 86, 199)
HSLhsl(302, 52%, 56%)
HSVhsv(302, 57%, 79%)
CMYKcmyk(0%, 57.4%, 1.5%, 20.8%)
CIE-LABlab(55.42, 60.48, -37.60)
CIE-LCHlch(55.42, 71.22, 328.13°)
OKLaboklab(64.11% 0.1695 -0.1034)
OKLCHoklch(64.11% 0.199 328.6)
XYZxyz(37.9933, 23.3381, 56.5253)
Luminance0.2334 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA56C7 #56CA59
analogous
#9356CA #CA56C7 #CA568D
triadic
#CA56C7 #C7CA56 #56C7CA
tetradic
#CA56C7 #CA9356 #56CA59 #568DCA
square
#CA56C7 #CA9356 #56CA59 #568DCA
split-complementary
#CA56C7 #8DCA56 #56CA93
monochromatic
#7E287C #AD36AA #CA56C7 #D985D6 #E7B3E6

Accessibility & contrast

On white

3.71
#CA56C7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.67
#CA56C7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA56C7
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA56C7#FFFFFF#000000##000000
##CA56C71.003.715.675.67
#FFFFFF3.711.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B7BCB
Deuteranopia (green-blind)
#728AC4
Tritanopia (blue-blind)
#D06387
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #ca56c7;
/* rgb */ color: rgb(202, 86, 199);
/* oklch */ color: oklch(64.1% 0.199 328.6);
Tailwind
colors: {
  custom: {
    50: '#dd8cd8',
    500: '#ca56c7',
    950: '#000000',
  },
}
SCSS
$custom: #ca56c7;
$custom-light: #dd8cd8;
$custom-dark: #000000;
JSON
{
  "hex": "#ca56c7",
  "rgb": {
    "r": 202,
    "g": 86,
    "b": 199
  },
  "hsl": {
    "h": 301.552,
    "s": 52.252,
    "l": 56.471
  },
  "oklch": {
    "l": 0.64111,
    "c": 0.19854,
    "h": 328.6
  },
  "luminance": 0.23336
}

Semantic roles & 50–950 ramp

primary
#CA56C7
secondary
#A6D6A7
accent
#DC504C
background
#FDF8FD
surface
#FBF0FA
border
#D4CBD3
text
#150D14
muted
#837D83

Preview Lab

Preview with #CA56C7

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

Preview Lab → · Contrast checker → · Palette generator →

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