#CCACFC#CCACFC

#CCACFC is a light, moderate violet. Relative luminance 0.494; OKLCH L 80.1% C 0.115 H 302.2°. Best body text is #000000 at 10.87:1 contrast (WCAG AA passes).

Color values

HEX#CCACFC
RGBrgb(204, 172, 252)
HSLhsl(264, 93%, 83%)
HSVhsv(264, 32%, 99%)
CMYKcmyk(19%, 31.7%, 0%, 1.2%)
CIE-LABlab(75.68, 27.01, -35.42)
CIE-LCHlch(75.68, 44.54, 307.33°)
OKLaboklab(80.1% 0.0616 -0.0977)
OKLCHoklch(80.1% 0.115 302.2)
XYZxyz(57.2214, 49.3707, 98.5915)
Luminance0.4937 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCACFC #DCFCAC
analogous
#ACB4FC #CCACFC #F4ACFC
triadic
#CCACFC #FCCCAC #ACFCCC
tetradic
#CCACFC #FCACB4 #DCFCAC #ACFCF4
square
#CCACFC #FCACB4 #DCFCAC #ACFCF4
split-complementary
#CCACFC #FCF4AC #B4FCAC
monochromatic
#8336F8 #A871FA #CCACFC #EDE1FE #EDE1FE

Accessibility & contrast

On white

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

On black

10.87
#CCACFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCACFC
10.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCACFC#FFFFFF#000000##000000
##CCACFC1.001.9310.8710.87
#FFFFFF1.931.0021.0021.00
#00000010.8721.001.001.00
##00000010.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9BBAFF
Deuteranopia (green-blind)
#A1BAFA
Tritanopia (blue-blind)
#C4B8C9
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #ccacfc;
/* rgb */ color: rgb(204, 172, 252);
/* oklch */ color: oklch(80.1% 0.115 302.2);
Tailwind
colors: {
  custom: {
    50: '#dcc5fd',
    500: '#ccacfc',
    950: '#000000',
  },
}
SCSS
$custom: #ccacfc;
$custom-light: #dcc5fd;
$custom-dark: #000000;
JSON
{
  "hex": "#ccacfc",
  "rgb": {
    "r": 204,
    "g": 172,
    "b": 252
  },
  "hsl": {
    "h": 264,
    "s": 93.023,
    "l": 83.137
  },
  "oklch": {
    "l": 0.80095,
    "c": 0.11549,
    "h": 302.2
  },
  "luminance": 0.49371
}

Semantic roles & 50–950 ramp

primary
#CCACFC
secondary
#E9F6D5
accent
#E6008A
background
#FDFCFF
surface
#FBF8FF
border
#D4D1D7
text
#151217
muted
#838185

Preview Lab

Preview with #CCACFC

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

Preview Lab → · Contrast checker → · Palette generator →

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