#CCB4DF#CCB4DF

#CCB4DF is a light, moderate violet. Relative luminance 0.508; OKLCH L 80.4% C 0.065 H 310.0°. Best body text is #000000 at 11.16:1 contrast (WCAG AA passes).

Color values

HEX#CCB4DF
RGBrgb(204, 180, 223)
HSLhsl(273, 40%, 79%)
HSVhsv(273, 19%, 87%)
CMYKcmyk(8.5%, 19.3%, 0%, 12.5%)
CIE-LABlab(76.56, 16.52, -18.39)
CIE-LCHlch(76.56, 24.72, 311.93°)
OKLaboklab(80.43% 0.0418 -0.0497)
OKLCHoklch(80.43% 0.065 310)
XYZxyz(54.5401, 50.8080, 76.7314)
Luminance0.5081 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB4DF #C7DFB4
analogous
#B7B4DF #CCB4DF #DFB4DD
triadic
#CCB4DF #DFCCB4 #B4DFCC
tetradic
#CCB4DF #DFB7B4 #C7DFB4 #B4DDDF
square
#CCB4DF #DFB7B4 #C7DFB4 #B4DDDF
split-complementary
#CCB4DF #DDDFB4 #B4DFB7
monochromatic
#925EBA #AF89CD #CCB4DF #E9DFF1 #F0EAF6

Accessibility & contrast

On white

1.88
#CCB4DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.16
#CCB4DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCB4DF
11.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCB4DF#FFFFFF#000000##000000
##CCB4DF1.001.8811.1611.16
#FFFFFF1.881.0021.0021.00
#00000011.1621.001.001.00
##00000011.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AEBCE1
Deuteranopia (green-blind)
#B2BDDE
Tritanopia (blue-blind)
#CAB9C3
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #ccb4df;
/* rgb */ color: rgb(204, 180, 223);
/* oklch */ color: oklch(80.4% 0.065 310.0);
Tailwind
colors: {
  custom: {
    50: '#dbcae9',
    500: '#ccb4df',
    950: '#000000',
  },
}
SCSS
$custom: #ccb4df;
$custom-light: #dbcae9;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb4df",
  "rgb": {
    "r": 204,
    "g": 180,
    "b": 223
  },
  "hsl": {
    "h": 273.488,
    "s": 40.187,
    "l": 79.02
  },
  "oklch": {
    "l": 0.80429,
    "c": 0.06497,
    "h": 310
  },
  "luminance": 0.50808
}

Semantic roles & 50–950 ramp

primary
#CCB4DF
secondary
#98B880
accent
#B3326B
background
#FEFDFE
surface
#FCF9FC
border
#D5D2D5
text
#151316
muted
#848284

Preview Lab

Preview with #CCB4DF

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

Preview Lab → · Contrast checker → · Palette generator →

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