#CA56E3#CA56E3

#CA56E3 is a light, highly saturated purple. Relative luminance 0.248; OKLCH L 65.6% C 0.223 H 320.1°. Best body text is #000000 at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#CA56E3
RGBrgb(202, 86, 227)
HSLhsl(289, 72%, 61%)
HSVhsv(289, 62%, 89%)
CMYKcmyk(11%, 62.1%, 0%, 11%)
CIE-LABlab(56.84, 65.50, -51.24)
CIE-LCHlch(56.84, 83.16, 321.97°)
OKLaboklab(65.61% 0.1712 -0.143)
OKLCHoklch(65.61% 0.223 320.1)
XYZxyz(41.5483, 24.7601, 75.2488)
Luminance0.2476 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA56E3 #6FE356
analogous
#8456E3 #CA56E3 #E356B6
triadic
#CA56E3 #E3CA56 #56E3CA
tetradic
#CA56E3 #E38456 #6FE356 #56B6E3
square
#CA56E3 #E38456 #6FE356 #56B6E3
split-complementary
#CA56E3 #B6E356 #56E384
monochromatic
#8B1BA4 #B824D8 #CA56E3 #DA8BEC #EBBFF4

Accessibility & contrast

On white

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

On black

5.95
#CA56E3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA56E3
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA56E3#FFFFFF#000000##000000
##CA56E31.003.535.955.95
#FFFFFF3.531.0021.0021.00
#0000005.9521.001.001.00
##0000005.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3180E7
Deuteranopia (green-blind)
#628DDF
Tritanopia (blue-blind)
#CB6D95
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #ca56e3;
/* rgb */ color: rgb(202, 86, 227);
/* oklch */ color: oklch(65.6% 0.223 320.1);
Tailwind
colors: {
  custom: {
    50: '#dd8dec',
    500: '#ca56e3',
    950: '#000000',
  },
}
SCSS
$custom: #ca56e3;
$custom-light: #dd8dec;
$custom-dark: #000000;
JSON
{
  "hex": "#ca56e3",
  "rgb": {
    "r": 202,
    "g": 86,
    "b": 227
  },
  "hsl": {
    "h": 289.362,
    "s": 71.574,
    "l": 61.373
  },
  "oklch": {
    "l": 0.65607,
    "c": 0.22302,
    "h": 320.1
  },
  "luminance": 0.24758
}

Semantic roles & 50–950 ramp

primary
#CA56E3
secondary
#B9E5B0
accent
#D41234
background
#FEF9FE
surface
#FCF1FD
border
#D5CBD5
text
#150D16
muted
#847E84

Preview Lab

Preview with #CA56E3

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

Preview Lab → · Contrast checker → · Palette generator →

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