#CCB2EA#CCB2EA

#CCB2EA is a light, moderate violet. Relative luminance 0.506; OKLCH L 80.5% C 0.082 H 305.7°. Best body text is #000000 at 11.12:1 contrast (WCAG AA passes).

Color values

HEX#CCB2EA
RGBrgb(204, 178, 234)
HSLhsl(268, 57%, 81%)
HSVhsv(268, 24%, 92%)
CMYKcmyk(12.8%, 23.9%, 0%, 8.2%)
CIE-LABlab(76.45, 19.86, -24.52)
CIE-LCHlch(76.45, 31.55, 309.01°)
OKLaboklab(80.46% 0.0481 -0.0669)
OKLCHoklch(80.46% 0.082 305.7)
XYZxyz(55.6707, 50.6189, 84.6635)
Luminance0.5062 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB2EA #D0EAB2
analogous
#B2B4EA #CCB2EA #E8B2EA
triadic
#CCB2EA #EACCB2 #B2EACC
tetradic
#CCB2EA #EAB2B4 #D0EAB2 #B2EAE8
square
#CCB2EA #EAB2B4 #D0EAB2 #B2EAE8
split-complementary
#CCB2EA #EAE8B2 #B4EAB2
monochromatic
#8C52D0 #AC82DD #CCB2EA #ECE2F7 #EFE7F8

Accessibility & contrast

On white

1.89
#CCB2EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.12
#CCB2EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCB2EA
11.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCB2EA#FFFFFF#000000##000000
##CCB2EA1.001.8911.1211.12
#FFFFFF1.891.0021.0021.00
#00000011.1221.001.001.00
##00000011.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A8BCEC
Deuteranopia (green-blind)
#ADBDE8
Tritanopia (blue-blind)
#C8BAC5
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #ccb2ea;
/* rgb */ color: rgb(204, 178, 234);
/* oklch */ color: oklch(80.5% 0.082 305.7);
Tailwind
colors: {
  custom: {
    50: '#dcc9f0',
    500: '#ccb2ea',
    950: '#000000',
  },
}
SCSS
$custom: #ccb2ea;
$custom-light: #dcc9f0;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb2ea",
  "rgb": {
    "r": 204,
    "g": 178,
    "b": 234
  },
  "hsl": {
    "h": 267.857,
    "s": 57.143,
    "l": 80.784
  },
  "oklch": {
    "l": 0.80463,
    "c": 0.08238,
    "h": 305.7
  },
  "luminance": 0.50619
}

Semantic roles & 50–950 ramp

primary
#CCB2EA
secondary
#A3C67A
accent
#C52179
background
#FEFDFF
surface
#FCF9FE
border
#D5D2D6
text
#151316
muted
#848285

Preview Lab

Preview with #CCB2EA

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

Preview Lab → · Contrast checker → · Palette generator →

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