#CCA1FA#CCA1FA

#CCA1FA is a light, vivid violet. Relative luminance 0.452; OKLCH L 78.1% C 0.131 H 305.8°. Best body text is #000000 at 10.05:1 contrast (WCAG AA passes).

Color values

HEX#CCA1FA
RGBrgb(204, 161, 250)
HSLhsl(269, 90%, 81%)
HSVhsv(269, 36%, 98%)
CMYKcmyk(18.4%, 35.6%, 0%, 2%)
CIE-LABlab(73.04, 32.60, -38.43)
CIE-LCHlch(73.04, 50.39, 310.30°)
OKLaboklab(78.06% 0.0765 -0.1063)
OKLCHoklch(78.06% 0.131 305.8)
XYZxyz(54.8986, 45.2295, 96.2620)
Luminance0.4523 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCA1FA #CFFAA1
analogous
#A1A2FA #CCA1FA #F9A1FA
triadic
#CCA1FA #FACCA1 #A1FACC
tetradic
#CCA1FA #FAA1A2 #CFFAA1 #A1FAF9
square
#CCA1FA #FAA1A2 #CFFAA1 #A1FAF9
split-complementary
#CCA1FA #FAF9A1 #A2FAA1
monochromatic
#8D2DF4 #AC67F7 #CCA1FA #ECDBFD #EFE2FD

Accessibility & contrast

On white

2.09
#CCA1FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.05
#CCA1FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCA1FA
10.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCA1FA#FFFFFF#000000##000000
##CCA1FA1.002.0910.0510.05
#FFFFFF2.091.0021.0021.00
#00000010.0521.001.001.00
##00000010.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8EB2FD
Deuteranopia (green-blind)
#97B4F7
Tritanopia (blue-blind)
#C5AEC2
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #cca1fa;
/* rgb */ color: rgb(204, 161, 250);
/* oklch */ color: oklch(78.1% 0.131 305.8);
Tailwind
colors: {
  custom: {
    50: '#ddbdfc',
    500: '#cca1fa',
    950: '#000000',
  },
}
SCSS
$custom: #cca1fa;
$custom-light: #ddbdfc;
$custom-dark: #000000;
JSON
{
  "hex": "#cca1fa",
  "rgb": {
    "r": 204,
    "g": 161,
    "b": 250
  },
  "hsl": {
    "h": 268.989,
    "s": 89.899,
    "l": 80.588
  },
  "oklch": {
    "l": 0.78056,
    "c": 0.13096,
    "h": 305.8
  },
  "luminance": 0.45229
}

Semantic roles & 50–950 ramp

primary
#CCA1FA
secondary
#E6F6D5
accent
#E60077
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151217
muted
#838185

Preview Lab

Preview with #CCA1FA

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

Preview Lab → · Contrast checker → · Palette generator →

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