#CCB9F7#CCB9F7

#CCB9F7 is a very light, moderate violet. Relative luminance 0.543; OKLCH L 82.3% C 0.088 H 298.5°. Best body text is #000000 at 11.85:1 contrast (WCAG AA passes).

Color values

HEX#CCB9F7
RGBrgb(204, 185, 247)
HSLhsl(258, 79%, 85%)
HSVhsv(258, 25%, 97%)
CMYKcmyk(17.4%, 25.1%, 0%, 3.1%)
CIE-LABlab(78.61, 18.82, -28.22)
CIE-LCHlch(78.61, 33.92, 303.69°)
OKLaboklab(82.28% 0.042 -0.0773)
OKLCHoklch(82.28% 0.088 298.5)
XYZxyz(59.0357, 54.2505, 95.3388)
Luminance0.5425 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB9F7 #E4F7B9
analogous
#B9C5F7 #CCB9F7 #EBB9F7
triadic
#CCB9F7 #F7CCB9 #B9F7CC
tetradic
#CCB9F7 #F7B9C5 #E4F7B9 #B9F7EB
square
#CCB9F7 #F7B9C5 #E4F7B9 #B9F7EB
split-complementary
#CCB9F7 #F7EBB9 #C5F7B9
monochromatic
#7C4BEA #A482F1 #CCB9F7 #EBE4FC #EBE4FC

Accessibility & contrast

On white

1.77
#CCB9F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.85
#CCB9F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCB9F7
11.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCB9F7#FFFFFF#000000##000000
##CCB9F71.001.7711.8511.85
#FFFFFF1.771.0021.0021.00
#00000011.8521.001.001.00
##00000011.8521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ccb9f7;
/* rgb */ color: rgb(204, 185, 247);
/* oklch */ color: oklch(82.3% 0.088 298.5);
Tailwind
colors: {
  custom: {
    50: '#dccefa',
    500: '#ccb9f7',
    950: '#000000',
  },
}
SCSS
$custom: #ccb9f7;
$custom-light: #dccefa;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb9f7",
  "rgb": {
    "r": 204,
    "g": 185,
    "b": 247
  },
  "hsl": {
    "h": 258.387,
    "s": 79.487,
    "l": 84.706
  },
  "oklch": {
    "l": 0.82281,
    "c": 0.08799,
    "h": 298.5
  },
  "luminance": 0.54251
}

Semantic roles & 50–950 ramp

primary
#CCB9F7
secondary
#BCD97B
accent
#DC0A9B
background
#FEFEFF
surface
#FCFAFF
border
#D5D3D7
text
#151317
muted
#848385

Preview Lab

Preview with #CCB9F7

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

Preview Lab → · Contrast checker → · Palette generator →

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