#CCBAEA#CCBAEA

#CCBAEA is a light, moderate violet. Relative luminance 0.539; OKLCH L 82.0% C 0.069 H 302.0°. Best body text is #000000 at 11.78:1 contrast (WCAG AA passes).

Color values

HEX#CCBAEA
RGBrgb(204, 186, 234)
HSLhsl(263, 53%, 82%)
HSVhsv(263, 21%, 92%)
CMYKcmyk(12.8%, 20.5%, 0%, 8.2%)
CIE-LABlab(78.40, 15.51, -21.55)
CIE-LCHlch(78.40, 26.55, 305.74°)
OKLaboklab(81.97% 0.0366 -0.0586)
OKLCHoklch(81.97% 0.069 302)
XYZxyz(57.3091, 53.8957, 85.2097)
Luminance0.5390 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCBAEA #D8EABA
analogous
#BAC0EA #CCBAEA #E4BAEA
triadic
#CCBAEA #EACCBA #BAEACC
tetradic
#CCBAEA #EABAC0 #D8EABA #BAEAE4
square
#CCBAEA #EABAC0 #D8EABA #BAEAE4
split-complementary
#CCBAEA #EAE4BA #C0EABA
monochromatic
#875CCD #A98BDC #CCBAEA #EEE8F8 #EEE8F8

Accessibility & contrast

On white

1.78
#CCBAEA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.78
#CCBAEA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCBAEA
11.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCBAEA#FFFFFF#000000##000000
##CCBAEA1.001.7811.7811.78
#FFFFFF1.781.0021.0021.00
#00000011.7821.001.001.00
##00000011.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B1C2EC
Deuteranopia (green-blind)
#B4C2E9
Tritanopia (blue-blind)
#C7C1CA
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #ccbaea;
/* rgb */ color: rgb(204, 186, 234);
/* oklch */ color: oklch(82.0% 0.069 302.0);
Tailwind
colors: {
  custom: {
    50: '#dccef0',
    500: '#ccbaea',
    950: '#000000',
  },
}
SCSS
$custom: #ccbaea;
$custom-light: #dccef0;
$custom-dark: #000000;
JSON
{
  "hex": "#ccbaea",
  "rgb": {
    "r": 204,
    "g": 186,
    "b": 234
  },
  "hsl": {
    "h": 262.5,
    "s": 53.333,
    "l": 82.353
  },
  "oklch": {
    "l": 0.81972,
    "c": 0.06908,
    "h": 302
  },
  "luminance": 0.53896
}

Semantic roles & 50–950 ramp

primary
#CCBAEA
secondary
#ADC682
accent
#C12586
background
#FEFEFF
surface
#FCFBFE
border
#D5D4D6
text
#151316
muted
#848385

Preview Lab

Preview with #CCBAEA

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

Preview Lab → · Contrast checker → · Palette generator →

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