#CA88EC#CA88EC

#CA88EC is a light, vivid violet. Relative luminance 0.362; OKLCH L 73.0% C 0.155 H 313.4°. Best body text is #000000 at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#CA88EC
RGBrgb(202, 136, 236)
HSLhsl(280, 72%, 73%)
HSVhsv(280, 42%, 93%)
CMYKcmyk(14.4%, 42.4%, 0%, 7.5%)
CIE-LABlab(66.69, 42.58, -40.71)
CIE-LCHlch(66.69, 58.91, 316.29°)
OKLaboklab(73.02% 0.1066 -0.1127)
OKLCHoklch(73.02% 0.155 313.4)
XYZxyz(48.2991, 36.2220, 83.7878)
Luminance0.3622 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA88EC #AAEC88
analogous
#9888EC #CA88EC #EC88DC
triadic
#CA88EC #ECCA88 #88ECCA
tetradic
#CA88EC #EC9888 #AAEC88 #88DCEC
square
#CA88EC #EC9888 #AAEC88 #88DCEC
split-complementary
#CA88EC #DCEC88 #88EC98
monochromatic
#9A22D7 #B253E4 #CA88EC #E2BDF4 #F3E5FB

Accessibility & contrast

On white

2.55
#CA88EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.24
#CA88EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA88EC
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA88EC#FFFFFF#000000##000000
##CA88EC1.002.558.248.24
#FFFFFF2.551.0021.0021.00
#0000008.2421.001.001.00
##0000008.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#759FF0
Deuteranopia (green-blind)
#86A4E9
Tritanopia (blue-blind)
#C796AF
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #ca88ec;
/* rgb */ color: rgb(202, 136, 236);
/* oklch */ color: oklch(73.0% 0.155 313.4);
Tailwind
colors: {
  custom: {
    50: '#dcacf2',
    500: '#ca88ec',
    950: '#000000',
  },
}
SCSS
$custom: #ca88ec;
$custom-light: #dcacf2;
$custom-dark: #000000;
JSON
{
  "hex": "#ca88ec",
  "rgb": {
    "r": 202,
    "g": 136,
    "b": 236
  },
  "hsl": {
    "h": 279.6,
    "s": 72.464,
    "l": 72.941
  },
  "oklch": {
    "l": 0.73016,
    "c": 0.15516,
    "h": 313.4
  },
  "luminance": 0.36221
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CA88EC

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

Preview Lab → · Contrast checker → · Palette generator →

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