#CCBAFE#CCBAFE

#CCBAFE is a very light, moderate violet. Relative luminance 0.551; OKLCH L 82.7% C 0.096 H 296.4°. Best body text is #000000 at 12.02:1 contrast (WCAG AA passes).

Color values

HEX#CCBAFE
RGBrgb(204, 186, 254)
HSLhsl(256, 97%, 86%)
HSVhsv(256, 27%, 100%)
CMYKcmyk(19.7%, 26.8%, 0%, 0.4%)
CIE-LABlab(79.10, 19.81, -31.21)
CIE-LCHlch(79.10, 36.96, 302.40°)
OKLaboklab(82.75% 0.0426 -0.0858)
OKLCHoklch(82.75% 0.096 296.4)
XYZxyz(60.3462, 55.1105, 101.2048)
Luminance0.5511 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCBAFE #ECFEBA
analogous
#BACAFE #CCBAFE #EEBAFE
triadic
#CCBAFE #FECCBA #BAFECC
tetradic
#CCBAFE #FEBACA #ECFEBA #BAFEEE
square
#CCBAFE #FEBACA #ECFEBA #BAFEEE
split-complementary
#CCBAFE #FEEEBA #CAFEBA
monochromatic
#7341FC #9F7EFD #CCBAFE #E9E1FF #E9E1FF

Accessibility & contrast

On white

1.75
#CCBAFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.02
#CCBAFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCBAFE
12.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCBAFE#FFFFFF#000000##000000
##CCBAFE1.001.7512.0212.02
#FFFFFF1.751.0021.0021.00
#00000012.0221.001.001.00
##00000012.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#ABC4FF
Deuteranopia (green-blind)
#ADC3FC
Tritanopia (blue-blind)
#C3C5D2
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #ccbafe;
/* rgb */ color: rgb(204, 186, 254);
/* oklch */ color: oklch(82.7% 0.096 296.4);
Tailwind
colors: {
  custom: {
    50: '#dcceff',
    500: '#ccbafe',
    950: '#000000',
  },
}
SCSS
$custom: #ccbafe;
$custom-light: #dcceff;
$custom-dark: #000000;
JSON
{
  "hex": "#ccbafe",
  "rgb": {
    "r": 204,
    "g": 186,
    "b": 254
  },
  "hsl": {
    "h": 255.882,
    "s": 97.143,
    "l": 86.275
  },
  "oklch": {
    "l": 0.82749,
    "c": 0.09578,
    "h": 296.4
  },
  "luminance": 0.55111
}

Semantic roles & 50–950 ramp

primary
#CCBAFE
secondary
#C8E577
accent
#E600A9
background
#FEFEFF
surface
#FCFBFF
border
#D5D4D7
text
#151318
muted
#848386

Preview Lab

Preview with #CCBAFE

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

Preview Lab → · Contrast checker → · Palette generator →

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