#CCABFD#CCABFD

#CCABFD is a light, moderate violet. Relative luminance 0.491; OKLCH L 80.0% C 0.118 H 302.3°. Best body text is #000000 at 10.81:1 contrast (WCAG AA passes).

Color values

HEX#CCABFD
RGBrgb(204, 171, 253)
HSLhsl(264, 95%, 83%)
HSVhsv(264, 32%, 99%)
CMYKcmyk(19.4%, 32.4%, 0%, 0.8%)
CIE-LABlab(75.49, 27.78, -36.26)
CIE-LCHlch(75.49, 45.68, 307.46°)
OKLaboklab(79.96% 0.0632 -0.1001)
OKLCHoklch(79.96% 0.118 302.3)
XYZxyz(57.1907, 49.0550, 99.3651)
Luminance0.4905 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCABFD #DCFDAB
analogous
#ABB3FD #CCABFD #F5ABFD
triadic
#CCABFD #FDCCAB #ABFDCC
tetradic
#CCABFD #FDABB3 #DCFDAB #ABFDF5
square
#CCABFD #FDABB3 #DCFDAB #ABFDF5
split-complementary
#CCABFD #FDF5AB #B3FDAB
monochromatic
#8333FA #A86FFC #CCABFD #EDE1FE #EDE1FE

Accessibility & contrast

On white

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

On black

10.81
#CCABFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCABFD
10.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCABFD#FFFFFF#000000##000000
##CCABFD1.001.9410.8110.81
#FFFFFF1.941.0021.0021.00
#00000010.8121.001.001.00
##00000010.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#99B9FF
Deuteranopia (green-blind)
#9FBAFB
Tritanopia (blue-blind)
#C4B8C9
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #ccabfd;
/* rgb */ color: rgb(204, 171, 253);
/* oklch */ color: oklch(80.0% 0.118 302.3);
Tailwind
colors: {
  custom: {
    50: '#dcc4fe',
    500: '#ccabfd',
    950: '#000000',
  },
}
SCSS
$custom: #ccabfd;
$custom-light: #dcc4fe;
$custom-dark: #000000;
JSON
{
  "hex": "#ccabfd",
  "rgb": {
    "r": 204,
    "g": 171,
    "b": 253
  },
  "hsl": {
    "h": 264.146,
    "s": 95.349,
    "l": 83.137
  },
  "oklch": {
    "l": 0.79958,
    "c": 0.1184,
    "h": 302.3
  },
  "luminance": 0.49055
}

Semantic roles & 50–950 ramp

primary
#CCABFD
secondary
#E9F7D4
accent
#E60089
background
#FDFCFF
surface
#FBF8FF
border
#D4D1D7
text
#151218
muted
#838186

Preview Lab

Preview with #CCABFD

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

Preview Lab → · Contrast checker → · Palette generator →

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