#CA56E1#CA56E1

#CA56E1 is a light, highly saturated purple. Relative luminance 0.246; OKLCH L 65.5% C 0.221 H 320.7°. Best body text is #000000 at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#CA56E1
RGBrgb(202, 86, 225)
HSLhsl(290, 70%, 61%)
HSVhsv(290, 62%, 88%)
CMYKcmyk(10.2%, 61.8%, 0%, 11.8%)
CIE-LABlab(56.73, 65.13, -50.28)
CIE-LCHlch(56.73, 82.28, 322.33°)
OKLaboklab(65.49% 0.1711 -0.1402)
OKLCHoklch(65.49% 0.221 320.7)
XYZxyz(41.2739, 24.6504, 73.8035)
Luminance0.2465 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA56E1 #6DE156
analogous
#8456E1 #CA56E1 #E156B2
triadic
#CA56E1 #E1CA56 #56E1CA
tetradic
#CA56E1 #E18456 #6DE156 #56B2E1
square
#CA56E1 #E18456 #6DE156 #56B2E1
split-complementary
#CA56E1 #B2E156 #56E184
monochromatic
#8A1CA0 #B726D4 #CA56E1 #DA8AEA #EBBEF3

Accessibility & contrast

On white

3.54
#CA56E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.93
#CA56E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA56E1
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA56E1#FFFFFF#000000##000000
##CA56E11.003.545.935.93
#FFFFFF3.541.0021.0021.00
#0000005.9321.001.001.00
##0000005.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3380E5
Deuteranopia (green-blind)
#638CDD
Tritanopia (blue-blind)
#CB6D94
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #ca56e1;
/* rgb */ color: rgb(202, 86, 225);
/* oklch */ color: oklch(65.5% 0.221 320.7);
Tailwind
colors: {
  custom: {
    50: '#dd8deb',
    500: '#ca56e1',
    950: '#000000',
  },
}
SCSS
$custom: #ca56e1;
$custom-light: #dd8deb;
$custom-dark: #000000;
JSON
{
  "hex": "#ca56e1",
  "rgb": {
    "r": 202,
    "g": 86,
    "b": 225
  },
  "hsl": {
    "h": 290.072,
    "s": 69.849,
    "l": 60.98
  },
  "oklch": {
    "l": 0.65494,
    "c": 0.22122,
    "h": 320.7
  },
  "luminance": 0.24648
}

Semantic roles & 50–950 ramp

primary
#CA56E1
secondary
#B8E4AF
accent
#D21433
background
#FEF9FE
surface
#FCF1FD
border
#D5CBD5
text
#150D16
muted
#847E84

Preview Lab

Preview with #CA56E1

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

Preview Lab → · Contrast checker → · Palette generator →

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