#CA56CA#CA56CA

#CA56CA is a light, highly saturated purple. Relative luminance 0.235; OKLCH L 64.3% C 0.201 H 327.6°. Best body text is #000000 at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#CA56CA
RGBrgb(202, 86, 202)
HSLhsl(300, 52%, 56%)
HSVhsv(300, 57%, 79%)
CMYKcmyk(0%, 57.4%, 0%, 20.8%)
CIE-LABlab(55.56, 61.00, -39.09)
CIE-LCHlch(55.56, 72.45, 327.34°)
OKLaboklab(64.26% 0.1698 -0.1077)
OKLCHoklch(64.26% 0.201 327.6)
XYZxyz(38.3450, 23.4788, 58.3778)
Luminance0.2348 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA56CA #56CA56
analogous
#9056CA #CA56CA #CA5690
triadic
#CA56CA #CACA56 #56CACA
tetradic
#CA56CA #CA9056 #56CA56 #5690CA
square
#CA56CA #CA9056 #56CA56 #5690CA
split-complementary
#CA56CA #90CA56 #56CA90
monochromatic
#7E287E #AD36AD #CA56CA #D985D9 #E7B3E7

Accessibility & contrast

On white

3.69
#CA56CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.70
#CA56CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA56CA
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA56CA#FFFFFF#000000##000000
##CA56CA1.003.695.705.70
#FFFFFF3.691.0021.0021.00
#0000005.7021.001.001.00
##0000005.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#497BCE
Deuteranopia (green-blind)
#708AC7
Tritanopia (blue-blind)
#D06488
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #ca56ca;
/* rgb */ color: rgb(202, 86, 202);
/* oklch */ color: oklch(64.3% 0.201 327.6);
Tailwind
colors: {
  custom: {
    50: '#dd8cda',
    500: '#ca56ca',
    950: '#000000',
  },
}
SCSS
$custom: #ca56ca;
$custom-light: #dd8cda;
$custom-dark: #000000;
JSON
{
  "hex": "#ca56ca",
  "rgb": {
    "r": 202,
    "g": 86,
    "b": 202
  },
  "hsl": {
    "h": 300,
    "s": 52.252,
    "l": 56.471
  },
  "oklch": {
    "l": 0.64262,
    "c": 0.20107,
    "h": 327.6
  },
  "luminance": 0.23476
}

Semantic roles & 50–950 ramp

primary
#CA56CA
secondary
#A6D6A6
accent
#DC4C4C
background
#FDF8FD
surface
#FBF0FB
border
#D4CBD4
text
#150D15
muted
#837D83

Preview Lab

Preview with #CA56CA

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

Preview Lab → · Contrast checker → · Palette generator →

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