#CA7AE4#CA7AE4

#CA7AE4 is a light, vivid purple. Relative luminance 0.321; OKLCH L 70.4% C 0.170 H 317.4°. Best body text is #000000 at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#CA7AE4
RGBrgb(202, 122, 228)
HSLhsl(285, 66%, 69%)
HSVhsv(285, 46%, 89%)
CMYKcmyk(11.4%, 46.5%, 0%, 10.6%)
CIE-LABlab(63.41, 48.34, -41.42)
CIE-LCHlch(63.41, 63.66, 319.41°)
OKLaboklab(70.45% 0.1249 -0.1147)
OKLCHoklch(70.45% 0.17 317.4)
XYZxyz(45.3183, 32.0785, 77.1883)
Luminance0.3208 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA7AE4 #94E47A
analogous
#957AE4 #CA7AE4 #E47AC9
triadic
#CA7AE4 #E4CA7A #7AE4CA
tetradic
#CA7AE4 #E4957A #94E47A #7AC9E4
square
#CA7AE4 #E4957A #94E47A #7AC9E4
split-complementary
#CA7AE4 #C9E47A #7AE495
monochromatic
#9826BD #B647DA #CA7AE4 #DEADEE #F3E0F9

Accessibility & contrast

On white

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

On black

7.42
#CA7AE4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA7AE4
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA7AE4#FFFFFF#000000##000000
##CA7AE41.002.837.427.42
#FFFFFF2.831.0021.0021.00
#0000007.4221.001.001.00
##0000007.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6794E8
Deuteranopia (green-blind)
#7E9CE1
Tritanopia (blue-blind)
#CA89A4
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #ca7ae4;
/* rgb */ color: rgb(202, 122, 228);
/* oklch */ color: oklch(70.4% 0.170 317.4);
Tailwind
colors: {
  custom: {
    50: '#dca2ed',
    500: '#ca7ae4',
    950: '#000000',
  },
}
SCSS
$custom: #ca7ae4;
$custom-light: #dca2ed;
$custom-dark: #000000;
JSON
{
  "hex": "#ca7ae4",
  "rgb": {
    "r": 202,
    "g": 122,
    "b": 228
  },
  "hsl": {
    "h": 285.283,
    "s": 66.25,
    "l": 68.627
  },
  "oklch": {
    "l": 0.70446,
    "c": 0.16958,
    "h": 317.4
  },
  "luminance": 0.32077
}

Semantic roles & 50–950 ramp

primary
#CA7AE4
secondary
#D5EDCD
accent
#CE1744
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CA7AE4

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

Preview Lab → · Contrast checker → · Palette generator →

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