#CA9CFF#CA9CFF

#CA9CFF is a light, vivid violet. Relative luminance 0.436; OKLCH L 77.2% C 0.145 H 304.6°. Best body text is #000000 at 9.71:1 contrast (WCAG AA passes).

Color values

HEX#CA9CFF
RGBrgb(202, 156, 255)
HSLhsl(268, 100%, 81%)
HSVhsv(268, 39%, 100%)
CMYKcmyk(20.8%, 38.8%, 0%, 0%)
CIE-LABlab(71.93, 35.86, -42.89)
CIE-LCHlch(71.93, 55.90, 309.89°)
OKLaboklab(77.24% 0.0823 -0.1191)
OKLCHoklch(77.24% 0.145 304.6)
XYZxyz(54.2919, 43.5537, 100.1349)
Luminance0.4355 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA9CFF #D1FF9C
analogous
#9C9FFF #CA9CFF #FC9CFF
triadic
#CA9CFF #FFCA9C #9CFFCA
tetradic
#CA9CFF #FF9C9F #D1FF9C #9CFFFC
square
#CA9CFF #FF9C9F #D1FF9C #9CFFFC
split-complementary
#CA9CFF #FFFC9C #9FFF9C
monochromatic
#8822FF #A95FFF #CA9CFF #EBD9FF #EFE0FF

Accessibility & contrast

On white

2.16
#CA9CFF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.71
#CA9CFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA9CFF
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA9CFF#FFFFFF#000000##000000
##CA9CFF1.002.169.719.71
#FFFFFF2.161.0021.0021.00
#0000009.7121.001.001.00
##0000009.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#85AFFF
Deuteranopia (green-blind)
#8FB0FC
Tritanopia (blue-blind)
#C2ACC2
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #ca9cff;
/* rgb */ color: rgb(202, 156, 255);
/* oklch */ color: oklch(77.2% 0.145 304.6);
Tailwind
colors: {
  custom: {
    50: '#dbbaff',
    500: '#ca9cff',
    950: '#000000',
  },
}
SCSS
$custom: #ca9cff;
$custom-light: #dbbaff;
$custom-dark: #000000;
JSON
{
  "hex": "#ca9cff",
  "rgb": {
    "r": 202,
    "g": 156,
    "b": 255
  },
  "hsl": {
    "h": 267.879,
    "s": 100,
    "l": 80.588
  },
  "oklch": {
    "l": 0.77238,
    "c": 0.14476,
    "h": 304.6
  },
  "luminance": 0.43553
}

Semantic roles & 50–950 ramp

primary
#CA9CFF
secondary
#E7F7D4
accent
#E6007B
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151118
muted
#838086

Preview Lab

Preview with #CA9CFF

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

Preview Lab → · Contrast checker → · Palette generator →

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