#B99CD8#B99CD8

#B99CD8 is a light, moderate violet. Relative luminance 0.390; OKLCH L 74.0% C 0.090 H 306.3°. Best body text is #000000 at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#B99CD8
RGBrgb(185, 156, 216)
HSLhsl(269, 43%, 73%)
HSVhsv(269, 28%, 85%)
CMYKcmyk(14.4%, 27.8%, 0%, 15.3%)
CIE-LABlab(68.79, 22.17, -26.56)
CIE-LCHlch(68.79, 34.60, 309.86°)
OKLaboklab(73.96% 0.0535 -0.0727)
OKLCHoklch(73.96% 0.09 306.3)
XYZxyz(44.2884, 39.0493, 70.1565)
Luminance0.3905 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B99CD8 #BBD89C
analogous
#9C9DD8 #B99CD8 #D79CD8
triadic
#B99CD8 #D8B99C #9CD8B9
tetradic
#B99CD8 #D89C9D #BBD89C #9CD8D7
square
#B99CD8 #D89C9D #BBD89C #9CD8D7
split-complementary
#B99CD8 #D8D79C #9DD89C
monochromatic
#7B47B3 #9A70C7 #B99CD8 #D8C8E9 #EFE9F6

Accessibility & contrast

On white

2.38
#B99CD8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.81
#B99CD8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B99CD8
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B99CD8#FFFFFF#000000##000000
##B99CD81.002.388.818.81
#FFFFFF2.381.0021.0021.00
#0000008.8121.001.001.00
##0000008.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#91A7DA
Deuteranopia (green-blind)
#97A8D6
Tritanopia (blue-blind)
#B5A4B1
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #b99cd8;
/* rgb */ color: rgb(185, 156, 216);
/* oklch */ color: oklch(74.0% 0.090 306.3);
Tailwind
colors: {
  custom: {
    50: '#ceb9e4',
    500: '#b99cd8',
    950: '#000000',
  },
}
SCSS
$custom: #b99cd8;
$custom-light: #ceb9e4;
$custom-dark: #000000;
JSON
{
  "hex": "#b99cd8",
  "rgb": {
    "r": 185,
    "g": 156,
    "b": 216
  },
  "hsl": {
    "h": 269,
    "s": 43.478,
    "l": 72.941
  },
  "oklch": {
    "l": 0.73956,
    "c": 0.0903,
    "h": 306.3
  },
  "luminance": 0.39049
}

Semantic roles & 50–950 ramp

primary
#B99CD8
secondary
#E6EDDE
accent
#B72F75
background
#FCFBFD
surface
#F9F6FB
border
#D2D0D4
text
#141115
muted
#828083

Preview Lab

Preview with #B99CD8

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

Preview Lab → · Contrast checker → · Palette generator →

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