#CA8AEB#CA8AEB

#CA8AEB is a light, vivid violet. Relative luminance 0.367; OKLCH L 73.3% C 0.151 H 313.4°. Best body text is #000000 at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#CA8AEB
RGBrgb(202, 138, 235)
HSLhsl(280, 71%, 73%)
HSVhsv(280, 41%, 92%)
CMYKcmyk(14%, 41.3%, 0%, 7.8%)
CIE-LABlab(67.08, 41.29, -39.55)
CIE-LCHlch(67.08, 57.18, 316.23°)
OKLaboklab(73.29% 0.1036 -0.1094)
OKLCHoklch(73.29% 0.151 313.4)
XYZxyz(48.4385, 36.7327, 83.1196)
Luminance0.3673 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA8AEB #ABEB8A
analogous
#998AEB #CA8AEB #EB8ADB
triadic
#CA8AEB #EBCA8A #8AEBCA
tetradic
#CA8AEB #EB998A #ABEB8A #8ADBEB
square
#CA8AEB #EB998A #ABEB8A #8ADBEB
split-complementary
#CA8AEB #DBEB8A #8AEB99
monochromatic
#9A25D6 #B256E2 #CA8AEB #E2BEF4 #F3E5FB

Accessibility & contrast

On white

2.52
#CA8AEB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.35
#CA8AEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA8AEB
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA8AEB#FFFFFF#000000##000000
##CA8AEB1.002.528.358.35
#FFFFFF2.521.0021.0021.00
#0000008.3521.001.001.00
##0000008.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#78A0EF
Deuteranopia (green-blind)
#88A5E8
Tritanopia (blue-blind)
#C798AF
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #ca8aeb;
/* rgb */ color: rgb(202, 138, 235);
/* oklch */ color: oklch(73.3% 0.151 313.4);
Tailwind
colors: {
  custom: {
    50: '#dbadf2',
    500: '#ca8aeb',
    950: '#000000',
  },
}
SCSS
$custom: #ca8aeb;
$custom-light: #dbadf2;
$custom-dark: #000000;
JSON
{
  "hex": "#ca8aeb",
  "rgb": {
    "r": 202,
    "g": 138,
    "b": 235
  },
  "hsl": {
    "h": 279.588,
    "s": 70.803,
    "l": 73.137
  },
  "oklch": {
    "l": 0.73292,
    "c": 0.15069,
    "h": 313.4
  },
  "luminance": 0.36732
}

Semantic roles & 50–950 ramp

primary
#CA8AEB
secondary
#E1F2D9
accent
#D31354
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151017
muted
#837F85

Preview Lab

Preview with #CA8AEB

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

Preview Lab → · Contrast checker → · Palette generator →

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