#CA9CFB#CA9CFB

#CA9CFB is a light, vivid violet. Relative luminance 0.433; OKLCH L 77.1% C 0.140 H 305.6°. Best body text is #000000 at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#CA9CFB
RGBrgb(202, 156, 251)
HSLhsl(269, 92%, 80%)
HSVhsv(269, 38%, 98%)
CMYKcmyk(19.5%, 37.8%, 0%, 1.6%)
CIE-LABlab(71.76, 34.97, -40.99)
CIE-LCHlch(71.76, 53.88, 310.47°)
OKLaboklab(77.05% 0.0815 -0.1136)
OKLCHoklch(77.05% 0.14 305.6)
XYZxyz(53.6547, 43.2988, 96.7790)
Luminance0.4330 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA9CFB #CDFB9C
analogous
#9C9DFB #CA9CFB #FA9CFB
triadic
#CA9CFB #FBCA9C #9CFBCA
tetradic
#CA9CFB #FB9C9D #CDFB9C #9CFBFA
square
#CA9CFB #FB9C9D #CDFB9C #9CFBFA
split-complementary
#CA9CFB #FBFA9C #9DFB9C
monochromatic
#8B26F6 #AB61F9 #CA9CFB #E9D7FD #EFE2FE

Accessibility & contrast

On white

2.17
#CA9CFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.66
#CA9CFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA9CFB
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA9CFB#FFFFFF#000000##000000
##CA9CFB1.002.179.669.66
#FFFFFF2.171.0021.0021.00
#0000009.6621.001.001.00
##0000009.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#87AEFF
Deuteranopia (green-blind)
#91B0F8
Tritanopia (blue-blind)
#C3ABC0
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #ca9cfb;
/* rgb */ color: rgb(202, 156, 251);
/* oklch */ color: oklch(77.1% 0.140 305.6);
Tailwind
colors: {
  custom: {
    50: '#dbb9fd',
    500: '#ca9cfb',
    950: '#000000',
  },
}
SCSS
$custom: #ca9cfb;
$custom-light: #dbb9fd;
$custom-dark: #000000;
JSON
{
  "hex": "#ca9cfb",
  "rgb": {
    "r": 202,
    "g": 156,
    "b": 251
  },
  "hsl": {
    "h": 269.053,
    "s": 92.233,
    "l": 79.804
  },
  "oklch": {
    "l": 0.77051,
    "c": 0.13981,
    "h": 305.6
  },
  "luminance": 0.43299
}

Semantic roles & 50–950 ramp

primary
#CA9CFB
secondary
#E6F6D5
accent
#E60076
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151117
muted
#838085

Preview Lab

Preview with #CA9CFB

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

Preview Lab → · Contrast checker → · Palette generator →

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