#CA9BFB#CA9BFB

#CA9BFB is a light, vivid violet. Relative luminance 0.430; OKLCH L 76.9% C 0.141 H 305.8°. Best body text is #000000 at 9.59:1 contrast (WCAG AA passes).

Color values

HEX#CA9BFB
RGBrgb(202, 155, 251)
HSLhsl(269, 92%, 80%)
HSVhsv(269, 38%, 98%)
CMYKcmyk(19.5%, 38.2%, 0%, 1.6%)
CIE-LABlab(71.53, 35.51, -41.34)
CIE-LCHlch(71.53, 54.50, 310.66°)
OKLaboklab(76.88% 0.0828 -0.1146)
OKLCHoklch(76.88% 0.141 305.8)
XYZxyz(53.4876, 42.9646, 96.7233)
Luminance0.4296 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA9BFB #CCFB9B
analogous
#9B9CFB #CA9BFB #FA9BFB
triadic
#CA9BFB #FBCA9B #9BFBCA
tetradic
#CA9BFB #FB9B9C #CCFB9B #9BFBFA
square
#CA9BFB #FB9B9C #CCFB9B #9BFBFA
split-complementary
#CA9BFB #FBFA9B #9CFB9B
monochromatic
#8C25F6 #AB60F9 #CA9BFB #E9D6FD #EFE2FE

Accessibility & contrast

On white

2.19
#CA9BFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.59
#CA9BFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA9BFB
9.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA9BFB#FFFFFF#000000##000000
##CA9BFB1.002.199.599.59
#FFFFFF2.191.0021.0021.00
#0000009.5921.001.001.00
##0000009.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#86AEFF
Deuteranopia (green-blind)
#90B0F8
Tritanopia (blue-blind)
#C3AABF
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #ca9bfb;
/* rgb */ color: rgb(202, 155, 251);
/* oklch */ color: oklch(76.9% 0.141 305.8);
Tailwind
colors: {
  custom: {
    50: '#dbb9fd',
    500: '#ca9bfb',
    950: '#000000',
  },
}
SCSS
$custom: #ca9bfb;
$custom-light: #dbb9fd;
$custom-dark: #000000;
JSON
{
  "hex": "#ca9bfb",
  "rgb": {
    "r": 202,
    "g": 155,
    "b": 251
  },
  "hsl": {
    "h": 269.375,
    "s": 92.308,
    "l": 79.608
  },
  "oklch": {
    "l": 0.7688,
    "c": 0.14145,
    "h": 305.8
  },
  "luminance": 0.42964
}

Semantic roles & 50–950 ramp

primary
#CA9BFB
secondary
#E6F6D5
accent
#E60075
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151117
muted
#838085

Preview Lab

Preview with #CA9BFB

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

Preview Lab → · Contrast checker → · Palette generator →

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