#CA56E7#CA56E7

#CA56E7 is a light, highly saturated purple. Relative luminance 0.250; OKLCH L 65.8% C 0.227 H 319.1°. Best body text is #000000 at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#CA56E7
RGBrgb(202, 86, 231)
HSLhsl(288, 75%, 62%)
HSVhsv(288, 63%, 91%)
CMYKcmyk(12.6%, 62.8%, 0%, 9.4%)
CIE-LABlab(57.06, 66.25, -53.13)
CIE-LCHlch(57.06, 84.93, 321.27°)
OKLaboklab(65.83% 0.1712 -0.1485)
OKLCHoklch(65.83% 0.227 319.1)
XYZxyz(42.1068, 24.9835, 78.1901)
Luminance0.2498 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA56E7 #73E756
analogous
#8256E7 #CA56E7 #E756BC
triadic
#CA56E7 #E7CA56 #56E7CA
tetradic
#CA56E7 #E78256 #73E756 #56BCE7
square
#CA56E7 #E78256 #73E756 #56BCE7
split-complementary
#CA56E7 #BCE756 #56E782
monochromatic
#8D18AA #B920DF #CA56E7 #DB8CEF #ECC1F6

Accessibility & contrast

On white

3.50
#CA56E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.00
#CA56E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA56E7
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA56E7#FFFFFF#000000##000000
##CA56E71.003.506.006.00
#FFFFFF3.501.0021.0021.00
#0000006.0021.001.001.00
##0000006.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B81EB
Deuteranopia (green-blind)
#5F8DE3
Tritanopia (blue-blind)
#CA6F97
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #ca56e7;
/* rgb */ color: rgb(202, 86, 231);
/* oklch */ color: oklch(65.8% 0.227 319.1);
Tailwind
colors: {
  custom: {
    50: '#de8def',
    500: '#ca56e7',
    950: '#000000',
  },
}
SCSS
$custom: #ca56e7;
$custom-light: #de8def;
$custom-dark: #000000;
JSON
{
  "hex": "#ca56e7",
  "rgb": {
    "r": 202,
    "g": 86,
    "b": 231
  },
  "hsl": {
    "h": 288,
    "s": 75.13,
    "l": 62.157
  },
  "oklch": {
    "l": 0.65835,
    "c": 0.22664,
    "h": 319.1
  },
  "luminance": 0.24982
}

Semantic roles & 50–950 ramp

primary
#CA56E7
secondary
#BCE7B2
accent
#D70E36
background
#FEF9FE
surface
#FCF1FD
border
#D5CBD5
text
#160D16
muted
#847E84

Preview Lab

Preview with #CA56E7

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

Preview Lab → · Contrast checker → · Palette generator →

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