#CCB4FC#CCB4FC

#CCB4FC is a light, moderate violet. Relative luminance 0.525; OKLCH L 81.6% C 0.103 H 299.4°. Best body text is #000000 at 11.50:1 contrast (WCAG AA passes).

Color values

HEX#CCB4FC
RGBrgb(204, 180, 252)
HSLhsl(260, 92%, 85%)
HSVhsv(260, 29%, 99%)
CMYKcmyk(19%, 28.6%, 0%, 1.2%)
CIE-LABlab(77.58, 22.64, -32.48)
CIE-LCHlch(77.58, 39.59, 304.88°)
OKLaboklab(81.55% 0.0504 -0.0894)
OKLCHoklch(81.55% 0.103 299.4)
XYZxyz(58.7900, 52.5079, 99.1144)
Luminance0.5251 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB4FC #E4FCB4
analogous
#B4C0FC #CCB4FC #F0B4FC
triadic
#CCB4FC #FCCCB4 #B4FCCC
tetradic
#CCB4FC #FCB4C0 #E4FCB4 #B4FCF0
square
#CCB4FC #FCB4C0 #E4FCB4 #B4FCF0
split-complementary
#CCB4FC #FCF0B4 #C0FCB4
monochromatic
#7C3EF7 #A479FA #CCB4FC #EBE2FE #EBE2FE

Accessibility & contrast

On white

1.83
#CCB4FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.50
#CCB4FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCB4FC
11.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCB4FC#FFFFFF#000000##000000
##CCB4FC1.001.8311.5011.50
#FFFFFF1.831.0021.0021.00
#00000011.5021.001.001.00
##00000011.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A4C0FF
Deuteranopia (green-blind)
#A8BFFA
Tritanopia (blue-blind)
#C4BFCE
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #ccb4fc;
/* rgb */ color: rgb(204, 180, 252);
/* oklch */ color: oklch(81.6% 0.103 299.4);
Tailwind
colors: {
  custom: {
    50: '#dccafd',
    500: '#ccb4fc',
    950: '#000000',
  },
}
SCSS
$custom: #ccb4fc;
$custom-light: #dccafd;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb4fc",
  "rgb": {
    "r": 204,
    "g": 180,
    "b": 252
  },
  "hsl": {
    "h": 260,
    "s": 92.308,
    "l": 84.706
  },
  "oklch": {
    "l": 0.81553,
    "c": 0.1026,
    "h": 299.4
  },
  "luminance": 0.52508
}

Semantic roles & 50–950 ramp

primary
#CCB4FC
secondary
#BCE173
accent
#E60099
background
#FEFDFF
surface
#FCF9FF
border
#D5D2D7
text
#151317
muted
#848285

Preview Lab

Preview with #CCB4FC

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

Preview Lab → · Contrast checker → · Palette generator →

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