#CA8AEC#CA8AEC

#CA8AEC is a light, vivid violet. Relative luminance 0.368; OKLCH L 73.3% C 0.152 H 313.1°. Best body text is #000000 at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#CA8AEC
RGBrgb(202, 138, 236)
HSLhsl(279, 72%, 73%)
HSVhsv(279, 42%, 93%)
CMYKcmyk(14.4%, 41.5%, 0%, 7.5%)
CIE-LABlab(67.12, 41.50, -40.03)
CIE-LCHlch(67.12, 57.67, 316.03°)
OKLaboklab(73.34% 0.1038 -0.1108)
OKLCHoklch(73.34% 0.152 313.1)
XYZxyz(48.5834, 36.7906, 83.8826)
Luminance0.3679 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA8AEC #ACEC8A
analogous
#998AEC #CA8AEC #EC8ADD
triadic
#CA8AEC #ECCA8A #8AECCA
tetradic
#CA8AEC #EC998A #ACEC8A #8ADDEC
square
#CA8AEC #EC998A #ACEC8A #8ADDEC
split-complementary
#CA8AEC #DDEC8A #8AEC99
monochromatic
#9A23D8 #B255E3 #CA8AEC #E2BFF5 #F3E5FB

Accessibility & contrast

On white

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

On black

8.36
#CA8AEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA8AEC
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA8AEC#FFFFFF#000000##000000
##CA8AEC1.002.518.368.36
#FFFFFF2.511.0021.0021.00
#0000008.3621.001.001.00
##0000008.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#77A0F0
Deuteranopia (green-blind)
#88A5E9
Tritanopia (blue-blind)
#C798B0
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #ca8aec;
/* rgb */ color: rgb(202, 138, 236);
/* oklch */ color: oklch(73.3% 0.152 313.1);
Tailwind
colors: {
  custom: {
    50: '#dbadf2',
    500: '#ca8aec',
    950: '#000000',
  },
}
SCSS
$custom: #ca8aec;
$custom-light: #dbadf2;
$custom-dark: #000000;
JSON
{
  "hex": "#ca8aec",
  "rgb": {
    "r": 202,
    "g": 138,
    "b": 236
  },
  "hsl": {
    "h": 279.184,
    "s": 72.059,
    "l": 73.333
  },
  "oklch": {
    "l": 0.7334,
    "c": 0.15183,
    "h": 313.1
  },
  "luminance": 0.3679
}

Semantic roles & 50–950 ramp

primary
#CA8AEC
secondary
#E2F2D9
accent
#D41155
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151017
muted
#837F85

Preview Lab

Preview with #CA8AEC

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

Preview Lab → · Contrast checker → · Palette generator →

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