#CA8AED#CA8AED

#CA8AED is a light, vivid violet. Relative luminance 0.368; OKLCH L 73.4% C 0.153 H 312.8°. Best body text is #000000 at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#CA8AED
RGBrgb(202, 138, 237)
HSLhsl(279, 73%, 74%)
HSVhsv(279, 42%, 93%)
CMYKcmyk(14.8%, 41.8%, 0%, 7.1%)
CIE-LABlab(67.16, 41.71, -40.52)
CIE-LCHlch(67.16, 58.15, 315.83°)
OKLaboklab(73.39% 0.104 -0.1122)
OKLCHoklch(73.39% 0.153 312.8)
XYZxyz(48.7291, 36.8489, 84.6499)
Luminance0.3685 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA8AED #ADED8A
analogous
#988AED #CA8AED #ED8ADE
triadic
#CA8AED #EDCA8A #8AEDCA
tetradic
#CA8AED #ED988A #ADED8A #8ADEED
square
#CA8AED #ED988A #ADED8A #8ADEED
split-complementary
#CA8AED #DEED8A #8AED98
monochromatic
#9922DB #B255E5 #CA8AED #E2BFF5 #F3E4FB

Accessibility & contrast

On white

2.51
#CA8AED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.37
#CA8AED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA8AED
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA8AED#FFFFFF#000000##000000
##CA8AED1.002.518.378.37
#FFFFFF2.511.0021.0021.00
#0000008.3721.001.001.00
##0000008.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#77A0F1
Deuteranopia (green-blind)
#87A5EA
Tritanopia (blue-blind)
#C798B0
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #ca8aed;
/* rgb */ color: rgb(202, 138, 237);
/* oklch */ color: oklch(73.4% 0.153 312.8);
Tailwind
colors: {
  custom: {
    50: '#dcadf3',
    500: '#ca8aed',
    950: '#000000',
  },
}
SCSS
$custom: #ca8aed;
$custom-light: #dcadf3;
$custom-dark: #000000;
JSON
{
  "hex": "#ca8aed",
  "rgb": {
    "r": 202,
    "g": 138,
    "b": 237
  },
  "hsl": {
    "h": 278.788,
    "s": 73.333,
    "l": 73.529
  },
  "oklch": {
    "l": 0.73387,
    "c": 0.15297,
    "h": 312.8
  },
  "luminance": 0.36848
}

Semantic roles & 50–950 ramp

primary
#CA8AED
secondary
#E2F3D8
accent
#D51056
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151017
muted
#837F85

Preview Lab

Preview with #CA8AED

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

Preview Lab → · Contrast checker → · Palette generator →

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