#CA56C2#CA56C2

#CA56C2 is a light, vivid purple. Relative luminance 0.231; OKLCH L 63.9% C 0.194 H 330.3°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#CA56C2
RGBrgb(202, 86, 194)
HSLhsl(304, 52%, 56%)
HSVhsv(304, 57%, 79%)
CMYKcmyk(0%, 57.4%, 4%, 20.8%)
CIE-LABlab(55.19, 59.63, -35.10)
CIE-LCHlch(55.19, 69.20, 329.52°)
OKLaboklab(63.86% 0.1689 -0.0962)
OKLCHoklch(63.86% 0.194 330.3)
XYZxyz(37.4223, 23.1097, 53.5180)
Luminance0.2311 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA56C2 #56CA5E
analogous
#9856CA #CA56C2 #CA5688
triadic
#CA56C2 #C2CA56 #56C2CA
tetradic
#CA56C2 #CA9856 #56CA5E #5688CA
square
#CA56C2 #CA9856 #56CA5E #5688CA
split-complementary
#CA56C2 #88CA56 #56CA98
monochromatic
#7E2878 #AD36A4 #CA56C2 #D985D3 #E7B3E4

Accessibility & contrast

On white

3.74
#CA56C2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.62
#CA56C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA56C2
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA56C2#FFFFFF#000000##000000
##CA56C21.003.745.625.62
#FFFFFF3.741.0021.0021.00
#0000005.6221.001.001.00
##0000005.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F7AC5
Deuteranopia (green-blind)
#748ABF
Tritanopia (blue-blind)
#D16184
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #ca56c2;
/* rgb */ color: rgb(202, 86, 194);
/* oklch */ color: oklch(63.9% 0.194 330.3);
Tailwind
colors: {
  custom: {
    50: '#dd8cd5',
    500: '#ca56c2',
    950: '#000000',
  },
}
SCSS
$custom: #ca56c2;
$custom-light: #dd8cd5;
$custom-dark: #000000;
JSON
{
  "hex": "#ca56c2",
  "rgb": {
    "r": 202,
    "g": 86,
    "b": 194
  },
  "hsl": {
    "h": 304.138,
    "s": 52.252,
    "l": 56.471
  },
  "oklch": {
    "l": 0.63863,
    "c": 0.19438,
    "h": 330.3
  },
  "luminance": 0.23107
}

Semantic roles & 50–950 ramp

primary
#CA56C2
secondary
#A6D6A9
accent
#DC564C
background
#FDF8FD
surface
#FBF0FA
border
#D4CBD3
text
#150C14
muted
#837D83

Preview Lab

Preview with #CA56C2

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

Preview Lab → · Contrast checker → · Palette generator →

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