#CA5AFF#CA5AFF

#CA5AFF is a light, highly saturated purple. Relative luminance 0.271; OKLCH L 67.7% C 0.244 H 313.0°. Best body text is #000000 at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#CA5AFF
RGBrgb(202, 90, 255)
HSLhsl(281, 100%, 68%)
HSVhsv(281, 65%, 100%)
CMYKcmyk(20.8%, 64.7%, 0%, 0%)
CIE-LABlab(59.06, 69.21, -63.29)
CIE-LCHlch(59.06, 93.79, 317.56°)
OKLaboklab(67.72% 0.1661 -0.1782)
OKLCHoklch(67.72% 0.244 313)
XYZxyz(46.0601, 27.0902, 97.3909)
Luminance0.2709 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA5AFF #8FFF5A
analogous
#775AFF #CA5AFF #FF5AE2
triadic
#CA5AFF #FFCA5A #5AFFCA
tetradic
#CA5AFF #FF775A #8FFF5A #5AE2FF
square
#CA5AFF #FF775A #8FFF5A #5AE2FF
split-complementary
#CA5AFF #E2FF5A #5AFF77
monochromatic
#9700DF #B61DFF #CA5AFF #DE97FF #F1D4FF

Accessibility & contrast

On white

3.27
#CA5AFF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.42
#CA5AFF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA5AFF
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA5AFF#FFFFFF#000000##000000
##CA5AFF1.003.276.426.42
#FFFFFF3.271.0021.0021.00
#0000006.4221.001.001.00
##0000006.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0088FF
Deuteranopia (green-blind)
#4E91FB
Tritanopia (blue-blind)
#C47BA5
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #ca5aff;
/* rgb */ color: rgb(202, 90, 255);
/* oklch */ color: oklch(67.7% 0.244 313.0);
Tailwind
colors: {
  custom: {
    50: '#de90ff',
    500: '#ca5aff',
    950: '#000000',
  },
}
SCSS
$custom: #ca5aff;
$custom-light: #de90ff;
$custom-dark: #000000;
JSON
{
  "hex": "#ca5aff",
  "rgb": {
    "r": 202,
    "g": 90,
    "b": 255
  },
  "hsl": {
    "h": 280.727,
    "s": 100,
    "l": 67.647
  },
  "oklch": {
    "l": 0.67718,
    "c": 0.24365,
    "h": 313
  },
  "luminance": 0.27089
}

Semantic roles & 50–950 ramp

primary
#CA5AFF
secondary
#D1F4C1
accent
#E6004A
background
#FEF9FF
surface
#FCF1FF
border
#D5CBD7
text
#160D18
muted
#847E86

Preview Lab

Preview with #CA5AFF

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

Preview Lab → · Contrast checker → · Palette generator →

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