#CA56D2#CA56D2

#CA56D2 is a light, highly saturated purple. Relative luminance 0.239; OKLCH L 64.7% C 0.208 H 325.1°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#CA56D2
RGBrgb(202, 86, 210)
HSLhsl(296, 58%, 58%)
HSVhsv(296, 59%, 82%)
CMYKcmyk(3.8%, 59%, 0%, 17.6%)
CIE-LABlab(55.95, 62.40, -43.03)
CIE-LCHlch(55.95, 75.80, 325.41°)
OKLaboklab(64.68% 0.1705 -0.1191)
OKLCHoklch(64.68% 0.208 325.1)
XYZxyz(39.3168, 23.8675, 63.4963)
Luminance0.2387 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA56D2 #5ED256
analogous
#8C56D2 #CA56D2 #D2569C
triadic
#CA56D2 #D2CA56 #56D2CA
tetradic
#CA56D2 #D28C56 #5ED256 #569CD2
square
#CA56D2 #D28C56 #5ED256 #569CD2
split-complementary
#CA56D2 #9CD256 #56D28C
monochromatic
#832589 #B131B9 #CA56D2 #D986DF #E8B7EC

Accessibility & contrast

On white

3.64
#CA56D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.77
#CA56D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA56D2
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA56D2#FFFFFF#000000##000000
##CA56D21.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#437DD6
Deuteranopia (green-blind)
#6C8BCF
Tritanopia (blue-blind)
#CE678C
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #ca56d2;
/* rgb */ color: rgb(202, 86, 210);
/* oklch */ color: oklch(64.7% 0.208 325.1);
Tailwind
colors: {
  custom: {
    50: '#dd8ce0',
    500: '#ca56d2',
    950: '#000000',
  },
}
SCSS
$custom: #ca56d2;
$custom-light: #dd8ce0;
$custom-dark: #000000;
JSON
{
  "hex": "#ca56d2",
  "rgb": {
    "r": 202,
    "g": 86,
    "b": 210
  },
  "hsl": {
    "h": 296.129,
    "s": 57.944,
    "l": 58.039
  },
  "oklch": {
    "l": 0.64676,
    "c": 0.20795,
    "h": 325.1
  },
  "luminance": 0.23865
}

Semantic roles & 50–950 ramp

primary
#CA56D2
secondary
#ACDBA9
accent
#E14751
background
#FDF8FD
surface
#FBF0FB
border
#D4CBD4
text
#150D15
muted
#837D83

Preview Lab

Preview with #CA56D2

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

Preview Lab → · Contrast checker → · Palette generator →

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