#CA56CB#CA56CB

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

Color values

HEX#CA56CB
RGBrgb(202, 86, 203)
HSLhsl(299, 53%, 57%)
HSVhsv(299, 58%, 80%)
CMYKcmyk(0.5%, 57.6%, 0%, 20.4%)
CIE-LABlab(55.61, 61.17, -39.59)
CIE-LCHlch(55.61, 72.86, 327.09°)
OKLaboklab(64.31% 0.1699 -0.1092)
OKLCHoklch(64.31% 0.202 327.3)
XYZxyz(38.4638, 23.5263, 59.0034)
Luminance0.2352 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA56CB #57CB56
analogous
#9056CB #CA56CB #CB5692
triadic
#CA56CB #CBCA56 #56CBCA
tetradic
#CA56CB #CB9056 #57CB56 #5692CB
square
#CA56CB #CB9056 #57CB56 #5692CB
split-complementary
#CA56CB #92CB56 #56CB90
monochromatic
#7F277F #AD36AE #CA56CB #D985D9 #E7B4E8

Accessibility & contrast

On white

3.68
#CA56CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##CA56CB#FFFFFF#000000##000000
##CA56CB1.003.685.705.70
#FFFFFF3.681.0021.0021.00
#0000005.7021.001.001.00
##0000005.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#487CCF
Deuteranopia (green-blind)
#708BC8
Tritanopia (blue-blind)
#D06489
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #ca56cb;
/* rgb */ color: rgb(202, 86, 203);
/* oklch */ color: oklch(64.3% 0.202 327.3);
Tailwind
colors: {
  custom: {
    50: '#dd8cdb',
    500: '#ca56cb',
    950: '#000000',
  },
}
SCSS
$custom: #ca56cb;
$custom-light: #dd8cdb;
$custom-dark: #000000;
JSON
{
  "hex": "#ca56cb",
  "rgb": {
    "r": 202,
    "g": 86,
    "b": 203
  },
  "hsl": {
    "h": 299.487,
    "s": 52.941,
    "l": 56.667
  },
  "oklch": {
    "l": 0.64313,
    "c": 0.20192,
    "h": 327.3
  },
  "luminance": 0.23524
}

Semantic roles & 50–950 ramp

primary
#CA56CB
secondary
#A7D6A6
accent
#DC4B4D
background
#FDF8FD
surface
#FBF0FB
border
#D4CBD4
text
#150D15
muted
#837D83

Preview Lab

Preview with #CA56CB

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

Preview Lab → · Contrast checker → · Palette generator →

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