#CCB7F5#CCB7F5

#CCB7F5 is a light, moderate violet. Relative luminance 0.533; OKLCH L 81.8% C 0.089 H 300.0°. Best body text is #000000 at 11.66:1 contrast (WCAG AA passes).

Color values

HEX#CCB7F5
RGBrgb(204, 183, 245)
HSLhsl(260, 76%, 84%)
HSVhsv(260, 25%, 96%)
CMYKcmyk(16.7%, 25.3%, 0%, 3.9%)
CIE-LABlab(78.05, 19.47, -28.00)
CIE-LCHlch(78.05, 34.11, 304.82°)
OKLaboklab(81.83% 0.0442 -0.0767)
OKLCHoklch(81.83% 0.089 300)
XYZxyz(58.3133, 53.2968, 93.5837)
Luminance0.5330 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB7F5 #E0F5B7
analogous
#B7C1F5 #CCB7F5 #EBB7F5
triadic
#CCB7F5 #F5CCB7 #B7F5CC
tetradic
#CCB7F5 #F5B7C1 #E0F5B7 #B7F5EB
square
#CCB7F5 #F5B7C1 #E0F5B7 #B7F5EB
split-complementary
#CCB7F5 #F5EBB7 #C1F5B7
monochromatic
#804CE6 #A681EE #CCB7F5 #ECE4FB #ECE4FB

Accessibility & contrast

On white

1.80
#CCB7F5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.66
#CCB7F5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCB7F5
11.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCB7F5#FFFFFF#000000##000000
##CCB7F51.001.8011.6611.66
#FFFFFF1.801.0021.0021.00
#00000011.6621.001.001.00
##00000011.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AAC1F8
Deuteranopia (green-blind)
#AEC1F3
Tritanopia (blue-blind)
#C5C0CD
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #ccb7f5;
/* rgb */ color: rgb(204, 183, 245);
/* oklch */ color: oklch(81.8% 0.089 300.0);
Tailwind
colors: {
  custom: {
    50: '#dcccf8',
    500: '#ccb7f5',
    950: '#000000',
  },
}
SCSS
$custom: #ccb7f5;
$custom-light: #dcccf8;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb7f5",
  "rgb": {
    "r": 204,
    "g": 183,
    "b": 245
  },
  "hsl": {
    "h": 260.323,
    "s": 75.61,
    "l": 83.922
  },
  "oklch": {
    "l": 0.81827,
    "c": 0.08853,
    "h": 300
  },
  "luminance": 0.53297
}

Semantic roles & 50–950 ramp

primary
#CCB7F5
secondary
#B7D67A
accent
#D80E93
background
#FEFEFF
surface
#FCFAFF
border
#D5D3D7
text
#151317
muted
#848385

Preview Lab

Preview with #CCB7F5

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

Preview Lab → · Contrast checker → · Palette generator →

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