#CA9BF3#CA9BF3

#CA9BF3 is a light, vivid violet. Relative luminance 0.425; OKLCH L 76.5% C 0.132 H 308.1°. Best body text is #000000 at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#CA9BF3
RGBrgb(202, 155, 243)
HSLhsl(272, 79%, 78%)
HSVhsv(272, 36%, 95%)
CMYKcmyk(16.9%, 36.2%, 0%, 4.7%)
CIE-LABlab(71.19, 33.76, -37.52)
CIE-LCHlch(71.19, 50.47, 311.99°)
OKLaboklab(76.51% 0.0812 -0.1036)
OKLCHoklch(76.51% 0.132 308.1)
XYZxyz(52.2531, 42.4708, 90.2216)
Luminance0.4247 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA9BF3 #C4F39B
analogous
#9E9BF3 #CA9BF3 #F39BF0
triadic
#CA9BF3 #F3CA9B #9BF3CA
tetradic
#CA9BF3 #F39E9B #C4F39B #9BF0F3
square
#CA9BF3 #F39E9B #C4F39B #9BF0F3
split-complementary
#CA9BF3 #F0F39B #9BF39E
monochromatic
#902EE6 #AD64EC #CA9BF3 #E7D2FA #F1E4FC

Accessibility & contrast

On white

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

On black

9.49
#CA9BF3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA9BF3
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA9BF3#FFFFFF#000000##000000
##CA9BF31.002.219.499.49
#FFFFFF2.211.0021.0021.00
#0000009.4921.001.001.00
##0000009.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#89ACF6
Deuteranopia (green-blind)
#94AFF0
Tritanopia (blue-blind)
#C5A8BC
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #ca9bf3;
/* rgb */ color: rgb(202, 155, 243);
/* oklch */ color: oklch(76.5% 0.132 308.1);
Tailwind
colors: {
  custom: {
    50: '#dbb9f7',
    500: '#ca9bf3',
    950: '#000000',
  },
}
SCSS
$custom: #ca9bf3;
$custom-light: #dbb9f7;
$custom-dark: #000000;
JSON
{
  "hex": "#ca9bf3",
  "rgb": {
    "r": 202,
    "g": 155,
    "b": 243
  },
  "hsl": {
    "h": 272.045,
    "s": 78.571,
    "l": 78.039
  },
  "oklch": {
    "l": 0.76514,
    "c": 0.13164,
    "h": 308.1
  },
  "luminance": 0.4247
}

Semantic roles & 50–950 ramp

primary
#CA9BF3
secondary
#E5F4D7
accent
#DB0B6C
background
#FDFBFF
surface
#FBF6FE
border
#D4D0D6
text
#151117
muted
#838085

Preview Lab

Preview with #CA9BF3

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

Preview Lab → · Contrast checker → · Palette generator →

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