#CCB8FA#CCB8FA

#CCB8FA is a very light, moderate violet. Relative luminance 0.540; OKLCH L 82.2% C 0.094 H 298.2°. Best body text is #000000 at 11.80:1 contrast (WCAG AA passes).

Color values

HEX#CCB8FA
RGBrgb(204, 184, 250)
HSLhsl(258, 87%, 85%)
HSVhsv(258, 26%, 98%)
CMYKcmyk(18.4%, 26.4%, 0%, 2%)
CIE-LABlab(78.47, 20.02, -30.04)
CIE-LCHlch(78.47, 36.09, 303.68°)
OKLaboklab(82.21% 0.0443 -0.0824)
OKLCHoklch(82.21% 0.094 298.2)
XYZxyz(59.2939, 54.0202, 97.7271)
Luminance0.5402 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB8FA #E6FAB8
analogous
#B8C5FA #CCB8FA #EDB8FA
triadic
#CCB8FA #FACCB8 #B8FACC
tetradic
#CCB8FA #FAB8C5 #E6FAB8 #B8FAED
square
#CCB8FA #FAB8C5 #E6FAB8 #B8FAED
split-complementary
#CCB8FA #FAEDB8 #C5FAB8
monochromatic
#7A46F2 #A37FF6 #CCB8FA #EAE2FD #EAE2FD

Accessibility & contrast

On white

1.78
#CCB8FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.80
#CCB8FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCB8FA
11.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCB8FA#FFFFFF#000000##000000
##CCB8FA1.001.7811.8011.80
#FFFFFF1.781.0021.0021.00
#00000011.8021.001.001.00
##00000011.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AAC2FD
Deuteranopia (green-blind)
#ADC2F8
Tritanopia (blue-blind)
#C4C2CF
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #ccb8fa;
/* rgb */ color: rgb(204, 184, 250);
/* oklch */ color: oklch(82.2% 0.094 298.2);
Tailwind
colors: {
  custom: {
    50: '#dccdfc',
    500: '#ccb8fa',
    950: '#000000',
  },
}
SCSS
$custom: #ccb8fa;
$custom-light: #dccdfc;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb8fa",
  "rgb": {
    "r": 204,
    "g": 184,
    "b": 250
  },
  "hsl": {
    "h": 258.182,
    "s": 86.842,
    "l": 85.098
  },
  "oklch": {
    "l": 0.82214,
    "c": 0.09357,
    "h": 298.2
  },
  "luminance": 0.5402
}

Semantic roles & 50–950 ramp

primary
#CCB8FA
secondary
#BFDE78
accent
#E3029F
background
#FEFEFF
surface
#FCFAFF
border
#D5D3D7
text
#151317
muted
#848385

Preview Lab

Preview with #CCB8FA

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

Preview Lab → · Contrast checker → · Palette generator →

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