#CCABE1#CCABE1

#CCABE1 is a light, moderate violet. Relative luminance 0.474; OKLCH L 78.8% C 0.083 H 312.0°. Best body text is #000000 at 10.48:1 contrast (WCAG AA passes).

Color values

HEX#CCABE1
RGBrgb(204, 171, 225)
HSLhsl(277, 47%, 78%)
HSVhsv(277, 24%, 88%)
CMYKcmyk(9.3%, 24%, 0%, 11.8%)
CIE-LABlab(74.44, 21.83, -22.69)
CIE-LCHlch(74.44, 31.49, 313.90°)
OKLaboklab(78.82% 0.0556 -0.0617)
OKLCHoklch(78.82% 0.083 312)
XYZxyz(53.0531, 47.4000, 77.5738)
Luminance0.4740 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCABE1 #C0E1AB
analogous
#B1ABE1 #CCABE1 #E1ABDB
triadic
#CCABE1 #E1CCAB #ABE1CC
tetradic
#CCABE1 #E1B1AB #C0E1AB #ABDBE1
square
#CCABE1 #E1B1AB #C0E1AB #ABDBE1
split-complementary
#CCABE1 #DBE1AB #ABE1B1
monochromatic
#9551C1 #B17ED1 #CCABE1 #E7D8F1 #F1E8F7

Accessibility & contrast

On white

2.00
#CCABE1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.48
#CCABE1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCABE1
10.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCABE1#FFFFFF#000000##000000
##CCABE11.002.0010.4810.48
#FFFFFF2.001.0021.0021.00
#00000010.4821.001.001.00
##00000010.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A3B5E3
Deuteranopia (green-blind)
#AAB8DF
Tritanopia (blue-blind)
#CAB2BE
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #ccabe1;
/* rgb */ color: rgb(204, 171, 225);
/* oklch */ color: oklch(78.8% 0.083 312.0);
Tailwind
colors: {
  custom: {
    50: '#dcc4ea',
    500: '#ccabe1',
    950: '#000000',
  },
}
SCSS
$custom: #ccabe1;
$custom-light: #dcc4ea;
$custom-dark: #000000;
JSON
{
  "hex": "#ccabe1",
  "rgb": {
    "r": 204,
    "g": 171,
    "b": 225
  },
  "hsl": {
    "h": 276.667,
    "s": 47.368,
    "l": 77.647
  },
  "oklch": {
    "l": 0.78817,
    "c": 0.08303,
    "h": 312
  },
  "luminance": 0.47399
}

Semantic roles & 50–950 ramp

primary
#CCABE1
secondary
#E4EEDD
accent
#BB2B63
background
#FDFCFE
surface
#FBF8FD
border
#D4D1D5
text
#151216
muted
#838184

Preview Lab

Preview with #CCABE1

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

Preview Lab → · Contrast checker → · Palette generator →

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