#CA56E2#CA56E2

#CA56E2 is a light, highly saturated purple. Relative luminance 0.247; OKLCH L 65.5% C 0.222 H 320.4°. Best body text is #000000 at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#CA56E2
RGBrgb(202, 86, 226)
HSLhsl(290, 71%, 61%)
HSVhsv(290, 62%, 89%)
CMYKcmyk(10.6%, 61.9%, 0%, 11.4%)
CIE-LABlab(56.79, 65.31, -50.76)
CIE-LCHlch(56.79, 82.72, 322.15°)
OKLaboklab(65.55% 0.1712 -0.1416)
OKLCHoklch(65.55% 0.222 320.4)
XYZxyz(41.4107, 24.7051, 74.5240)
Luminance0.2470 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA56E2 #6EE256
analogous
#8456E2 #CA56E2 #E256B4
triadic
#CA56E2 #E2CA56 #56E2CA
tetradic
#CA56E2 #E28456 #6EE256 #56B4E2
square
#CA56E2 #E28456 #6EE256 #56B4E2
split-complementary
#CA56E2 #B4E256 #56E284
monochromatic
#8B1CA2 #B825D6 #CA56E2 #DA8AEB #EBBEF4

Accessibility & contrast

On white

3.53
#CA56E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.94
#CA56E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA56E2
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA56E2#FFFFFF#000000##000000
##CA56E21.003.535.945.94
#FFFFFF3.531.0021.0021.00
#0000005.9421.001.001.00
##0000005.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3280E6
Deuteranopia (green-blind)
#638CDE
Tritanopia (blue-blind)
#CB6D94
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #ca56e2;
/* rgb */ color: rgb(202, 86, 226);
/* oklch */ color: oklch(65.5% 0.222 320.4);
Tailwind
colors: {
  custom: {
    50: '#dd8dec',
    500: '#ca56e2',
    950: '#000000',
  },
}
SCSS
$custom: #ca56e2;
$custom-light: #dd8dec;
$custom-dark: #000000;
JSON
{
  "hex": "#ca56e2",
  "rgb": {
    "r": 202,
    "g": 86,
    "b": 226
  },
  "hsl": {
    "h": 289.714,
    "s": 70.707,
    "l": 61.176
  },
  "oklch": {
    "l": 0.6555,
    "c": 0.22212,
    "h": 320.4
  },
  "luminance": 0.24703
}

Semantic roles & 50–950 ramp

primary
#CA56E2
secondary
#B9E4B0
accent
#D31334
background
#FEF9FE
surface
#FCF1FD
border
#D5CBD5
text
#150D16
muted
#847E84

Preview Lab

Preview with #CA56E2

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

Preview Lab → · Contrast checker → · Palette generator →

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