#CCABE8#CCABE8

#CCABE8 is a light, moderate violet. Relative luminance 0.478; OKLCH L 79.1% C 0.092 H 309.0°. Best body text is #000000 at 10.56:1 contrast (WCAG AA passes).

Color values

HEX#CCABE8
RGBrgb(204, 171, 232)
HSLhsl(272, 57%, 79%)
HSVhsv(272, 26%, 91%)
CMYKcmyk(12.1%, 26.3%, 0%, 9%)
CIE-LABlab(74.69, 23.27, -26.12)
CIE-LCHlch(74.69, 34.98, 311.70°)
OKLaboklab(79.09% 0.0577 -0.0713)
OKLCHoklch(79.09% 0.092 309)
XYZxyz(54.0276, 47.7898, 82.7064)
Luminance0.4779 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCABE8 #C7E8AB
analogous
#AEABE8 #CCABE8 #E8ABE6
triadic
#CCABE8 #E8CCAB #ABE8CC
tetradic
#CCABE8 #E8AEAB #C7E8AB #ABE6E8
square
#CCABE8 #E8AEAB #C7E8AB #ABE6E8
split-complementary
#CCABE8 #E6E8AB #ABE8AE
monochromatic
#924BCE #AF7BDB #CCABE8 #E9DBF5 #F0E7F8

Accessibility & contrast

On white

1.99
#CCABE8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.56
#CCABE8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCABE8
10.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCABE8#FFFFFF#000000##000000
##CCABE81.001.9910.5610.56
#FFFFFF1.991.0021.0021.00
#00000010.5621.001.001.00
##00000010.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A1B6EB
Deuteranopia (green-blind)
#A7B8E6
Tritanopia (blue-blind)
#C9B3C0
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #ccabe8;
/* rgb */ color: rgb(204, 171, 232);
/* oklch */ color: oklch(79.1% 0.092 309.0);
Tailwind
colors: {
  custom: {
    50: '#dcc4ef',
    500: '#ccabe8',
    950: '#000000',
  },
}
SCSS
$custom: #ccabe8;
$custom-light: #dcc4ef;
$custom-dark: #000000;
JSON
{
  "hex": "#ccabe8",
  "rgb": {
    "r": 204,
    "g": 171,
    "b": 232
  },
  "hsl": {
    "h": 272.459,
    "s": 57.009,
    "l": 79.02
  },
  "oklch": {
    "l": 0.79089,
    "c": 0.0917,
    "h": 309
  },
  "luminance": 0.47789
}

Semantic roles & 50–950 ramp

primary
#CCABE8
secondary
#E5F0DB
accent
#C5216C
background
#FDFCFE
surface
#FBF8FD
border
#D4D1D5
text
#151216
muted
#838184

Preview Lab

Preview with #CCABE8

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

Preview Lab → · Contrast checker → · Palette generator →

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