#CCABE3#CCABE3

#CCABE3 is a light, moderate violet. Relative luminance 0.475; OKLCH L 78.9% C 0.086 H 311.1°. Best body text is #000000 at 10.50:1 contrast (WCAG AA passes).

Color values

HEX#CCABE3
RGBrgb(204, 171, 227)
HSLhsl(275, 50%, 78%)
HSVhsv(275, 25%, 89%)
CMYKcmyk(10.1%, 24.7%, 0%, 11%)
CIE-LABlab(74.51, 22.24, -23.67)
CIE-LCHlch(74.51, 32.48, 313.22°)
OKLaboklab(78.89% 0.0562 -0.0644)
OKLCHoklch(78.89% 0.086 311.1)
XYZxyz(53.3275, 47.5098, 79.0191)
Luminance0.4751 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCABE3 #C2E3AB
analogous
#B0ABE3 #CCABE3 #E3ABDE
triadic
#CCABE3 #E3CCAB #ABE3CC
tetradic
#CCABE3 #E3B0AB #C2E3AB #ABDEE3
square
#CCABE3 #E3B0AB #C2E3AB #ABDEE3
split-complementary
#CCABE3 #DEE3AB #ABE3B0
monochromatic
#944FC4 #B07DD4 #CCABE3 #E8D9F2 #F1E8F7

Accessibility & contrast

On white

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

On black

10.50
#CCABE3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCABE3
10.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCABE3#FFFFFF#000000##000000
##CCABE31.002.0010.5010.50
#FFFFFF2.001.0021.0021.00
#00000010.5021.001.001.00
##00000010.5021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ccabe3;
/* rgb */ color: rgb(204, 171, 227);
/* oklch */ color: oklch(78.9% 0.086 311.1);
Tailwind
colors: {
  custom: {
    50: '#dcc4ec',
    500: '#ccabe3',
    950: '#000000',
  },
}
SCSS
$custom: #ccabe3;
$custom-light: #dcc4ec;
$custom-dark: #000000;
JSON
{
  "hex": "#ccabe3",
  "rgb": {
    "r": 204,
    "g": 171,
    "b": 227
  },
  "hsl": {
    "h": 275.357,
    "s": 50,
    "l": 78.039
  },
  "oklch": {
    "l": 0.78893,
    "c": 0.0855,
    "h": 311.1
  },
  "luminance": 0.47509
}

Semantic roles & 50–950 ramp

primary
#CCABE3
secondary
#E4EEDD
accent
#BD2865
background
#FDFCFE
surface
#FBF8FD
border
#D4D1D5
text
#151216
muted
#838184

Preview Lab

Preview with #CCABE3

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

Preview Lab → · Contrast checker → · Palette generator →

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