#CA5AE7#CA5AE7

#CA5AE7 is a light, highly saturated purple. Relative luminance 0.256; OKLCH L 66.3% C 0.221 H 318.8°. Best body text is #000000 at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#CA5AE7
RGBrgb(202, 90, 231)
HSLhsl(288, 75%, 63%)
HSVhsv(288, 61%, 91%)
CMYKcmyk(12.6%, 61%, 0%, 9.4%)
CIE-LABlab(57.69, 64.50, -52.12)
CIE-LCHlch(57.69, 82.93, 321.06°)
OKLaboklab(66.3% 0.1666 -0.1456)
OKLCHoklch(66.3% 0.221 318.8)
XYZxyz(42.4352, 25.6402, 78.2996)
Luminance0.2564 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA5AE7 #77E75A
analogous
#845AE7 #CA5AE7 #E75ABD
triadic
#CA5AE7 #E7CA5A #5AE7CA
tetradic
#CA5AE7 #E7845A #77E75A #5ABDE7
square
#CA5AE7 #E7845A #77E75A #5ABDE7
split-complementary
#CA5AE7 #BDE75A #5AE784
monochromatic
#8F19AD #B925DF #CA5AE7 #DB8FEF #ECC5F7

Accessibility & contrast

On white

3.43
#CA5AE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.13
#CA5AE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA5AE7
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA5AE7#FFFFFF#000000##000000
##CA5AE71.003.436.136.13
#FFFFFF3.431.0021.0021.00
#0000006.1321.001.001.00
##0000006.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3483EB
Deuteranopia (green-blind)
#628EE3
Tritanopia (blue-blind)
#CA7299
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #ca5ae7;
/* rgb */ color: rgb(202, 90, 231);
/* oklch */ color: oklch(66.3% 0.221 318.8);
Tailwind
colors: {
  custom: {
    50: '#dd8fef',
    500: '#ca5ae7',
    950: '#000000',
  },
}
SCSS
$custom: #ca5ae7;
$custom-light: #dd8fef;
$custom-dark: #000000;
JSON
{
  "hex": "#ca5ae7",
  "rgb": {
    "r": 202,
    "g": 90,
    "b": 231
  },
  "hsl": {
    "h": 287.66,
    "s": 74.603,
    "l": 62.941
  },
  "oklch": {
    "l": 0.66295,
    "c": 0.22122,
    "h": 318.8
  },
  "luminance": 0.25638
}

Semantic roles & 50–950 ramp

primary
#CA5AE7
secondary
#BFE8B5
accent
#D70F38
background
#FEF9FE
surface
#FCF1FD
border
#D5CBD5
text
#150D16
muted
#847E84

Preview Lab

Preview with #CA5AE7

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

Preview Lab → · Contrast checker → · Palette generator →

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