#CCB7FC#CCB7FC

#CCB7FC is a very light, moderate violet. Relative luminance 0.537; OKLCH L 82.1% C 0.098 H 298.2°. Best body text is #000000 at 11.75:1 contrast (WCAG AA passes).

Color values

HEX#CCB7FC
RGBrgb(204, 183, 252)
HSLhsl(258, 92%, 85%)
HSVhsv(258, 27%, 99%)
CMYKcmyk(19%, 27.4%, 0%, 1.2%)
CIE-LABlab(78.31, 21.00, -31.37)
CIE-LCHlch(78.31, 37.75, 303.80°)
OKLaboklab(82.11% 0.0462 -0.0862)
OKLCHoklch(82.11% 0.098 298.2)
XYZxyz(59.4022, 53.7323, 99.3185)
Luminance0.5373 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB7FC #E7FCB7
analogous
#B7C4FC #CCB7FC #EFB7FC
triadic
#CCB7FC #FCCCB7 #B7FCCC
tetradic
#CCB7FC #FCB7C4 #E7FCB7 #B7FCEF
square
#CCB7FC #FCB7C4 #E7FCB7 #B7FCEF
split-complementary
#CCB7FC #FCEFB7 #C4FCB7
monochromatic
#7941F7 #A27CFA #CCB7FC #EAE2FE #EAE2FE

Accessibility & contrast

On white

1.79
#CCB7FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.75
#CCB7FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCB7FC
11.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCB7FC#FFFFFF#000000##000000
##CCB7FC1.001.7911.7511.75
#FFFFFF1.791.0021.0021.00
#00000011.7521.001.001.00
##00000011.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A8C2FF
Deuteranopia (green-blind)
#ABC1FA
Tritanopia (blue-blind)
#C3C2CF
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #ccb7fc;
/* rgb */ color: rgb(204, 183, 252);
/* oklch */ color: oklch(82.1% 0.098 298.2);
Tailwind
colors: {
  custom: {
    50: '#dcccfd',
    500: '#ccb7fc',
    950: '#000000',
  },
}
SCSS
$custom: #ccb7fc;
$custom-light: #dcccfd;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb7fc",
  "rgb": {
    "r": 204,
    "g": 183,
    "b": 252
  },
  "hsl": {
    "h": 258.261,
    "s": 92,
    "l": 85.294
  },
  "oklch": {
    "l": 0.82108,
    "c": 0.09782,
    "h": 298.2
  },
  "luminance": 0.53733
}

Semantic roles & 50–950 ramp

primary
#CCB7FC
secondary
#C1E176
accent
#E600A0
background
#FEFEFF
surface
#FCFAFF
border
#D5D3D7
text
#151317
muted
#848385

Preview Lab

Preview with #CCB7FC

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

Preview Lab → · Contrast checker → · Palette generator →

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