#CA56FD#CA56FD

#CA56FD is a light, highly saturated purple. Relative luminance 0.263; OKLCH L 67.2% C 0.247 H 313.7°. Best body text is #000000 at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#CA56FD
RGBrgb(202, 86, 253)
HSLhsl(282, 98%, 66%)
HSVhsv(282, 66%, 99%)
CMYKcmyk(20.2%, 66%, 0%, 0.8%)
CIE-LABlab(58.33, 70.51, -63.36)
CIE-LCHlch(58.33, 94.80, 318.06°)
OKLaboklab(67.15% 0.1705 -0.1784)
OKLCHoklch(67.15% 0.247 313.7)
XYZxyz(45.4115, 26.3054, 95.5948)
Luminance0.2630 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA56FD #89FD56
analogous
#7756FD #CA56FD #FD56DC
triadic
#CA56FD #FDCA56 #56FDCA
tetradic
#CA56FD #FD7756 #89FD56 #56DCFD
square
#CA56FD #FD7756 #89FD56 #56DCFD
split-complementary
#CA56FD #DCFD56 #56FD77
monochromatic
#9503D6 #B71AFC #CA56FD #DD92FE #F0CFFE

Accessibility & contrast

On white

3.35
#CA56FD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.26
#CA56FD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA56FD
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA56FD#FFFFFF#000000##000000
##CA56FD1.003.356.266.26
#FFFFFF3.351.0021.0021.00
#0000006.2621.001.001.00
##0000006.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0086FF
Deuteranopia (green-blind)
#4C8FF9
Tritanopia (blue-blind)
#C577A3
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #ca56fd;
/* rgb */ color: rgb(202, 86, 253);
/* oklch */ color: oklch(67.2% 0.247 313.7);
Tailwind
colors: {
  custom: {
    50: '#de8dff',
    500: '#ca56fd',
    950: '#000000',
  },
}
SCSS
$custom: #ca56fd;
$custom-light: #de8dff;
$custom-dark: #000000;
JSON
{
  "hex": "#ca56fd",
  "rgb": {
    "r": 202,
    "g": 86,
    "b": 253
  },
  "hsl": {
    "h": 281.677,
    "s": 97.661,
    "l": 66.471
  },
  "oklch": {
    "l": 0.67154,
    "c": 0.24679,
    "h": 313.7
  },
  "luminance": 0.26304
}

Semantic roles & 50–950 ramp

primary
#CA56FD
secondary
#CDF2BC
accent
#E60046
background
#FEF9FF
surface
#FCF1FF
border
#D5CBD7
text
#160D18
muted
#847E86

Preview Lab

Preview with #CA56FD

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

Preview Lab → · Contrast checker → · Palette generator →

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