#CA7AE5#CA7AE5

#CA7AE5 is a light, vivid purple. Relative luminance 0.321; OKLCH L 70.5% C 0.171 H 317.1°. Best body text is #000000 at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#CA7AE5
RGBrgb(202, 122, 229)
HSLhsl(285, 67%, 69%)
HSVhsv(285, 47%, 90%)
CMYKcmyk(11.8%, 46.7%, 0%, 10.2%)
CIE-LABlab(63.45, 48.54, -41.90)
CIE-LCHlch(63.45, 64.13, 319.20°)
OKLaboklab(70.5% 0.1251 -0.1161)
OKLCHoklch(70.5% 0.171 317.1)
XYZxyz(45.4575, 32.1342, 77.9215)
Luminance0.3213 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA7AE5 #95E57A
analogous
#957AE5 #CA7AE5 #E57ACB
triadic
#CA7AE5 #E5CA7A #7AE5CA
tetradic
#CA7AE5 #E5957A #95E57A #7ACBE5
square
#CA7AE5 #E5957A #95E57A #7ACBE5
split-complementary
#CA7AE5 #CBE57A #7AE595
monochromatic
#9825BF #B647DB #CA7AE5 #DEADEF #F3E0F9

Accessibility & contrast

On white

2.83
#CA7AE5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.43
#CA7AE5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA7AE5
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA7AE5#FFFFFF#000000##000000
##CA7AE51.002.837.437.43
#FFFFFF2.831.0021.0021.00
#0000007.4321.001.001.00
##0000007.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6795E9
Deuteranopia (green-blind)
#7D9CE2
Tritanopia (blue-blind)
#C989A5
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #ca7ae5;
/* rgb */ color: rgb(202, 122, 229);
/* oklch */ color: oklch(70.5% 0.171 317.1);
Tailwind
colors: {
  custom: {
    50: '#dca2ed',
    500: '#ca7ae5',
    950: '#000000',
  },
}
SCSS
$custom: #ca7ae5;
$custom-light: #dca2ed;
$custom-dark: #000000;
JSON
{
  "hex": "#ca7ae5",
  "rgb": {
    "r": 202,
    "g": 122,
    "b": 229
  },
  "hsl": {
    "h": 284.86,
    "s": 67.296,
    "l": 68.824
  },
  "oklch": {
    "l": 0.70496,
    "c": 0.17064,
    "h": 317.1
  },
  "luminance": 0.32133
}

Semantic roles & 50–950 ramp

primary
#CA7AE5
secondary
#D6EDCE
accent
#CF1645
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CA7AE5

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

Preview Lab → · Contrast checker → · Palette generator →

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