#B99BEC#B99BEC

#B99BEC is a light, moderate violet. Relative luminance 0.398; OKLCH L 74.6% C 0.118 H 300.6°. Best body text is #000000 at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#B99BEC
RGBrgb(185, 155, 236)
HSLhsl(262, 68%, 77%)
HSVhsv(262, 34%, 93%)
CMYKcmyk(21.6%, 34.3%, 0%, 7.5%)
CIE-LABlab(69.34, 27.18, -36.70)
CIE-LCHlch(69.34, 45.67, 306.53°)
OKLaboklab(74.64% 0.0601 -0.1016)
OKLCHoklch(74.64% 0.118 300.6)
XYZxyz(46.8660, 39.8130, 84.5563)
Luminance0.3981 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B99BEC #CEEC9B
analogous
#9BA6EC #B99BEC #E29BEC
triadic
#B99BEC #ECB99B #9BECB9
tetradic
#B99BEC #EC9BA6 #CEEC9B #9BECE2
square
#B99BEC #EC9BA6 #CEEC9B #9BECE2
split-complementary
#B99BEC #ECE29B #A6EC9B
monochromatic
#7134D8 #9568E2 #B99BEC #DDCEF6 #EDE5FA

Accessibility & contrast

On white

2.34
#B99BEC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.96
#B99BEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B99BEC
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B99BEC#FFFFFF#000000##000000
##B99BEC1.002.348.968.96
#FFFFFF2.341.0021.0021.00
#0000008.9621.001.001.00
##0000008.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#88A9EF
Deuteranopia (green-blind)
#8EA9EA
Tritanopia (blue-blind)
#B0A8B9
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #b99bec;
/* rgb */ color: rgb(185, 155, 236);
/* oklch */ color: oklch(74.6% 0.118 300.6);
Tailwind
colors: {
  custom: {
    50: '#cfb8f2',
    500: '#b99bec',
    950: '#000000',
  },
}
SCSS
$custom: #b99bec;
$custom-light: #cfb8f2;
$custom-dark: #000000;
JSON
{
  "hex": "#b99bec",
  "rgb": {
    "r": 185,
    "g": 155,
    "b": 236
  },
  "hsl": {
    "h": 262.222,
    "s": 68.067,
    "l": 76.667
  },
  "oklch": {
    "l": 0.74636,
    "c": 0.11808,
    "h": 300.6
  },
  "luminance": 0.39813
}

Semantic roles & 50–950 ramp

primary
#B99BEC
secondary
#E9F2D9
accent
#D0168B
background
#FCFBFE
surface
#F9F6FD
border
#D2D0D5
text
#141117
muted
#828085

Preview Lab

Preview with #B99BEC

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

Preview Lab → · Contrast checker → · Palette generator →

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