#CCB2E2#CCB2E2

#CCB2E2 is a light, moderate violet. Relative luminance 0.502; OKLCH L 80.2% C 0.072 H 309.2°. Best body text is #000000 at 11.03:1 contrast (WCAG AA passes).

Color values

HEX#CCB2E2
RGBrgb(204, 178, 226)
HSLhsl(273, 45%, 79%)
HSVhsv(273, 21%, 89%)
CMYKcmyk(9.7%, 21.2%, 0%, 11.4%)
CIE-LABlab(76.17, 18.21, -20.60)
CIE-LCHlch(76.17, 27.50, 311.47°)
OKLaboklab(80.16% 0.0457 -0.0559)
OKLCHoklch(80.16% 0.072 309.2)
XYZxyz(54.5473, 50.1695, 78.7468)
Luminance0.5017 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB2E2 #C8E2B2
analogous
#B4B2E2 #CCB2E2 #E2B2E0
triadic
#CCB2E2 #E2CCB2 #B2E2CC
tetradic
#CCB2E2 #E2B4B2 #C8E2B2 #B2E0E2
square
#CCB2E2 #E2B4B2 #C8E2B2 #B2E0E2
split-complementary
#CCB2E2 #E0E2B2 #B2E2B4
monochromatic
#9159C1 #AF86D1 #CCB2E2 #E9DEF3 #F0E9F7

Accessibility & contrast

On white

1.90
#CCB2E2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.03
#CCB2E2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCB2E2
11.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCB2E2#FFFFFF#000000##000000
##CCB2E21.001.9011.0311.03
#FFFFFF1.901.0021.0021.00
#00000011.0321.001.001.00
##00000011.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#ABBBE4
Deuteranopia (green-blind)
#B0BCE0
Tritanopia (blue-blind)
#CAB8C2
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #ccb2e2;
/* rgb */ color: rgb(204, 178, 226);
/* oklch */ color: oklch(80.2% 0.072 309.2);
Tailwind
colors: {
  custom: {
    50: '#dcc9eb',
    500: '#ccb2e2',
    950: '#000000',
  },
}
SCSS
$custom: #ccb2e2;
$custom-light: #dcc9eb;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb2e2",
  "rgb": {
    "r": 204,
    "g": 178,
    "b": 226
  },
  "hsl": {
    "h": 272.5,
    "s": 45.283,
    "l": 79.216
  },
  "oklch": {
    "l": 0.80161,
    "c": 0.07218,
    "h": 309.2
  },
  "luminance": 0.50169
}

Semantic roles & 50–950 ramp

primary
#CCB2E2
secondary
#99BB7D
accent
#B82D6D
background
#FEFDFE
surface
#FCF9FD
border
#D5D2D5
text
#151316
muted
#848284

Preview Lab

Preview with #CCB2E2

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

Preview Lab → · Contrast checker → · Palette generator →

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