#CA7AE3#CA7AE3

#CA7AE3 is a light, vivid purple. Relative luminance 0.320; OKLCH L 70.4% C 0.169 H 317.8°. Best body text is #000000 at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#CA7AE3
RGBrgb(202, 122, 227)
HSLhsl(286, 65%, 68%)
HSVhsv(286, 46%, 89%)
CMYKcmyk(11%, 46.3%, 0%, 11%)
CIE-LABlab(63.36, 48.14, -40.94)
CIE-LCHlch(63.36, 63.19, 319.62°)
OKLaboklab(70.4% 0.1248 -0.1133)
OKLCHoklch(70.4% 0.169 317.8)
XYZxyz(45.1798, 32.0231, 76.4593)
Luminance0.3202 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA7AE3 #93E37A
analogous
#957AE3 #CA7AE3 #E37AC7
triadic
#CA7AE3 #E3CA7A #7AE3CA
tetradic
#CA7AE3 #E3957A #93E37A #7AC7E3
square
#CA7AE3 #E3957A #93E37A #7AC7E3
split-complementary
#CA7AE3 #C7E37A #7AE395
monochromatic
#9827BB #B647D8 #CA7AE3 #DEADEE #F2DFF8

Accessibility & contrast

On white

2.84
#CA7AE3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.40
#CA7AE3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA7AE3
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA7AE3#FFFFFF#000000##000000
##CA7AE31.002.847.407.40
#FFFFFF2.841.0021.0021.00
#0000007.4021.001.001.00
##0000007.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6894E7
Deuteranopia (green-blind)
#7E9CE0
Tritanopia (blue-blind)
#CA89A4
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #ca7ae3;
/* rgb */ color: rgb(202, 122, 227);
/* oklch */ color: oklch(70.4% 0.169 317.8);
Tailwind
colors: {
  custom: {
    50: '#dca2ec',
    500: '#ca7ae3',
    950: '#000000',
  },
}
SCSS
$custom: #ca7ae3;
$custom-light: #dca2ec;
$custom-dark: #000000;
JSON
{
  "hex": "#ca7ae3",
  "rgb": {
    "r": 202,
    "g": 122,
    "b": 227
  },
  "hsl": {
    "h": 285.714,
    "s": 65.217,
    "l": 68.431
  },
  "oklch": {
    "l": 0.70397,
    "c": 0.16853,
    "h": 317.8
  },
  "luminance": 0.32022
}

Semantic roles & 50–950 ramp

primary
#CA7AE3
secondary
#D4ECCD
accent
#CD1843
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CA7AE3

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

Preview Lab → · Contrast checker → · Palette generator →

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