#CA9BF9#CA9BF9

#CA9BF9 is a light, vivid violet. Relative luminance 0.428; OKLCH L 76.8% C 0.139 H 306.4°. Best body text is #000000 at 9.57:1 contrast (WCAG AA passes).

Color values

HEX#CA9BF9
RGBrgb(202, 155, 249)
HSLhsl(270, 89%, 79%)
HSVhsv(270, 38%, 98%)
CMYKcmyk(18.9%, 37.8%, 0%, 2.4%)
CIE-LABlab(71.45, 35.07, -40.39)
CIE-LCHlch(71.45, 53.49, 310.97°)
OKLaboklab(76.79% 0.0824 -0.1119)
OKLCHoklch(76.79% 0.139 306.4)
XYZxyz(53.1740, 42.8392, 95.0717)
Luminance0.4284 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA9BF9 #CAF99B
analogous
#9B9BF9 #CA9BF9 #F99BF9
triadic
#CA9BF9 #F9CA9B #9BF9CA
tetradic
#CA9BF9 #F99B9B #CAF99B #9BF9F9
square
#CA9BF9 #F99B9B #CAF99B #9BF9F9
split-complementary
#CA9BF9 #F9F99B #9BF99B
monochromatic
#8D28F2 #AB61F6 #CA9BF9 #E9D5FC #F0E2FD

Accessibility & contrast

On white

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

On black

9.57
#CA9BF9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA9BF9
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA9BF9#FFFFFF#000000##000000
##CA9BF91.002.199.579.57
#FFFFFF2.191.0021.0021.00
#0000009.5721.001.001.00
##0000009.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#87ADFD
Deuteranopia (green-blind)
#91AFF6
Tritanopia (blue-blind)
#C3A9BE
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #ca9bf9;
/* rgb */ color: rgb(202, 155, 249);
/* oklch */ color: oklch(76.8% 0.139 306.4);
Tailwind
colors: {
  custom: {
    50: '#dbb9fb',
    500: '#ca9bf9',
    950: '#000000',
  },
}
SCSS
$custom: #ca9bf9;
$custom-light: #dbb9fb;
$custom-dark: #000000;
JSON
{
  "hex": "#ca9bf9",
  "rgb": {
    "r": 202,
    "g": 155,
    "b": 249
  },
  "hsl": {
    "h": 270,
    "s": 88.679,
    "l": 79.216
  },
  "oklch": {
    "l": 0.76787,
    "c": 0.13899,
    "h": 306.4
  },
  "luminance": 0.42839
}

Semantic roles & 50–950 ramp

primary
#CA9BF9
secondary
#E6F5D6
accent
#E50073
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151117
muted
#838085

Preview Lab

Preview with #CA9BF9

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

Preview Lab → · Contrast checker → · Palette generator →

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