#CCB1DF#CCB1DF

#CCB1DF is a light, moderate violet. Relative luminance 0.496; OKLCH L 79.9% C 0.070 H 311.2°. Best body text is #000000 at 10.92:1 contrast (WCAG AA passes).

Color values

HEX#CCB1DF
RGBrgb(204, 177, 223)
HSLhsl(275, 42%, 78%)
HSVhsv(275, 21%, 87%)
CMYKcmyk(8.5%, 20.6%, 0%, 12.5%)
CIE-LABlab(75.83, 18.15, -19.50)
CIE-LCHlch(75.83, 26.64, 312.95°)
OKLaboklab(79.86% 0.0462 -0.0528)
OKLCHoklch(79.86% 0.07 311.2)
XYZxyz(53.9410, 49.6098, 76.5317)
Luminance0.4961 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB1DF #C4DFB1
analogous
#B5B1DF #CCB1DF #DFB1DB
triadic
#CCB1DF #DFCCB1 #B1DFCC
tetradic
#CCB1DF #DFB5B1 #C4DFB1 #B1DBDF
square
#CCB1DF #DFB5B1 #C4DFB1 #B1DBDF
split-complementary
#CCB1DF #DBDFB1 #B1DFB5
monochromatic
#935ABB #B086CD #CCB1DF #E8DCF1 #F1E9F6

Accessibility & contrast

On white

1.92
#CCB1DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.92
#CCB1DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCB1DF
10.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCB1DF#FFFFFF#000000##000000
##CCB1DF1.001.9210.9210.92
#FFFFFF1.921.0021.0021.00
#00000010.9221.001.001.00
##00000010.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AAB9E1
Deuteranopia (green-blind)
#B0BBDD
Tritanopia (blue-blind)
#CAB7C1
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #ccb1df;
/* rgb */ color: rgb(204, 177, 223);
/* oklch */ color: oklch(79.9% 0.070 311.2);
Tailwind
colors: {
  custom: {
    50: '#dbc8e9',
    500: '#ccb1df',
    950: '#000000',
  },
}
SCSS
$custom: #ccb1df;
$custom-light: #dbc8e9;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb1df",
  "rgb": {
    "r": 204,
    "g": 177,
    "b": 223
  },
  "hsl": {
    "h": 275.217,
    "s": 41.818,
    "l": 78.431
  },
  "oklch": {
    "l": 0.79862,
    "c": 0.07015,
    "h": 311.2
  },
  "luminance": 0.49609
}

Semantic roles & 50–950 ramp

primary
#CCB1DF
secondary
#E4EDDE
accent
#B53167
background
#FDFCFE
surface
#FBF8FC
border
#D4D1D5
text
#151316
muted
#838284

Preview Lab

Preview with #CCB1DF

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

Preview Lab → · Contrast checker → · Palette generator →

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