#CA56F1#CA56F1

#CA56F1 is a light, highly saturated purple. Relative luminance 0.256; OKLCH L 66.4% C 0.236 H 316.5°. Best body text is #000000 at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#CA56F1
RGBrgb(202, 86, 241)
HSLhsl(285, 85%, 64%)
HSVhsv(285, 64%, 95%)
CMYKcmyk(16.2%, 64.3%, 0%, 5.5%)
CIE-LABlab(57.62, 68.16, -57.83)
CIE-LCHlch(57.62, 89.39, 319.69°)
OKLaboklab(66.42% 0.1711 -0.1622)
OKLCHoklch(66.42% 0.236 316.5)
XYZxyz(43.5597, 25.5647, 85.8420)
Luminance0.2556 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA56F1 #7DF156
analogous
#7D56F1 #CA56F1 #F156CB
triadic
#CA56F1 #F1CA56 #56F1CA
tetradic
#CA56F1 #F17D56 #7DF156 #56CBF1
square
#CA56F1 #F17D56 #7DF156 #56CBF1
split-complementary
#CA56F1 #CBF156 #56F17D
monochromatic
#9110BD #B81DEC #CA56F1 #DC8FF6 #EDC7FA

Accessibility & contrast

On white

3.44
#CA56F1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.11
#CA56F1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA56F1
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA56F1#FFFFFF#000000##000000
##CA56F11.003.446.116.11
#FFFFFF3.441.0021.0021.00
#0000006.1121.001.001.00
##0000006.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#1583F6
Deuteranopia (green-blind)
#588EED
Tritanopia (blue-blind)
#C8739C
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #ca56f1;
/* rgb */ color: rgb(202, 86, 241);
/* oklch */ color: oklch(66.4% 0.236 316.5);
Tailwind
colors: {
  custom: {
    50: '#de8df6',
    500: '#ca56f1',
    950: '#000000',
  },
}
SCSS
$custom: #ca56f1;
$custom-light: #de8df6;
$custom-dark: #000000;
JSON
{
  "hex": "#ca56f1",
  "rgb": {
    "r": 202,
    "g": 86,
    "b": 241
  },
  "hsl": {
    "h": 284.903,
    "s": 84.699,
    "l": 64.118
  },
  "oklch": {
    "l": 0.66422,
    "c": 0.23575,
    "h": 316.5
  },
  "luminance": 0.25563
}

Semantic roles & 50–950 ramp

primary
#CA56F1
secondary
#C4ECB6
accent
#E1043C
background
#FEF9FF
surface
#FCF1FF
border
#D5CBD7
text
#160D17
muted
#847E85

Preview Lab

Preview with #CA56F1

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

Preview Lab → · Contrast checker → · Palette generator →

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