#CA8DEB#CA8DEB

#CA8DEB is a light, vivid violet. Relative luminance 0.376; OKLCH L 73.8% C 0.146 H 313.0°. Best body text is #000000 at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#CA8DEB
RGBrgb(202, 141, 235)
HSLhsl(279, 70%, 74%)
HSVhsv(279, 40%, 92%)
CMYKcmyk(14%, 40%, 0%, 7.8%)
CIE-LABlab(67.73, 39.68, -38.53)
CIE-LCHlch(67.73, 55.31, 315.84°)
OKLaboklab(73.78% 0.0994 -0.1065)
OKLCHoklch(73.78% 0.146 313)
XYZxyz(48.8749, 37.6054, 83.2650)
Luminance0.3760 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA8DEB #AEEB8D
analogous
#9B8DEB #CA8DEB #EB8DDD
triadic
#CA8DEB #EBCA8D #8DEBCA
tetradic
#CA8DEB #EB9B8D #AEEB8D #8DDDEB
square
#CA8DEB #EB9B8D #AEEB8D #8DDDEB
split-complementary
#CA8DEB #DDEB8D #8DEB9B
monochromatic
#9926D8 #B259E2 #CA8DEB #E2C1F4 #F3E5FA

Accessibility & contrast

On white

2.46
#CA8DEB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.52
#CA8DEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA8DEB
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA8DEB#FFFFFF#000000##000000
##CA8DEB1.002.468.528.52
#FFFFFF2.461.0021.0021.00
#0000008.5221.001.001.00
##0000008.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7CA2EE
Deuteranopia (green-blind)
#8BA7E8
Tritanopia (blue-blind)
#C79AB1
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #ca8deb;
/* rgb */ color: rgb(202, 141, 235);
/* oklch */ color: oklch(73.8% 0.146 313.0);
Tailwind
colors: {
  custom: {
    50: '#dbaff1',
    500: '#ca8deb',
    950: '#000000',
  },
}
SCSS
$custom: #ca8deb;
$custom-light: #dbaff1;
$custom-dark: #000000;
JSON
{
  "hex": "#ca8deb",
  "rgb": {
    "r": 202,
    "g": 141,
    "b": 235
  },
  "hsl": {
    "h": 278.936,
    "s": 70.149,
    "l": 73.725
  },
  "oklch": {
    "l": 0.73784,
    "c": 0.14565,
    "h": 313
  },
  "luminance": 0.37604
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CA8DEB

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

Preview Lab → · Contrast checker → · Palette generator →

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