#CA7AEB#CA7AEB

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

Color values

HEX#CA7AEB
RGBrgb(202, 122, 235)
HSLhsl(282, 74%, 70%)
HSVhsv(282, 48%, 92%)
CMYKcmyk(14%, 48.1%, 0%, 7.8%)
CIE-LABlab(63.73, 49.76, -44.79)
CIE-LCHlch(63.73, 66.95, 318.01°)
OKLaboklab(70.8% 0.1259 -0.1245)
OKLCHoklch(70.8% 0.177 315.3)
XYZxyz(46.3097, 32.4751, 82.4100)
Luminance0.3247 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA7AEB #9BEB7A
analogous
#927AEB #CA7AEB #EB7AD3
triadic
#CA7AEB #EBCA7A #7AEBCA
tetradic
#CA7AEB #EB927A #9BEB7A #7AD3EB
square
#CA7AEB #EB927A #9BEB7A #7AD3EB
split-complementary
#CA7AEB #D3EB7A #7AEB92
monochromatic
#991FCC #B545E3 #CA7AEB #DFAFF3 #F4E4FB

Accessibility & contrast

On white

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

On black

7.49
#CA7AEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA7AEB
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA7AEB#FFFFFF#000000##000000
##CA7AEB1.002.807.497.49
#FFFFFF2.801.0021.0021.00
#0000007.4921.001.001.00
##0000007.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6396EF
Deuteranopia (green-blind)
#7A9DE8
Tritanopia (blue-blind)
#C88BA8
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #ca7aeb;
/* rgb */ color: rgb(202, 122, 235);
/* oklch */ color: oklch(70.8% 0.177 315.3);
Tailwind
colors: {
  custom: {
    50: '#dca3f2',
    500: '#ca7aeb',
    950: '#000000',
  },
}
SCSS
$custom: #ca7aeb;
$custom-light: #dca3f2;
$custom-dark: #000000;
JSON
{
  "hex": "#ca7aeb",
  "rgb": {
    "r": 202,
    "g": 122,
    "b": 235
  },
  "hsl": {
    "h": 282.478,
    "s": 73.856,
    "l": 70
  },
  "oklch": {
    "l": 0.70795,
    "c": 0.17701,
    "h": 315.3
  },
  "luminance": 0.32474
}

Semantic roles & 50–950 ramp

primary
#CA7AEB
secondary
#DAF0D1
accent
#D61049
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #CA7AEB

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

Preview Lab → · Contrast checker → · Palette generator →

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