#B99FEB#B99FEB

#B99FEB is a light, moderate violet. Relative luminance 0.411; OKLCH L 75.3% C 0.110 H 299.5°. Best body text is #000000 at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#B99FEB
RGBrgb(185, 159, 235)
HSLhsl(261, 66%, 77%)
HSVhsv(261, 32%, 92%)
CMYKcmyk(21.3%, 32.3%, 0%, 7.8%)
CIE-LABlab(70.25, 24.72, -34.73)
CIE-LCHlch(70.25, 42.63, 305.45°)
OKLaboklab(75.32% 0.0543 -0.096)
OKLCHoklch(75.32% 0.11 299.5)
XYZxyz(47.3978, 41.1085, 84.0188)
Luminance0.4111 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B99FEB #D1EB9F
analogous
#9FABEB #B99FEB #DF9FEB
triadic
#B99FEB #EBB99F #9FEBB9
tetradic
#B99FEB #EB9FAB #D1EB9F #9FEBDF
square
#B99FEB #EB9FAB #D1EB9F #9FEBDF
split-complementary
#B99FEB #EBDF9F #ABEB9F
monochromatic
#6F3AD6 #946CE0 #B99FEB #DED2F6 #EDE6FA

Accessibility & contrast

On white

2.28
#B99FEB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.22
#B99FEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B99FEB
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B99FEB#FFFFFF#000000##000000
##B99FEB1.002.289.229.22
#FFFFFF2.281.0021.0021.00
#0000009.2221.001.001.00
##0000009.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8EACEE
Deuteranopia (green-blind)
#92ABE9
Tritanopia (blue-blind)
#B0ABBB
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #b99feb;
/* rgb */ color: rgb(185, 159, 235);
/* oklch */ color: oklch(75.3% 0.110 299.5);
Tailwind
colors: {
  custom: {
    50: '#cfbbf1',
    500: '#b99feb',
    950: '#000000',
  },
}
SCSS
$custom: #b99feb;
$custom-light: #cfbbf1;
$custom-dark: #000000;
JSON
{
  "hex": "#b99feb",
  "rgb": {
    "r": 185,
    "g": 159,
    "b": 235
  },
  "hsl": {
    "h": 260.526,
    "s": 65.517,
    "l": 77.255
  },
  "oklch": {
    "l": 0.75323,
    "c": 0.11028,
    "h": 299.5
  },
  "luminance": 0.41109
}

Semantic roles & 50–950 ramp

primary
#B99FEB
secondary
#E9F1DA
accent
#CD188F
background
#FCFBFE
surface
#F9F6FD
border
#D2D0D5
text
#141217
muted
#828185

Preview Lab

Preview with #B99FEB

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

Preview Lab → · Contrast checker → · Palette generator →

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