#CCB5FC#CCB5FC

#CCB5FC is a light, moderate violet. Relative luminance 0.529; OKLCH L 81.7% C 0.101 H 299.0°. Best body text is #000000 at 11.58:1 contrast (WCAG AA passes).

Color values

HEX#CCB5FC
RGBrgb(204, 181, 252)
HSLhsl(259, 92%, 85%)
HSVhsv(259, 28%, 99%)
CMYKcmyk(19%, 28.2%, 0%, 1.2%)
CIE-LABlab(77.82, 22.09, -32.11)
CIE-LCHlch(77.82, 38.97, 304.53°)
OKLaboklab(81.74% 0.049 -0.0883)
OKLCHoklch(81.74% 0.101 299)
XYZxyz(58.9926, 52.9132, 99.1819)
Luminance0.5291 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB5FC #E5FCB5
analogous
#B5C1FC #CCB5FC #F0B5FC
triadic
#CCB5FC #FCCCB5 #B5FCCC
tetradic
#CCB5FC #FCB5C1 #E5FCB5 #B5FCF0
square
#CCB5FC #FCB5C1 #E5FCB5 #B5FCF0
split-complementary
#CCB5FC #FCF0B5 #C1FCB5
monochromatic
#7B3FF7 #A37AFA #CCB5FC #EBE2FE #EBE2FE

Accessibility & contrast

On white

1.81
#CCB5FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.58
#CCB5FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCB5FC
11.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCB5FC#FFFFFF#000000##000000
##CCB5FC1.001.8111.5811.58
#FFFFFF1.811.0021.0021.00
#00000011.5821.001.001.00
##00000011.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A6C0FF
Deuteranopia (green-blind)
#A9C0FA
Tritanopia (blue-blind)
#C3C0CE
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #ccb5fc;
/* rgb */ color: rgb(204, 181, 252);
/* oklch */ color: oklch(81.7% 0.101 299.0);
Tailwind
colors: {
  custom: {
    50: '#dccbfd',
    500: '#ccb5fc',
    950: '#000000',
  },
}
SCSS
$custom: #ccb5fc;
$custom-light: #dccbfd;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb5fc",
  "rgb": {
    "r": 204,
    "g": 181,
    "b": 252
  },
  "hsl": {
    "h": 259.437,
    "s": 92.208,
    "l": 84.902
  },
  "oklch": {
    "l": 0.81738,
    "c": 0.101,
    "h": 299
  },
  "luminance": 0.52913
}

Semantic roles & 50–950 ramp

primary
#CCB5FC
secondary
#BEE174
accent
#E6009B
background
#FEFDFF
surface
#FCF9FF
border
#D5D2D7
text
#151317
muted
#848285

Preview Lab

Preview with #CCB5FC

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

Preview Lab → · Contrast checker → · Palette generator →

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