#CCACF9#CCACF9

#CCACF9 is a light, moderate violet. Relative luminance 0.492; OKLCH L 80.0% C 0.112 H 303.0°. Best body text is #000000 at 10.84:1 contrast (WCAG AA passes).

Color values

HEX#CCACF9
RGBrgb(204, 172, 249)
HSLhsl(265, 87%, 83%)
HSVhsv(265, 31%, 98%)
CMYKcmyk(18.1%, 30.9%, 0%, 2.4%)
CIE-LABlab(75.56, 26.35, -33.98)
CIE-LCHlch(75.56, 43.00, 307.80°)
OKLaboklab(79.97% 0.0608 -0.0936)
OKLCHoklch(79.97% 0.112 303)
XYZxyz(56.7497, 49.1820, 96.1075)
Luminance0.4918 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCACF9 #D9F9AC
analogous
#ACB2F9 #CCACF9 #F2ACF9
triadic
#CCACF9 #F9CCAC #ACF9CC
tetradic
#CCACF9 #F9ACB2 #D9F9AC #ACF9F2
square
#CCACF9 #F9ACB2 #D9F9AC #ACF9F2
split-complementary
#CCACF9 #F9F2AC #B2F9AC
monochromatic
#863AF1 #A973F5 #CCACF9 #EDE2FD #EDE2FD

Accessibility & contrast

On white

1.94
#CCACF9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.84
#CCACF9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCACF9
10.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCACF9#FFFFFF#000000##000000
##CCACF91.001.9410.8410.84
#FFFFFF1.941.0021.0021.00
#00000010.8421.001.001.00
##00000010.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9CB9FC
Deuteranopia (green-blind)
#A2BAF7
Tritanopia (blue-blind)
#C5B8C8
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #ccacf9;
/* rgb */ color: rgb(204, 172, 249);
/* oklch */ color: oklch(80.0% 0.112 303.0);
Tailwind
colors: {
  custom: {
    50: '#dcc5fb',
    500: '#ccacf9',
    950: '#000000',
  },
}
SCSS
$custom: #ccacf9;
$custom-light: #dcc5fb;
$custom-dark: #000000;
JSON
{
  "hex": "#ccacf9",
  "rgb": {
    "r": 204,
    "g": 172,
    "b": 249
  },
  "hsl": {
    "h": 264.935,
    "s": 86.517,
    "l": 82.549
  },
  "oklch": {
    "l": 0.79967,
    "c": 0.11164,
    "h": 303
  },
  "luminance": 0.49182
}

Semantic roles & 50–950 ramp

primary
#CCACF9
secondary
#E8F5D6
accent
#E30286
background
#FDFCFF
surface
#FBF8FF
border
#D4D1D7
text
#151217
muted
#838185

Preview Lab

Preview with #CCACF9

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

Preview Lab → · Contrast checker → · Palette generator →

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