#CCACFD#CCACFD

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

Color values

HEX#CCACFD
RGBrgb(204, 172, 253)
HSLhsl(264, 95%, 83%)
HSVhsv(264, 32%, 99%)
CMYKcmyk(19.4%, 32%, 0%, 0.8%)
CIE-LABlab(75.72, 27.23, -35.90)
CIE-LCHlch(75.72, 45.06, 307.19°)
OKLaboklab(80.14% 0.0618 -0.0991)
OKLCHoklch(80.14% 0.117 302)
XYZxyz(57.3803, 49.4342, 99.4283)
Luminance0.4943 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCACFD #DDFDAC
analogous
#ACB4FD #CCACFD #F5ACFD
triadic
#CCACFD #FDCCAC #ACFDCC
tetradic
#CCACFD #FDACB4 #DDFDAC #ACFDF5
square
#CCACFD #FDACB4 #DDFDAC #ACFDF5
split-complementary
#CCACFD #FDF5AC #B4FDAC
monochromatic
#8334FA #A770FC #CCACFD #EDE1FE #EDE1FE

Accessibility & contrast

On white

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

On black

10.89
#CCACFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCACFD
10.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCACFD#FFFFFF#000000##000000
##CCACFD1.001.9310.8910.89
#FFFFFF1.931.0021.0021.00
#00000010.8921.001.001.00
##00000010.8921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ccacfd;
/* rgb */ color: rgb(204, 172, 253);
/* oklch */ color: oklch(80.1% 0.117 302.0);
Tailwind
colors: {
  custom: {
    50: '#dcc5fe',
    500: '#ccacfd',
    950: '#000000',
  },
}
SCSS
$custom: #ccacfd;
$custom-light: #dcc5fe;
$custom-dark: #000000;
JSON
{
  "hex": "#ccacfd",
  "rgb": {
    "r": 204,
    "g": 172,
    "b": 253
  },
  "hsl": {
    "h": 263.704,
    "s": 95.294,
    "l": 83.333
  },
  "oklch": {
    "l": 0.80138,
    "c": 0.11678,
    "h": 302
  },
  "luminance": 0.49434
}

Semantic roles & 50–950 ramp

primary
#CCACFD
secondary
#E9F7D4
accent
#E6008B
background
#FDFCFF
surface
#FBF8FF
border
#D4D1D7
text
#151218
muted
#838186

Preview Lab

Preview with #CCACFD

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

Preview Lab → · Contrast checker → · Palette generator →

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