#CA56D1#CA56D1

#CA56D1 is a light, highly saturated purple. Relative luminance 0.238; OKLCH L 64.6% C 0.207 H 325.4°. Best body text is #000000 at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#CA56D1
RGBrgb(202, 86, 209)
HSLhsl(297, 57%, 58%)
HSVhsv(297, 59%, 82%)
CMYKcmyk(3.3%, 58.9%, 0%, 18%)
CIE-LABlab(55.90, 62.22, -42.54)
CIE-LCHlch(55.90, 75.38, 325.64°)
OKLaboklab(64.62% 0.1704 -0.1177)
OKLCHoklch(64.62% 0.207 325.4)
XYZxyz(39.1927, 23.8178, 62.8422)
Luminance0.2382 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA56D1 #5DD156
analogous
#8C56D1 #CA56D1 #D1569B
triadic
#CA56D1 #D1CA56 #56D1CA
tetradic
#CA56D1 #D18C56 #5DD156 #569BD1
square
#CA56D1 #D18C56 #5DD156 #569BD1
split-complementary
#CA56D1 #9BD156 #56D18C
monochromatic
#822588 #B032B8 #CA56D1 #D986DE #E8B6EB

Accessibility & contrast

On white

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

On black

5.76
#CA56D1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA56D1
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA56D1#FFFFFF#000000##000000
##CA56D11.003.645.765.76
#FFFFFF3.641.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#447DD5
Deuteranopia (green-blind)
#6D8BCE
Tritanopia (blue-blind)
#CE678C
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #ca56d1;
/* rgb */ color: rgb(202, 86, 209);
/* oklch */ color: oklch(64.6% 0.207 325.4);
Tailwind
colors: {
  custom: {
    50: '#dd8cdf',
    500: '#ca56d1',
    950: '#000000',
  },
}
SCSS
$custom: #ca56d1;
$custom-light: #dd8cdf;
$custom-dark: #000000;
JSON
{
  "hex": "#ca56d1",
  "rgb": {
    "r": 202,
    "g": 86,
    "b": 209
  },
  "hsl": {
    "h": 296.585,
    "s": 57.209,
    "l": 57.843
  },
  "oklch": {
    "l": 0.64624,
    "c": 0.20708,
    "h": 325.4
  },
  "luminance": 0.23816
}

Semantic roles & 50–950 ramp

primary
#CA56D1
secondary
#ACDAA9
accent
#E04750
background
#FDF8FD
surface
#FBF0FB
border
#D4CBD4
text
#150D15
muted
#837D83

Preview Lab

Preview with #CA56D1

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

Preview Lab → · Contrast checker → · Palette generator →

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