#CA9BF2#CA9BF2

#CA9BF2 is a light, vivid violet. Relative luminance 0.424; OKLCH L 76.5% C 0.130 H 308.4°. Best body text is #000000 at 9.48:1 contrast (WCAG AA passes).

Color values

HEX#CA9BF2
RGBrgb(202, 155, 242)
HSLhsl(272, 77%, 78%)
HSVhsv(272, 36%, 95%)
CMYKcmyk(16.5%, 36%, 0%, 5.1%)
CIE-LABlab(71.15, 33.55, -37.03)
CIE-LCHlch(71.15, 49.97, 312.17°)
OKLaboklab(76.47% 0.0809 -0.1023)
OKLCHoklch(76.47% 0.13 308.4)
XYZxyz(52.1025, 42.4106, 89.4284)
Luminance0.4241 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA9BF2 #C3F29B
analogous
#9E9BF2 #CA9BF2 #F29BEE
triadic
#CA9BF2 #F2CA9B #9BF2CA
tetradic
#CA9BF2 #F29E9B #C3F29B #9BEEF2
square
#CA9BF2 #F29E9B #C3F29B #9BEEF2
split-complementary
#CA9BF2 #EEF29B #9BF29E
monochromatic
#912FE4 #AD65EB #CA9BF2 #E7D1F9 #F1E4FB

Accessibility & contrast

On white

2.21
#CA9BF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.48
#CA9BF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA9BF2
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA9BF2#FFFFFF#000000##000000
##CA9BF21.002.219.489.48
#FFFFFF2.211.0021.0021.00
#0000009.4821.001.001.00
##0000009.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8AACF5
Deuteranopia (green-blind)
#94AFF0
Tritanopia (blue-blind)
#C5A8BB
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #ca9bf2;
/* rgb */ color: rgb(202, 155, 242);
/* oklch */ color: oklch(76.5% 0.130 308.4);
Tailwind
colors: {
  custom: {
    50: '#dbb9f6',
    500: '#ca9bf2',
    950: '#000000',
  },
}
SCSS
$custom: #ca9bf2;
$custom-light: #dbb9f6;
$custom-dark: #000000;
JSON
{
  "hex": "#ca9bf2",
  "rgb": {
    "r": 202,
    "g": 155,
    "b": 242
  },
  "hsl": {
    "h": 272.414,
    "s": 76.991,
    "l": 77.843
  },
  "oklch": {
    "l": 0.76469,
    "c": 0.13043,
    "h": 308.4
  },
  "luminance": 0.4241
}

Semantic roles & 50–950 ramp

primary
#CA9BF2
secondary
#E4F3D8
accent
#D90C6B
background
#FDFBFF
surface
#FBF6FE
border
#D4D0D6
text
#151117
muted
#838085

Preview Lab

Preview with #CA9BF2

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

Preview Lab → · Contrast checker → · Palette generator →

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