#CCACFF#CCACFF

#CCACFF is a light, moderate violet. Relative luminance 0.496; OKLCH L 80.2% C 0.119 H 301.5°. Best body text is #000000 at 10.91:1 contrast (WCAG AA passes).

Color values

HEX#CCACFF
RGBrgb(204, 172, 255)
HSLhsl(263, 100%, 84%)
HSVhsv(263, 33%, 100%)
CMYKcmyk(20%, 32.5%, 0%, 0%)
CIE-LABlab(75.80, 27.68, -36.85)
CIE-LCHlch(75.80, 46.09, 306.91°)
OKLaboklab(80.22% 0.0623 -0.1018)
OKLCHoklch(80.22% 0.119 301.5)
XYZxyz(57.7005, 49.5623, 101.1150)
Luminance0.4956 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCACFF #DFFFAC
analogous
#ACB5FF #CCACFF #F6ACFF
triadic
#CCACFF #FFCCAC #ACFFCC
tetradic
#CCACFF #FFACB5 #DFFFAC #ACFFF6
square
#CCACFF #FFACB5 #DFFFAC #ACFFF6
split-complementary
#CCACFF #FFF6AC #B5FFAC
monochromatic
#8132FF #A66FFF #CCACFF #ECE0FF #ECE0FF

Accessibility & contrast

On white

1.92
#CCACFF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.91
#CCACFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCACFF
10.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCACFF#FFFFFF#000000##000000
##CCACFF1.001.9210.9110.91
#FFFFFF1.921.0021.0021.00
#00000010.9121.001.001.00
##00000010.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9ABAFF
Deuteranopia (green-blind)
#9FBAFD
Tritanopia (blue-blind)
#C3B9CA
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #ccacff;
/* rgb */ color: rgb(204, 172, 255);
/* oklch */ color: oklch(80.2% 0.119 301.5);
Tailwind
colors: {
  custom: {
    50: '#dcc5ff',
    500: '#ccacff',
    950: '#000000',
  },
}
SCSS
$custom: #ccacff;
$custom-light: #dcc5ff;
$custom-dark: #000000;
JSON
{
  "hex": "#ccacff",
  "rgb": {
    "r": 204,
    "g": 172,
    "b": 255
  },
  "hsl": {
    "h": 263.133,
    "s": 100,
    "l": 83.725
  },
  "oklch": {
    "l": 0.80224,
    "c": 0.11935,
    "h": 301.5
  },
  "luminance": 0.49562
}

Semantic roles & 50–950 ramp

primary
#CCACFF
secondary
#EAF7D4
accent
#E6008D
background
#FDFCFF
surface
#FBF8FF
border
#D4D1D7
text
#151218
muted
#838186

Preview Lab

Preview with #CCACFF

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

Preview Lab → · Contrast checker → · Palette generator →

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