#B99BF7#B99BF7

#B99BF7 is a light, vivid violet. Relative luminance 0.405; OKLCH L 75.1% C 0.133 H 298.2°. Best body text is #000000 at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#B99BF7
RGBrgb(185, 155, 247)
HSLhsl(260, 85%, 79%)
HSVhsv(260, 37%, 97%)
CMYKcmyk(25.1%, 37.2%, 0%, 3.1%)
CIE-LABlab(69.80, 29.74, -41.98)
CIE-LCHlch(69.80, 51.45, 305.32°)
OKLaboklab(75.15% 0.0625 -0.1168)
OKLCHoklch(75.15% 0.133 298.2)
XYZxyz(48.5136, 40.4720, 93.2337)
Luminance0.4047 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B99BF7 #D9F79B
analogous
#9BABF7 #B99BF7 #E79BF7
triadic
#B99BF7 #F7B99B #9BF7B9
tetradic
#B99BF7 #F79BAB #D9F79B #9BF7E7
square
#B99BF7 #F79BAB #D9F79B #9BF7E7
split-complementary
#B99BF7 #F7E79B #ABF79B
monochromatic
#6A2AEE #9162F2 #B99BF7 #E1D4FC #EBE3FD

Accessibility & contrast

On white

2.31
#B99BF7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.09
#B99BF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B99BF7
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B99BF7#FFFFFF#000000##000000
##B99BF71.002.319.099.09
#FFFFFF2.311.0021.0021.00
#0000009.0921.001.001.00
##0000009.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#83ABFB
Deuteranopia (green-blind)
#89AAF5
Tritanopia (blue-blind)
#ADAABD
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #b99bf7;
/* rgb */ color: rgb(185, 155, 247);
/* oklch */ color: oklch(75.1% 0.133 298.2);
Tailwind
colors: {
  custom: {
    50: '#cfb8fa',
    500: '#b99bf7',
    950: '#000000',
  },
}
SCSS
$custom: #b99bf7;
$custom-light: #cfb8fa;
$custom-dark: #000000;
JSON
{
  "hex": "#b99bf7",
  "rgb": {
    "r": 185,
    "g": 155,
    "b": 247
  },
  "hsl": {
    "h": 259.565,
    "s": 85.185,
    "l": 78.824
  },
  "oklch": {
    "l": 0.75147,
    "c": 0.13251,
    "h": 298.2
  },
  "luminance": 0.40472
}

Semantic roles & 50–950 ramp

primary
#B99BF7
secondary
#EBF5D6
accent
#E20499
background
#FCFBFF
surface
#F9F6FF
border
#D2D0D7
text
#141117
muted
#828085

Preview Lab

Preview with #B99BF7

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

Preview Lab → · Contrast checker → · Palette generator →

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