#CA8EEB#CA8EEB

#CA8EEB is a light, vivid violet. Relative luminance 0.379; OKLCH L 73.9% C 0.144 H 312.9°. Best body text is #000000 at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#CA8EEB
RGBrgb(202, 142, 235)
HSLhsl(279, 70%, 74%)
HSVhsv(279, 40%, 92%)
CMYKcmyk(14%, 39.6%, 0%, 7.8%)
CIE-LABlab(67.95, 39.14, -38.19)
CIE-LCHlch(67.95, 54.68, 315.70°)
OKLaboklab(73.95% 0.0979 -0.1055)
OKLCHoklch(73.95% 0.144 312.9)
XYZxyz(49.0230, 37.9017, 83.3144)
Luminance0.3790 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA8EEB #AFEB8E
analogous
#9C8EEB #CA8EEB #EB8EDE
triadic
#CA8EEB #EBCA8E #8EEBCA
tetradic
#CA8EEB #EB9C8E #AFEB8E #8EDEEB
square
#CA8EEB #EB9C8E #AFEB8E #8EDEEB
split-complementary
#CA8EEB #DEEB8E #8EEB9C
monochromatic
#9926D8 #B25AE2 #CA8EEB #E2C2F4 #F3E5FA

Accessibility & contrast

On white

2.45
#CA8EEB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.58
#CA8EEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA8EEB
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA8EEB#FFFFFF#000000##000000
##CA8EEB1.002.458.588.58
#FFFFFF2.451.0021.0021.00
#0000008.5821.001.001.00
##0000008.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7DA2EE
Deuteranopia (green-blind)
#8CA7E8
Tritanopia (blue-blind)
#C79BB1
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #ca8eeb;
/* rgb */ color: rgb(202, 142, 235);
/* oklch */ color: oklch(73.9% 0.144 312.9);
Tailwind
colors: {
  custom: {
    50: '#dbb0f1',
    500: '#ca8eeb',
    950: '#000000',
  },
}
SCSS
$custom: #ca8eeb;
$custom-light: #dbb0f1;
$custom-dark: #000000;
JSON
{
  "hex": "#ca8eeb",
  "rgb": {
    "r": 202,
    "g": 142,
    "b": 235
  },
  "hsl": {
    "h": 278.71,
    "s": 69.925,
    "l": 73.922
  },
  "oklch": {
    "l": 0.73949,
    "c": 0.14397,
    "h": 312.9
  },
  "luminance": 0.37901
}

Semantic roles & 50–950 ramp

primary
#CA8EEB
secondary
#E2F2D9
accent
#D21457
background
#FDFAFE
surface
#FBF5FD
border
#D4CFD5
text
#151017
muted
#837F85

Preview Lab

Preview with #CA8EEB

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

Preview Lab → · Contrast checker → · Palette generator →

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