#CA7AEE#CA7AEE

#CA7AEE is a light, vivid purple. Relative luminance 0.326; OKLCH L 70.9% C 0.180 H 314.5°. Best body text is #000000 at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#CA7AEE
RGBrgb(202, 122, 238)
HSLhsl(281, 77%, 71%)
HSVhsv(281, 49%, 93%)
CMYKcmyk(15.1%, 48.7%, 0%, 6.7%)
CIE-LABlab(63.88, 50.38, -46.23)
CIE-LCHlch(63.88, 68.38, 317.46°)
OKLaboklab(70.95% 0.1262 -0.1286)
OKLCHoklch(70.95% 0.18 314.5)
XYZxyz(46.7468, 32.6499, 84.7119)
Luminance0.3265 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA7AEE #9EEE7A
analogous
#907AEE #CA7AEE #EE7AD8
triadic
#CA7AEE #EECA7A #7AEECA
tetradic
#CA7AEE #EE907A #9EEE7A #7AD8EE
square
#CA7AEE #EE907A #9EEE7A #7AD8EE
split-complementary
#CA7AEE #D8EE7A #7AEE90
monochromatic
#9A1BD3 #B444E7 #CA7AEE #E0B0F5 #F4E4FC

Accessibility & contrast

On white

2.79
#CA7AEE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.53
#CA7AEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA7AEE
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA7AEE#FFFFFF#000000##000000
##CA7AEE1.002.797.537.53
#FFFFFF2.791.0021.0021.00
#0000007.5321.001.001.00
##0000007.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6196F2
Deuteranopia (green-blind)
#799DEB
Tritanopia (blue-blind)
#C78CA9
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #ca7aee;
/* rgb */ color: rgb(202, 122, 238);
/* oklch */ color: oklch(70.9% 0.180 314.5);
Tailwind
colors: {
  custom: {
    50: '#dca3f4',
    500: '#ca7aee',
    950: '#000000',
  },
}
SCSS
$custom: #ca7aee;
$custom-light: #dca3f4;
$custom-dark: #000000;
JSON
{
  "hex": "#ca7aee",
  "rgb": {
    "r": 202,
    "g": 122,
    "b": 238
  },
  "hsl": {
    "h": 281.379,
    "s": 77.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.70948,
    "c": 0.18021,
    "h": 314.5
  },
  "luminance": 0.32649
}

Semantic roles & 50–950 ramp

primary
#CA7AEE
secondary
#DCF2D2
accent
#DA0C4C
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #CA7AEE

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

Preview Lab → · Contrast checker → · Palette generator →

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