#CA56CF#CA56CF

#CA56CF is a light, highly saturated purple. Relative luminance 0.237; OKLCH L 64.5% C 0.205 H 326.0°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#CA56CF
RGBrgb(202, 86, 207)
HSLhsl(298, 56%, 57%)
HSVhsv(298, 58%, 81%)
CMYKcmyk(2.4%, 58.5%, 0%, 18.8%)
CIE-LABlab(55.81, 61.87, -41.56)
CIE-LCHlch(55.81, 74.53, 326.11°)
OKLaboklab(64.52% 0.1702 -0.1149)
OKLCHoklch(64.52% 0.205 326)
XYZxyz(38.9466, 23.7194, 61.5463)
Luminance0.2372 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA56CF #5BCF56
analogous
#8E56CF #CA56CF #CF5697
triadic
#CA56CF #CFCA56 #56CFCA
tetradic
#CA56CF #CF8E56 #5BCF56 #5697CF
square
#CA56CF #CF8E56 #5BCF56 #5697CF
split-complementary
#CA56CF #97CF56 #56CF8E
monochromatic
#812685 #AF33B5 #CA56CF #D986DD #E8B5EA

Accessibility & contrast

On white

3.66
#CA56CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.74
#CA56CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA56CF
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA56CF#FFFFFF#000000##000000
##CA56CF1.003.665.745.74
#FFFFFF3.661.0021.0021.00
#0000005.7421.001.001.00
##0000005.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#457CD3
Deuteranopia (green-blind)
#6E8BCC
Tritanopia (blue-blind)
#CF668B
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #ca56cf;
/* rgb */ color: rgb(202, 86, 207);
/* oklch */ color: oklch(64.5% 0.205 326.0);
Tailwind
colors: {
  custom: {
    50: '#dd8cde',
    500: '#ca56cf',
    950: '#000000',
  },
}
SCSS
$custom: #ca56cf;
$custom-light: #dd8cde;
$custom-dark: #000000;
JSON
{
  "hex": "#ca56cf",
  "rgb": {
    "r": 202,
    "g": 86,
    "b": 207
  },
  "hsl": {
    "h": 297.521,
    "s": 55.76,
    "l": 57.451
  },
  "oklch": {
    "l": 0.64519,
    "c": 0.20536,
    "h": 326
  },
  "luminance": 0.23717
}

Semantic roles & 50–950 ramp

primary
#CA56CF
secondary
#AAD9A8
accent
#DF494F
background
#FDF8FD
surface
#FBF0FB
border
#D4CBD4
text
#150D15
muted
#837D83

Preview Lab

Preview with #CA56CF

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

Preview Lab → · Contrast checker → · Palette generator →

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