#CA7AE7#CA7AE7

#CA7AE7 is a light, vivid purple. Relative luminance 0.322; OKLCH L 70.6% C 0.173 H 316.5°. Best body text is #000000 at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#CA7AE7
RGBrgb(202, 122, 231)
HSLhsl(284, 69%, 69%)
HSVhsv(284, 47%, 91%)
CMYKcmyk(12.6%, 47.2%, 0%, 9.4%)
CIE-LABlab(63.55, 48.95, -42.87)
CIE-LCHlch(63.55, 65.07, 318.79°)
OKLaboklab(70.6% 0.1253 -0.1189)
OKLCHoklch(70.6% 0.173 316.5)
XYZxyz(45.7383, 32.2465, 79.4006)
Luminance0.3225 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA7AE7 #97E77A
analogous
#947AE7 #CA7AE7 #E77ACE
triadic
#CA7AE7 #E7CA7A #7AE7CA
tetradic
#CA7AE7 #E7947A #97E77A #7ACEE7
square
#CA7AE7 #E7947A #97E77A #7ACEE7
split-complementary
#CA7AE7 #CEE77A #7AE794
monochromatic
#9923C3 #B546DE #CA7AE7 #DFAEF0 #F3E2FA

Accessibility & contrast

On white

2.82
#CA7AE7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.45
#CA7AE7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA7AE7
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA7AE7#FFFFFF#000000##000000
##CA7AE71.002.827.457.45
#FFFFFF2.821.0021.0021.00
#0000007.4521.001.001.00
##0000007.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6595EB
Deuteranopia (green-blind)
#7C9CE4
Tritanopia (blue-blind)
#C98AA6
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #ca7ae7;
/* rgb */ color: rgb(202, 122, 231);
/* oklch */ color: oklch(70.6% 0.173 316.5);
Tailwind
colors: {
  custom: {
    50: '#dca3ef',
    500: '#ca7ae7',
    950: '#000000',
  },
}
SCSS
$custom: #ca7ae7;
$custom-light: #dca3ef;
$custom-dark: #000000;
JSON
{
  "hex": "#ca7ae7",
  "rgb": {
    "r": 202,
    "g": 122,
    "b": 231
  },
  "hsl": {
    "h": 284.037,
    "s": 69.427,
    "l": 69.216
  },
  "oklch": {
    "l": 0.70595,
    "c": 0.17275,
    "h": 316.5
  },
  "luminance": 0.32245
}

Semantic roles & 50–950 ramp

primary
#CA7AE7
secondary
#D7EECF
accent
#D11446
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CA7AE7

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

Preview Lab → · Contrast checker → · Palette generator →

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