#CA56BF#CA56BF

#CA56BF is a light, vivid purple. Relative luminance 0.230; OKLCH L 63.7% C 0.192 H 331.4°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#CA56BF
RGBrgb(202, 86, 191)
HSLhsl(306, 52%, 56%)
HSVhsv(306, 57%, 79%)
CMYKcmyk(0%, 57.4%, 5.4%, 20.8%)
CIE-LABlab(55.05, 59.13, -33.59)
CIE-LCHlch(55.05, 68.01, 330.40°)
OKLaboklab(63.72% 0.1685 -0.0919)
OKLCHoklch(63.72% 0.192 331.4)
XYZxyz(37.0887, 22.9763, 51.7615)
Luminance0.2297 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA56BF #56CA61
analogous
#9B56CA #CA56BF #CA5685
triadic
#CA56BF #BFCA56 #56BFCA
tetradic
#CA56BF #CA9B56 #56CA61 #5685CA
square
#CA56BF #CA9B56 #56CA61 #5685CA
split-complementary
#CA56BF #85CA56 #56CA9B
monochromatic
#7E2876 #AD36A1 #CA56BF #D985D1 #E7B3E2

Accessibility & contrast

On white

3.75
#CA56BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.59
#CA56BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA56BF
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA56BF#FFFFFF#000000##000000
##CA56BF1.003.755.595.59
#FFFFFF3.751.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5079C2
Deuteranopia (green-blind)
#758ABC
Tritanopia (blue-blind)
#D26083
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #ca56bf;
/* rgb */ color: rgb(202, 86, 191);
/* oklch */ color: oklch(63.7% 0.192 331.4);
Tailwind
colors: {
  custom: {
    50: '#dd8cd2',
    500: '#ca56bf',
    950: '#000000',
  },
}
SCSS
$custom: #ca56bf;
$custom-light: #dd8cd2;
$custom-dark: #000000;
JSON
{
  "hex": "#ca56bf",
  "rgb": {
    "r": 202,
    "g": 86,
    "b": 191
  },
  "hsl": {
    "h": 305.69,
    "s": 52.252,
    "l": 56.471
  },
  "oklch": {
    "l": 0.63718,
    "c": 0.19193,
    "h": 331.4
  },
  "luminance": 0.22974
}

Semantic roles & 50–950 ramp

primary
#CA56BF
secondary
#A6D6AB
accent
#DC5A4C
background
#FDF8FC
surface
#FBF0F9
border
#D4CBD2
text
#150C14
muted
#837D82

Preview Lab

Preview with #CA56BF

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

Preview Lab → · Contrast checker → · Palette generator →

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