#CCB3FC#CCB3FC

#CCB3FC is a light, moderate violet. Relative luminance 0.521; OKLCH L 81.4% C 0.104 H 299.8°. Best body text is #000000 at 11.42:1 contrast (WCAG AA passes).

Color values

HEX#CCB3FC
RGBrgb(204, 179, 252)
HSLhsl(261, 92%, 85%)
HSVhsv(261, 29%, 99%)
CMYKcmyk(19%, 29%, 0%, 1.2%)
CIE-LABlab(77.34, 23.18, -32.85)
CIE-LCHlch(77.34, 40.21, 305.21°)
OKLaboklab(81.37% 0.0518 -0.0904)
OKLCHoklch(81.37% 0.104 299.8)
XYZxyz(58.5889, 52.1057, 99.0473)
Luminance0.5211 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB3FC #E3FCB3
analogous
#B3BFFC #CCB3FC #F1B3FC
triadic
#CCB3FC #FCCCB3 #B3FCCC
tetradic
#CCB3FC #FCB3BF #E3FCB3 #B3FCF1
square
#CCB3FC #FCB3BF #E3FCB3 #B3FCF1
split-complementary
#CCB3FC #FCF1B3 #BFFCB3
monochromatic
#7D3DF7 #A478FA #CCB3FC #EBE2FE #EBE2FE

Accessibility & contrast

On white

1.84
#CCB3FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.42
#CCB3FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCB3FC
11.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCB3FC#FFFFFF#000000##000000
##CCB3FC1.001.8411.4211.42
#FFFFFF1.841.0021.0021.00
#00000011.4221.001.001.00
##00000011.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A3BFFF
Deuteranopia (green-blind)
#A7BFFA
Tritanopia (blue-blind)
#C4BECD
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #ccb3fc;
/* rgb */ color: rgb(204, 179, 252);
/* oklch */ color: oklch(81.4% 0.104 299.8);
Tailwind
colors: {
  custom: {
    50: '#dcc9fd',
    500: '#ccb3fc',
    950: '#000000',
  },
}
SCSS
$custom: #ccb3fc;
$custom-light: #dcc9fd;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb3fc",
  "rgb": {
    "r": 204,
    "g": 179,
    "b": 252
  },
  "hsl": {
    "h": 260.548,
    "s": 92.405,
    "l": 84.51
  },
  "oklch": {
    "l": 0.81369,
    "c": 0.10419,
    "h": 299.8
  },
  "luminance": 0.52106
}

Semantic roles & 50–950 ramp

primary
#CCB3FC
secondary
#BBE172
accent
#E60097
background
#FEFDFF
surface
#FCF9FF
border
#D5D2D7
text
#151317
muted
#848285

Preview Lab

Preview with #CCB3FC

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

Preview Lab → · Contrast checker → · Palette generator →

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