#CCB3EA#CCB3EA

#CCB3EA is a light, moderate violet. Relative luminance 0.510; OKLCH L 80.7% C 0.081 H 305.3°. Best body text is #000000 at 11.20:1 contrast (WCAG AA passes).

Color values

HEX#CCB3EA
RGBrgb(204, 179, 234)
HSLhsl(267, 57%, 81%)
HSVhsv(267, 24%, 92%)
CMYKcmyk(12.8%, 23.5%, 0%, 8.2%)
CIE-LABlab(76.69, 19.32, -24.15)
CIE-LCHlch(76.69, 30.92, 308.66°)
OKLaboklab(80.65% 0.0467 -0.0658)
OKLCHoklch(80.65% 0.081 305.3)
XYZxyz(55.8704, 51.0183, 84.7301)
Luminance0.5102 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB3EA #D1EAB3
analogous
#B3B5EA #CCB3EA #E7B3EA
triadic
#CCB3EA #EACCB3 #B3EACC
tetradic
#CCB3EA #EAB3B5 #D1EAB3 #B3EAE7
square
#CCB3EA #EAB3B5 #D1EAB3 #B3EAE7
split-complementary
#CCB3EA #EAE7B3 #B5EAB3
monochromatic
#8C53D0 #AC83DD #CCB3EA #ECE3F7 #EFE7F8

Accessibility & contrast

On white

1.87
#CCB3EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.20
#CCB3EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCB3EA
11.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCB3EA#FFFFFF#000000##000000
##CCB3EA1.001.8711.2011.20
#FFFFFF1.871.0021.0021.00
#00000011.2021.001.001.00
##00000011.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A9BCEC
Deuteranopia (green-blind)
#AEBDE8
Tritanopia (blue-blind)
#C8BAC6
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #ccb3ea;
/* rgb */ color: rgb(204, 179, 234);
/* oklch */ color: oklch(80.7% 0.081 305.3);
Tailwind
colors: {
  custom: {
    50: '#dcc9f0',
    500: '#ccb3ea',
    950: '#000000',
  },
}
SCSS
$custom: #ccb3ea;
$custom-light: #dcc9f0;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb3ea",
  "rgb": {
    "r": 204,
    "g": 179,
    "b": 234
  },
  "hsl": {
    "h": 267.273,
    "s": 56.701,
    "l": 80.98
  },
  "oklch": {
    "l": 0.8065,
    "c": 0.08069,
    "h": 305.3
  },
  "luminance": 0.51018
}

Semantic roles & 50–950 ramp

primary
#CCB3EA
secondary
#A4C67B
accent
#C4217A
background
#FEFDFF
surface
#FCF9FE
border
#D5D2D6
text
#151316
muted
#848285

Preview Lab

Preview with #CCB3EA

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

Preview Lab → · Contrast checker → · Palette generator →

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