#CA56F0#CA56F0

#CA56F0 is a light, highly saturated purple. Relative luminance 0.255; OKLCH L 66.4% C 0.235 H 316.8°. Best body text is #000000 at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#CA56F0
RGBrgb(202, 86, 240)
HSLhsl(285, 84%, 64%)
HSVhsv(285, 64%, 94%)
CMYKcmyk(15.8%, 64.2%, 0%, 5.9%)
CIE-LABlab(57.56, 67.97, -57.36)
CIE-LCHlch(57.56, 88.94, 319.84°)
OKLaboklab(66.36% 0.1711 -0.1608)
OKLCHoklch(66.36% 0.235 316.8)
XYZxyz(43.4107, 25.5051, 85.0575)
Luminance0.2550 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA56F0 #7CF056
analogous
#7D56F0 #CA56F0 #F056C9
triadic
#CA56F0 #F0CA56 #56F0CA
tetradic
#CA56F0 #F07D56 #7CF056 #56C9F0
square
#CA56F0 #F07D56 #7CF056 #56C9F0
split-complementary
#CA56F0 #C9F056 #56F07D
monochromatic
#9111BB #B81EEB #CA56F0 #DC8EF5 #EDC6FA

Accessibility & contrast

On white

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

On black

6.10
#CA56F0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA56F0
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA56F0#FFFFFF#000000##000000
##CA56F01.003.446.106.10
#FFFFFF3.441.0021.0021.00
#0000006.1021.001.001.00
##0000006.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#1883F5
Deuteranopia (green-blind)
#588EEC
Tritanopia (blue-blind)
#C8729C
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #ca56f0;
/* rgb */ color: rgb(202, 86, 240);
/* oklch */ color: oklch(66.4% 0.235 316.8);
Tailwind
colors: {
  custom: {
    50: '#de8df6',
    500: '#ca56f0',
    950: '#000000',
  },
}
SCSS
$custom: #ca56f0;
$custom-light: #de8df6;
$custom-dark: #000000;
JSON
{
  "hex": "#ca56f0",
  "rgb": {
    "r": 202,
    "g": 86,
    "b": 240
  },
  "hsl": {
    "h": 285.195,
    "s": 83.696,
    "l": 63.922
  },
  "oklch": {
    "l": 0.66362,
    "c": 0.23484,
    "h": 316.8
  },
  "luminance": 0.25503
}

Semantic roles & 50–950 ramp

primary
#CA56F0
secondary
#C3ECB6
accent
#E0053B
background
#FEF9FF
surface
#FCF1FE
border
#D5CBD6
text
#160D17
muted
#847E85

Preview Lab

Preview with #CA56F0

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

Preview Lab → · Contrast checker → · Palette generator →

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