#CA56EF#CA56EF

#CA56EF is a light, highly saturated purple. Relative luminance 0.254; OKLCH L 66.3% C 0.234 H 317.0°. Best body text is #000000 at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#CA56EF
RGBrgb(202, 86, 239)
HSLhsl(285, 83%, 64%)
HSVhsv(285, 64%, 94%)
CMYKcmyk(15.5%, 64%, 0%, 6.3%)
CIE-LABlab(57.51, 67.78, -56.89)
CIE-LCHlch(57.51, 88.49, 319.99°)
OKLaboklab(66.3% 0.1711 -0.1595)
OKLCHoklch(66.3% 0.234 317)
XYZxyz(43.2626, 25.4458, 84.2773)
Luminance0.2544 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA56EF #7BEF56
analogous
#7D56EF #CA56EF #EF56C7
triadic
#CA56EF #EFCA56 #56EFCA
tetradic
#CA56EF #EF7D56 #7BEF56 #56C7EF
square
#CA56EF #EF7D56 #7BEF56 #56C7EF
split-complementary
#CA56EF #C7EF56 #56EF7D
monochromatic
#9112B9 #B81EEA #CA56EF #DC8EF4 #EDC6FA

Accessibility & contrast

On white

3.45
#CA56EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.09
#CA56EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA56EF
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA56EF#FFFFFF#000000##000000
##CA56EF1.003.456.096.09
#FFFFFF3.451.0021.0021.00
#0000006.0921.001.001.00
##0000006.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#1B83F4
Deuteranopia (green-blind)
#598EEB
Tritanopia (blue-blind)
#C8729B
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #ca56ef;
/* rgb */ color: rgb(202, 86, 239);
/* oklch */ color: oklch(66.3% 0.234 317.0);
Tailwind
colors: {
  custom: {
    50: '#de8df5',
    500: '#ca56ef',
    950: '#000000',
  },
}
SCSS
$custom: #ca56ef;
$custom-light: #de8df5;
$custom-dark: #000000;
JSON
{
  "hex": "#ca56ef",
  "rgb": {
    "r": 202,
    "g": 86,
    "b": 239
  },
  "hsl": {
    "h": 285.49,
    "s": 82.703,
    "l": 63.725
  },
  "oklch": {
    "l": 0.66303,
    "c": 0.23391,
    "h": 317
  },
  "luminance": 0.25444
}

Semantic roles & 50–950 ramp

primary
#CA56EF
secondary
#C2EBB5
accent
#DF063B
background
#FEF9FF
surface
#FCF1FE
border
#D5CBD6
text
#160D17
muted
#847E85

Preview Lab

Preview with #CA56EF

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

Preview Lab → · Contrast checker → · Palette generator →

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