#CA7AEC#CA7AEC

#CA7AEC is a light, vivid purple. Relative luminance 0.325; OKLCH L 70.8% C 0.178 H 315.0°. Best body text is #000000 at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#CA7AEC
RGBrgb(202, 122, 236)
HSLhsl(282, 75%, 70%)
HSVhsv(282, 48%, 93%)
CMYKcmyk(14.4%, 48.3%, 0%, 7.5%)
CIE-LABlab(63.78, 49.97, -45.27)
CIE-LCHlch(63.78, 67.43, 317.82°)
OKLaboklab(70.85% 0.126 -0.1258)
OKLCHoklch(70.85% 0.178 315)
XYZxyz(46.4546, 32.5330, 83.1730)
Luminance0.3253 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA7AEC #9CEC7A
analogous
#917AEC #CA7AEC #EC7AD5
triadic
#CA7AEC #ECCA7A #7AECCA
tetradic
#CA7AEC #EC917A #9CEC7A #7AD5EC
square
#CA7AEC #EC917A #9CEC7A #7AD5EC
split-complementary
#CA7AEC #D5EC7A #7AEC91
monochromatic
#991DCE #B544E4 #CA7AEC #DFB0F4 #F4E4FB

Accessibility & contrast

On white

2.80
#CA7AEC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.51
#CA7AEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA7AEC
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA7AEC#FFFFFF#000000##000000
##CA7AEC1.002.807.517.51
#FFFFFF2.801.0021.0021.00
#0000007.5121.001.001.00
##0000007.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6296F0
Deuteranopia (green-blind)
#7A9DE9
Tritanopia (blue-blind)
#C88BA8
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #ca7aec;
/* rgb */ color: rgb(202, 122, 236);
/* oklch */ color: oklch(70.8% 0.178 315.0);
Tailwind
colors: {
  custom: {
    50: '#dca3f2',
    500: '#ca7aec',
    950: '#000000',
  },
}
SCSS
$custom: #ca7aec;
$custom-light: #dca3f2;
$custom-dark: #000000;
JSON
{
  "hex": "#ca7aec",
  "rgb": {
    "r": 202,
    "g": 122,
    "b": 236
  },
  "hsl": {
    "h": 282.105,
    "s": 75,
    "l": 70.196
  },
  "oklch": {
    "l": 0.70846,
    "c": 0.17808,
    "h": 315
  },
  "luminance": 0.32532
}

Semantic roles & 50–950 ramp

primary
#CA7AEC
secondary
#DBF1D1
accent
#D70E4A
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #CA7AEC

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

Preview Lab → · Contrast checker → · Palette generator →

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