#CCA4FF#CCA4FF

#CCA4FF is a light, vivid violet. Relative luminance 0.466; OKLCH L 78.8% C 0.132 H 303.7°. Best body text is #000000 at 10.32:1 contrast (WCAG AA passes).

Color values

HEX#CCA4FF
RGBrgb(204, 164, 255)
HSLhsl(266, 100%, 82%)
HSVhsv(266, 36%, 100%)
CMYKcmyk(20%, 35.7%, 0%, 0%)
CIE-LABlab(73.94, 32.06, -39.74)
CIE-LCHlch(73.94, 51.06, 308.89°)
OKLaboklab(78.81% 0.0735 -0.11)
OKLCHoklch(78.81% 0.132 303.7)
XYZxyz(56.2236, 46.6084, 100.6227)
Luminance0.4661 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCA4FF #D7FFA4
analogous
#A4AAFF #CCA4FF #FAA4FF
triadic
#CCA4FF #FFCCA4 #A4FFCC
tetradic
#CCA4FF #FFA4AA #D7FFA4 #A4FFFA
square
#CCA4FF #FFA4AA #D7FFA4 #A4FFFA
split-complementary
#CCA4FF #FFFAA4 #AAFFA4
monochromatic
#872AFF #AA67FF #CCA4FF #EEE0FF #EEE0FF

Accessibility & contrast

On white

2.03
#CCA4FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.32
#CCA4FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCA4FF
10.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCA4FF#FFFFFF#000000##000000
##CCA4FF1.002.0310.3210.32
#FFFFFF2.031.0021.0021.00
#00000010.3221.001.001.00
##00000010.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#90B5FF
Deuteranopia (green-blind)
#98B6FC
Tritanopia (blue-blind)
#C4B2C6
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #cca4ff;
/* rgb */ color: rgb(204, 164, 255);
/* oklch */ color: oklch(78.8% 0.132 303.7);
Tailwind
colors: {
  custom: {
    50: '#ddbfff',
    500: '#cca4ff',
    950: '#000000',
  },
}
SCSS
$custom: #cca4ff;
$custom-light: #ddbfff;
$custom-dark: #000000;
JSON
{
  "hex": "#cca4ff",
  "rgb": {
    "r": 204,
    "g": 164,
    "b": 255
  },
  "hsl": {
    "h": 266.374,
    "s": 100,
    "l": 82.157
  },
  "oklch": {
    "l": 0.78805,
    "c": 0.13231,
    "h": 303.7
  },
  "luminance": 0.46608
}

Semantic roles & 50–950 ramp

primary
#CCA4FF
secondary
#E8F7D4
accent
#E60081
background
#FDFBFF
surface
#FBF7FF
border
#D4D0D7
text
#151218
muted
#838186

Preview Lab

Preview with #CCA4FF

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

Preview Lab → · Contrast checker → · Palette generator →

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