#CA7AEA#CA7AEA

#CA7AEA is a light, vivid purple. Relative luminance 0.324; OKLCH L 70.7% C 0.176 H 315.6°. Best body text is #000000 at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#CA7AEA
RGBrgb(202, 122, 234)
HSLhsl(283, 73%, 70%)
HSVhsv(283, 48%, 92%)
CMYKcmyk(13.7%, 47.9%, 0%, 8.2%)
CIE-LABlab(63.69, 49.56, -44.31)
CIE-LCHlch(63.69, 66.48, 318.20°)
OKLaboklab(70.75% 0.1257 -0.1231)
OKLCHoklch(70.75% 0.176 315.6)
XYZxyz(46.1657, 32.4175, 81.6513)
Luminance0.3242 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA7AEA #9AEA7A
analogous
#927AEA #CA7AEA #EA7AD2
triadic
#CA7AEA #EACA7A #7AEACA
tetradic
#CA7AEA #EA927A #9AEA7A #7AD2EA
square
#CA7AEA #EA927A #9AEA7A #7AD2EA
split-complementary
#CA7AEA #D2EA7A #7AEA92
monochromatic
#9920CA #B545E2 #CA7AEA #DFAFF2 #F4E4FB

Accessibility & contrast

On white

2.81
#CA7AEA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.48
#CA7AEA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA7AEA
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA7AEA#FFFFFF#000000##000000
##CA7AEA1.002.817.487.48
#FFFFFF2.811.0021.0021.00
#0000007.4821.001.001.00
##0000007.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6495EE
Deuteranopia (green-blind)
#7B9DE7
Tritanopia (blue-blind)
#C88BA7
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #ca7aea;
/* rgb */ color: rgb(202, 122, 234);
/* oklch */ color: oklch(70.7% 0.176 315.6);
Tailwind
colors: {
  custom: {
    50: '#dca3f1',
    500: '#ca7aea',
    950: '#000000',
  },
}
SCSS
$custom: #ca7aea;
$custom-light: #dca3f1;
$custom-dark: #000000;
JSON
{
  "hex": "#ca7aea",
  "rgb": {
    "r": 202,
    "g": 122,
    "b": 234
  },
  "hsl": {
    "h": 282.857,
    "s": 72.727,
    "l": 69.804
  },
  "oklch": {
    "l": 0.70745,
    "c": 0.17595,
    "h": 315.6
  },
  "luminance": 0.32416
}

Semantic roles & 50–950 ramp

primary
#CA7AEA
secondary
#D9F0D0
accent
#D51149
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #CA7AEA

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

Preview Lab → · Contrast checker → · Palette generator →

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