#CCACFE#CCACFE

#CCACFE is a light, moderate violet. Relative luminance 0.495; OKLCH L 80.2% C 0.118 H 301.7°. Best body text is #000000 at 10.90:1 contrast (WCAG AA passes).

Color values

HEX#CCACFE
RGBrgb(204, 172, 254)
HSLhsl(263, 98%, 84%)
HSVhsv(263, 32%, 100%)
CMYKcmyk(19.7%, 32.3%, 0%, 0.4%)
CIE-LABlab(75.76, 27.46, -36.37)
CIE-LCHlch(75.76, 45.57, 307.05°)
OKLaboklab(80.18% 0.0621 -0.1004)
OKLCHoklch(80.18% 0.118 301.7)
XYZxyz(57.5400, 49.4981, 100.2695)
Luminance0.4950 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCACFE #DEFEAC
analogous
#ACB5FE #CCACFE #F5ACFE
triadic
#CCACFE #FECCAC #ACFECC
tetradic
#CCACFE #FEACB5 #DEFEAC #ACFEF5
square
#CCACFE #FEACB5 #DEFEAC #ACFEF5
split-complementary
#CCACFE #FEF5AC #B5FEAC
monochromatic
#8233FD #A770FD #CCACFE #ECE1FF #ECE1FF

Accessibility & contrast

On white

1.93
#CCACFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.90
#CCACFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCACFE
10.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCACFE#FFFFFF#000000##000000
##CCACFE1.001.9310.9010.90
#FFFFFF1.931.0021.0021.00
#00000010.9021.001.001.00
##00000010.9021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ccacfe;
/* rgb */ color: rgb(204, 172, 254);
/* oklch */ color: oklch(80.2% 0.118 301.7);
Tailwind
colors: {
  custom: {
    50: '#dcc5ff',
    500: '#ccacfe',
    950: '#000000',
  },
}
SCSS
$custom: #ccacfe;
$custom-light: #dcc5ff;
$custom-dark: #000000;
JSON
{
  "hex": "#ccacfe",
  "rgb": {
    "r": 204,
    "g": 172,
    "b": 254
  },
  "hsl": {
    "h": 263.415,
    "s": 97.619,
    "l": 83.529
  },
  "oklch": {
    "l": 0.80181,
    "c": 0.11807,
    "h": 301.7
  },
  "luminance": 0.49498
}

Semantic roles & 50–950 ramp

primary
#CCACFE
secondary
#E9F7D4
accent
#E6008C
background
#FDFCFF
surface
#FBF8FF
border
#D4D1D7
text
#151218
muted
#838186

Preview Lab

Preview with #CCACFE

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

Preview Lab → · Contrast checker → · Palette generator →

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