#CA56EB#CA56EB

#CA56EB is a light, highly saturated purple. Relative luminance 0.252; OKLCH L 66.1% C 0.230 H 318.0°. Best body text is #000000 at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#CA56EB
RGBrgb(202, 86, 235)
HSLhsl(287, 79%, 63%)
HSVhsv(287, 63%, 92%)
CMYKcmyk(14%, 63.4%, 0%, 7.8%)
CIE-LABlab(57.28, 67.01, -55.02)
CIE-LCHlch(57.28, 86.70, 320.61°)
OKLaboklab(66.07% 0.1712 -0.154)
OKLCHoklch(66.07% 0.23 318)
XYZxyz(42.6782, 25.2121, 81.1995)
Luminance0.2521 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA56EB #77EB56
analogous
#7F56EB #CA56EB #EB56C2
triadic
#CA56EB #EBCA56 #56EBCA
tetradic
#CA56EB #EB7F56 #77EB56 #56C2EB
square
#CA56EB #EB7F56 #77EB56 #56C2EB
split-complementary
#CA56EB #C2EB56 #56EB7F
monochromatic
#8F15B2 #B91FE5 #CA56EB #DB8DF1 #ECC3F8

Accessibility & contrast

On white

3.48
#CA56EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.04
#CA56EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA56EB
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA56EB#FFFFFF#000000##000000
##CA56EB1.003.486.046.04
#FFFFFF3.481.0021.0021.00
#0000006.0421.001.001.00
##0000006.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2482EF
Deuteranopia (green-blind)
#5C8DE7
Tritanopia (blue-blind)
#C97099
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #ca56eb;
/* rgb */ color: rgb(202, 86, 235);
/* oklch */ color: oklch(66.1% 0.230 318.0);
Tailwind
colors: {
  custom: {
    50: '#de8df2',
    500: '#ca56eb',
    950: '#000000',
  },
}
SCSS
$custom: #ca56eb;
$custom-light: #de8df2;
$custom-dark: #000000;
JSON
{
  "hex": "#ca56eb",
  "rgb": {
    "r": 202,
    "g": 86,
    "b": 235
  },
  "hsl": {
    "h": 286.711,
    "s": 78.836,
    "l": 62.941
  },
  "oklch": {
    "l": 0.66067,
    "c": 0.23027,
    "h": 318
  },
  "luminance": 0.2521
}

Semantic roles & 50–950 ramp

primary
#CA56EB
secondary
#BFE9B4
accent
#DB0A39
background
#FEF9FE
surface
#FCF1FD
border
#D5CBD5
text
#160D17
muted
#847E85

Preview Lab

Preview with #CA56EB

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

Preview Lab → · Contrast checker → · Palette generator →

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