#CA7AEF#CA7AEF

#CA7AEF is a light, vivid purple. Relative luminance 0.327; OKLCH L 71.0% C 0.181 H 314.2°. Best body text is #000000 at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#CA7AEF
RGBrgb(202, 122, 239)
HSLhsl(281, 79%, 71%)
HSVhsv(281, 49%, 94%)
CMYKcmyk(15.5%, 49%, 0%, 6.3%)
CIE-LABlab(63.92, 50.59, -46.71)
CIE-LCHlch(63.92, 68.85, 317.29°)
OKLaboklab(71% 0.1264 -0.13)
OKLCHoklch(71% 0.181 314.2)
XYZxyz(46.8941, 32.7088, 85.4878)
Luminance0.3271 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA7AEF #9FEF7A
analogous
#8F7AEF #CA7AEF #EF7AD9
triadic
#CA7AEF #EFCA7A #7AEFCA
tetradic
#CA7AEF #EF8F7A #9FEF7A #7AD9EF
square
#CA7AEF #EF8F7A #9FEF7A #7AD9EF
split-complementary
#CA7AEF #D9EF7A #7AEF8F
monochromatic
#9A1AD5 #B443E8 #CA7AEF #E0B1F6 #F4E4FC

Accessibility & contrast

On white

2.78
#CA7AEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.54
#CA7AEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA7AEF
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA7AEF#FFFFFF#000000##000000
##CA7AEF1.002.787.547.54
#FFFFFF2.781.0021.0021.00
#0000007.5421.001.001.00
##0000007.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6096F3
Deuteranopia (green-blind)
#789DEC
Tritanopia (blue-blind)
#C78CAA
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #ca7aef;
/* rgb */ color: rgb(202, 122, 239);
/* oklch */ color: oklch(71.0% 0.181 314.2);
Tailwind
colors: {
  custom: {
    50: '#dca3f5',
    500: '#ca7aef',
    950: '#000000',
  },
}
SCSS
$custom: #ca7aef;
$custom-light: #dca3f5;
$custom-dark: #000000;
JSON
{
  "hex": "#ca7aef",
  "rgb": {
    "r": 202,
    "g": 122,
    "b": 239
  },
  "hsl": {
    "h": 281.026,
    "s": 78.523,
    "l": 70.784
  },
  "oklch": {
    "l": 0.70999,
    "c": 0.18129,
    "h": 314.2
  },
  "luminance": 0.32708
}

Semantic roles & 50–950 ramp

primary
#CA7AEF
secondary
#DDF2D3
accent
#DB0B4D
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #CA7AEF

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

Preview Lab → · Contrast checker → · Palette generator →

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