#CA5AEF#CA5AEF

#CA5AEF is a light, highly saturated purple. Relative luminance 0.261; OKLCH L 66.8% C 0.229 H 316.8°. Best body text is #000000 at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#CA5AEF
RGBrgb(202, 90, 239)
HSLhsl(285, 82%, 65%)
HSVhsv(285, 62%, 94%)
CMYKcmyk(15.5%, 62.3%, 0%, 6.3%)
CIE-LABlab(58.13, 66.04, -55.89)
CIE-LCHlch(58.13, 86.52, 319.76°)
OKLaboklab(66.76% 0.1666 -0.1566)
OKLCHoklch(66.76% 0.229 316.8)
XYZxyz(43.5910, 26.1025, 84.3867)
Luminance0.2610 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA5AEF #7FEF5A
analogous
#805AEF #CA5AEF #EF5AC9
triadic
#CA5AEF #EFCA5A #5AEFCA
tetradic
#CA5AEF #EF805A #7FEF5A #5AC9EF
square
#CA5AEF #EF805A #7FEF5A #5AC9EF
split-complementary
#CA5AEF #C9EF5A #5AEF80
monochromatic
#9212BC #B822EA #CA5AEF #DC92F4 #EECAFA

Accessibility & contrast

On white

3.38
#CA5AEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.22
#CA5AEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA5AEF
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA5AEF#FFFFFF#000000##000000
##CA5AEF1.003.386.226.22
#FFFFFF3.381.0021.0021.00
#0000006.2221.001.001.00
##0000006.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2785F4
Deuteranopia (green-blind)
#5C8FEB
Tritanopia (blue-blind)
#C8749D
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #ca5aef;
/* rgb */ color: rgb(202, 90, 239);
/* oklch */ color: oklch(66.8% 0.229 316.8);
Tailwind
colors: {
  custom: {
    50: '#de8ff5',
    500: '#ca5aef',
    950: '#000000',
  },
}
SCSS
$custom: #ca5aef;
$custom-light: #de8ff5;
$custom-dark: #000000;
JSON
{
  "hex": "#ca5aef",
  "rgb": {
    "r": 202,
    "g": 90,
    "b": 239
  },
  "hsl": {
    "h": 285.101,
    "s": 82.32,
    "l": 64.51
  },
  "oklch": {
    "l": 0.66756,
    "c": 0.22864,
    "h": 316.8
  },
  "luminance": 0.26101
}

Semantic roles & 50–950 ramp

primary
#CA5AEF
secondary
#C5ECB9
accent
#DF073C
background
#FEF9FF
surface
#FCF1FE
border
#D5CBD6
text
#160D17
muted
#847E85

Preview Lab

Preview with #CA5AEF

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

Preview Lab → · Contrast checker → · Palette generator →

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