#CCABDD#CCABDD

#CCABDD is a light, moderate violet. Relative luminance 0.472; OKLCH L 78.7% C 0.078 H 314.1°. Best body text is #000000 at 10.44:1 contrast (WCAG AA passes).

Color values

HEX#CCABDD
RGBrgb(204, 171, 221)
HSLhsl(280, 42%, 77%)
HSVhsv(280, 23%, 87%)
CMYKcmyk(7.7%, 22.6%, 0%, 13.3%)
CIE-LABlab(74.31, 21.02, -20.72)
CIE-LCHlch(74.31, 29.52, 315.42°)
OKLaboklab(78.67% 0.0544 -0.0562)
OKLCHoklch(78.67% 0.078 314.1)
XYZxyz(52.5138, 47.1843, 74.7336)
Luminance0.4718 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCABDD #BCDDAB
analogous
#B3ABDD #CCABDD #DDABD5
triadic
#CCABDD #DDCCAB #ABDDCC
tetradic
#CCABDD #DDB3AB #BCDDAB #ABD5DD
square
#CCABDD #DDB3AB #BCDDAB #ABD5DD
split-complementary
#CCABDD #D5DDAB #ABDDB3
monochromatic
#9754BA #B27FCB #CCABDD #E6D7EF #F2E9F6

Accessibility & contrast

On white

2.01
#CCABDD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.44
#CCABDD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCABDD
10.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCABDD#FFFFFF#000000##000000
##CCABDD1.002.0110.4410.44
#FFFFFF2.011.0021.0021.00
#00000010.4421.001.001.00
##00000010.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A4B5DF
Deuteranopia (green-blind)
#ABB8DB
Tritanopia (blue-blind)
#CBB1BC
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #ccabdd;
/* rgb */ color: rgb(204, 171, 221);
/* oklch */ color: oklch(78.7% 0.078 314.1);
Tailwind
colors: {
  custom: {
    50: '#dcc4e7',
    500: '#ccabdd',
    950: '#000000',
  },
}
SCSS
$custom: #ccabdd;
$custom-light: #dcc4e7;
$custom-dark: #000000;
JSON
{
  "hex": "#ccabdd",
  "rgb": {
    "r": 204,
    "g": 171,
    "b": 221
  },
  "hsl": {
    "h": 279.6,
    "s": 42.373,
    "l": 76.863
  },
  "oklch": {
    "l": 0.78666,
    "c": 0.07818,
    "h": 314.1
  },
  "luminance": 0.47184
}

Semantic roles & 50–950 ramp

primary
#CCABDD
secondary
#E3EDDE
accent
#B5305D
background
#FDFCFE
surface
#FBF8FC
border
#D4D1D5
text
#151216
muted
#838184

Preview Lab

Preview with #CCABDD

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

Preview Lab → · Contrast checker → · Palette generator →

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