#CA56CC#CA56CC

#CA56CC is a light, highly saturated purple. Relative luminance 0.236; OKLCH L 64.4% C 0.203 H 327.0°. Best body text is #000000 at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#CA56CC
RGBrgb(202, 86, 204)
HSLhsl(299, 54%, 57%)
HSVhsv(299, 58%, 80%)
CMYKcmyk(1%, 57.8%, 0%, 20%)
CIE-LABlab(55.66, 61.34, -40.08)
CIE-LCHlch(55.66, 73.28, 326.84°)
OKLaboklab(64.36% 0.17 -0.1106)
OKLCHoklch(64.36% 0.203 327)
XYZxyz(38.5833, 23.5741, 59.6330)
Luminance0.2357 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA56CC #58CC56
analogous
#8F56CC #CA56CC #CC5693
triadic
#CA56CC #CCCA56 #56CCCA
tetradic
#CA56CC #CC8F56 #58CC56 #5693CC
square
#CA56CC #CC8F56 #58CC56 #5693CC
split-complementary
#CA56CC #93CC56 #56CC8F
monochromatic
#7F2781 #AE35B0 #CA56CC #D985DA #E7B4E8

Accessibility & contrast

On white

3.67
#CA56CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.71
#CA56CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA56CC
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA56CC#FFFFFF#000000##000000
##CA56CC1.003.675.715.71
#FFFFFF3.671.0021.0021.00
#0000005.7121.001.001.00
##0000005.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#487CD0
Deuteranopia (green-blind)
#6F8BC9
Tritanopia (blue-blind)
#CF6589
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #ca56cc;
/* rgb */ color: rgb(202, 86, 204);
/* oklch */ color: oklch(64.4% 0.203 327.0);
Tailwind
colors: {
  custom: {
    50: '#dd8cdc',
    500: '#ca56cc',
    950: '#000000',
  },
}
SCSS
$custom: #ca56cc;
$custom-light: #dd8cdc;
$custom-dark: #000000;
JSON
{
  "hex": "#ca56cc",
  "rgb": {
    "r": 202,
    "g": 86,
    "b": 204
  },
  "hsl": {
    "h": 298.983,
    "s": 53.636,
    "l": 56.863
  },
  "oklch": {
    "l": 0.64364,
    "c": 0.20278,
    "h": 327
  },
  "luminance": 0.23572
}

Semantic roles & 50–950 ramp

primary
#CA56CC
secondary
#A8D7A7
accent
#DD4B4D
background
#FDF8FD
surface
#FBF0FB
border
#D4CBD4
text
#150D15
muted
#837D83

Preview Lab

Preview with #CA56CC

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

Preview Lab → · Contrast checker → · Palette generator →

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