#CA56C8#CA56C8

#CA56C8 is a light, vivid purple. Relative luminance 0.234; OKLCH L 64.2% C 0.199 H 328.3°. Best body text is #000000 at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#CA56C8
RGBrgb(202, 86, 200)
HSLhsl(301, 52%, 56%)
HSVhsv(301, 57%, 79%)
CMYKcmyk(0%, 57.4%, 1%, 20.8%)
CIE-LABlab(55.47, 60.65, -38.10)
CIE-LCHlch(55.47, 71.63, 327.86°)
OKLaboklab(64.16% 0.1696 -0.1049)
OKLCHoklch(64.16% 0.199 328.3)
XYZxyz(38.1097, 23.3847, 57.1388)
Luminance0.2338 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA56C8 #56CA58
analogous
#9256CA #CA56C8 #CA568E
triadic
#CA56C8 #C8CA56 #56C8CA
tetradic
#CA56C8 #CA9256 #56CA58 #568ECA
square
#CA56C8 #CA9256 #56CA58 #568ECA
split-complementary
#CA56C8 #8ECA56 #56CA92
monochromatic
#7E287D #AD36AB #CA56C8 #D985D7 #E7B3E6

Accessibility & contrast

On white

3.70
#CA56C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.68
#CA56C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA56C8
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA56C8#FFFFFF#000000##000000
##CA56C81.003.705.685.68
#FFFFFF3.701.0021.0021.00
#0000005.6821.001.001.00
##0000005.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B7BCC
Deuteranopia (green-blind)
#718AC5
Tritanopia (blue-blind)
#D06387
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #ca56c8;
/* rgb */ color: rgb(202, 86, 200);
/* oklch */ color: oklch(64.2% 0.199 328.3);
Tailwind
colors: {
  custom: {
    50: '#dd8cd9',
    500: '#ca56c8',
    950: '#000000',
  },
}
SCSS
$custom: #ca56c8;
$custom-light: #dd8cd9;
$custom-dark: #000000;
JSON
{
  "hex": "#ca56c8",
  "rgb": {
    "r": 202,
    "g": 86,
    "b": 200
  },
  "hsl": {
    "h": 301.034,
    "s": 52.252,
    "l": 56.471
  },
  "oklch": {
    "l": 0.64161,
    "c": 0.19938,
    "h": 328.3
  },
  "luminance": 0.23382
}

Semantic roles & 50–950 ramp

primary
#CA56C8
secondary
#A6D6A7
accent
#DC4F4C
background
#FDF8FD
surface
#FBF0FA
border
#D4CBD3
text
#150D14
muted
#837D83

Preview Lab

Preview with #CA56C8

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

Preview Lab → · Contrast checker → · Palette generator →

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