#CA9BEB#CA9BEB

#CA9BEB is a light, vivid violet. Relative luminance 0.420; OKLCH L 76.2% C 0.122 H 310.6°. Best body text is #000000 at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#CA9BEB
RGBrgb(202, 155, 235)
HSLhsl(275, 67%, 76%)
HSVhsv(275, 34%, 92%)
CMYKcmyk(14%, 34%, 0%, 7.8%)
CIE-LABlab(70.87, 32.05, -33.65)
CIE-LCHlch(70.87, 46.47, 313.60°)
OKLaboklab(76.16% 0.0793 -0.0926)
OKLCHoklch(76.16% 0.122 310.6)
XYZxyz(51.0712, 41.9981, 83.9972)
Luminance0.4200 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA9BEB #BCEB9B
analogous
#A29BEB #CA9BEB #EB9BE4
triadic
#CA9BEB #EBCA9B #9BEBCA
tetradic
#CA9BEB #EBA29B #BCEB9B #9BE4EB
square
#CA9BEB #EBA29B #BCEB9B #9BE4EB
split-complementary
#CA9BEB #E4EB9B #9BEBA2
monochromatic
#9435D7 #AF68E1 #CA9BEB #E5CEF5 #F1E5FA

Accessibility & contrast

On white

2.23
#CA9BEB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.40
#CA9BEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA9BEB
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA9BEB#FFFFFF#000000##000000
##CA9BEB1.002.239.409.40
#FFFFFF2.231.0021.0021.00
#0000009.4021.001.001.00
##0000009.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8DABEE
Deuteranopia (green-blind)
#97AEE9
Tritanopia (blue-blind)
#C6A6B8
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #ca9beb;
/* rgb */ color: rgb(202, 155, 235);
/* oklch */ color: oklch(76.2% 0.122 310.6);
Tailwind
colors: {
  custom: {
    50: '#dbb9f1',
    500: '#ca9beb',
    950: '#000000',
  },
}
SCSS
$custom: #ca9beb;
$custom-light: #dbb9f1;
$custom-dark: #000000;
JSON
{
  "hex": "#ca9beb",
  "rgb": {
    "r": 202,
    "g": 155,
    "b": 235
  },
  "hsl": {
    "h": 275.25,
    "s": 66.667,
    "l": 76.471
  },
  "oklch": {
    "l": 0.76161,
    "c": 0.12193,
    "h": 310.6
  },
  "luminance": 0.41997
}

Semantic roles & 50–950 ramp

primary
#CA9BEB
secondary
#E3F1DA
accent
#CF1763
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151117
muted
#838085

Preview Lab

Preview with #CA9BEB

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

Preview Lab → · Contrast checker → · Palette generator →

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