#CA8CEB#CA8CEB

#CA8CEB is a light, vivid violet. Relative luminance 0.373; OKLCH L 73.6% C 0.147 H 313.2°. Best body text is #000000 at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#CA8CEB
RGBrgb(202, 140, 235)
HSLhsl(279, 70%, 74%)
HSVhsv(279, 40%, 92%)
CMYKcmyk(14%, 40.4%, 0%, 7.8%)
CIE-LABlab(67.51, 40.22, -38.87)
CIE-LCHlch(67.51, 55.93, 315.97°)
OKLaboklab(73.62% 0.1008 -0.1075)
OKLCHoklch(73.62% 0.147 313.2)
XYZxyz(48.7281, 37.3119, 83.2161)
Luminance0.3731 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA8CEB #ADEB8C
analogous
#9A8CEB #CA8CEB #EB8CDC
triadic
#CA8CEB #EBCA8C #8CEBCA
tetradic
#CA8CEB #EB9A8C #ADEB8C #8CDCEB
square
#CA8CEB #EB9A8C #ADEB8C #8CDCEB
split-complementary
#CA8CEB #DCEB8C #8CEB9A
monochromatic
#9925D7 #B258E2 #CA8CEB #E2C0F4 #F3E5FA

Accessibility & contrast

On white

2.48
#CA8CEB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.46
#CA8CEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA8CEB
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA8CEB#FFFFFF#000000##000000
##CA8CEB1.002.488.468.46
#FFFFFF2.481.0021.0021.00
#0000008.4621.001.001.00
##0000008.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7AA1EE
Deuteranopia (green-blind)
#8AA6E8
Tritanopia (blue-blind)
#C799B0
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #ca8ceb;
/* rgb */ color: rgb(202, 140, 235);
/* oklch */ color: oklch(73.6% 0.147 313.2);
Tailwind
colors: {
  custom: {
    50: '#dbaef2',
    500: '#ca8ceb',
    950: '#000000',
  },
}
SCSS
$custom: #ca8ceb;
$custom-light: #dbaef2;
$custom-dark: #000000;
JSON
{
  "hex": "#ca8ceb",
  "rgb": {
    "r": 202,
    "g": 140,
    "b": 235
  },
  "hsl": {
    "h": 279.158,
    "s": 70.37,
    "l": 73.529
  },
  "oklch": {
    "l": 0.73619,
    "c": 0.14733,
    "h": 313.2
  },
  "luminance": 0.37311
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CA8CEB

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

Preview Lab → · Contrast checker → · Palette generator →

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