#CA9BF4#CA9BF4

#CA9BF4 is a light, vivid violet. Relative luminance 0.425; OKLCH L 76.6% C 0.133 H 307.8°. Best body text is #000000 at 9.51:1 contrast (WCAG AA passes).

Color values

HEX#CA9BF4
RGBrgb(202, 155, 244)
HSLhsl(272, 80%, 78%)
HSVhsv(272, 36%, 96%)
CMYKcmyk(17.2%, 36.5%, 0%, 4.3%)
CIE-LABlab(71.24, 33.98, -38.00)
CIE-LCHlch(71.24, 50.97, 311.81°)
OKLaboklab(76.56% 0.0814 -0.105)
OKLCHoklch(76.56% 0.133 307.8)
XYZxyz(52.4045, 42.5314, 91.0191)
Luminance0.4253 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA9BF4 #C5F49B
analogous
#9D9BF4 #CA9BF4 #F49BF2
triadic
#CA9BF4 #F4CA9B #9BF4CA
tetradic
#CA9BF4 #F49D9B #C5F49B #9BF2F4
square
#CA9BF4 #F49D9B #C5F49B #9BF2F4
split-complementary
#CA9BF4 #F2F49B #9BF49D
monochromatic
#902DE8 #AD64EE #CA9BF4 #E7D2FA #F0E3FC

Accessibility & contrast

On white

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

On black

9.51
#CA9BF4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA9BF4
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA9BF4#FFFFFF#000000##000000
##CA9BF41.002.219.519.51
#FFFFFF2.211.0021.0021.00
#0000009.5121.001.001.00
##0000009.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#89ACF7
Deuteranopia (green-blind)
#93AFF1
Tritanopia (blue-blind)
#C4A8BC
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #ca9bf4;
/* rgb */ color: rgb(202, 155, 244);
/* oklch */ color: oklch(76.6% 0.133 307.8);
Tailwind
colors: {
  custom: {
    50: '#dbb9f8',
    500: '#ca9bf4',
    950: '#000000',
  },
}
SCSS
$custom: #ca9bf4;
$custom-light: #dbb9f8;
$custom-dark: #000000;
JSON
{
  "hex": "#ca9bf4",
  "rgb": {
    "r": 202,
    "g": 155,
    "b": 244
  },
  "hsl": {
    "h": 271.685,
    "s": 80.18,
    "l": 78.235
  },
  "oklch": {
    "l": 0.76559,
    "c": 0.13287,
    "h": 307.8
  },
  "luminance": 0.42531
}

Semantic roles & 50–950 ramp

primary
#CA9BF4
secondary
#E5F4D7
accent
#DD096D
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151117
muted
#838085

Preview Lab

Preview with #CA9BF4

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

Preview Lab → · Contrast checker → · Palette generator →

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