#B99EEF#B99EEF

#B99EEF is a light, moderate violet. Relative luminance 0.410; OKLCH L 75.3% C 0.117 H 298.9°. Best body text is #000000 at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#B99EEF
RGBrgb(185, 158, 239)
HSLhsl(260, 72%, 78%)
HSVhsv(260, 34%, 94%)
CMYKcmyk(22.6%, 33.9%, 0%, 6.3%)
CIE-LABlab(70.18, 26.20, -37.04)
CIE-LCHlch(70.18, 45.37, 305.28°)
OKLaboklab(75.32% 0.0566 -0.1026)
OKLCHoklch(75.32% 0.117 298.9)
XYZxyz(47.8110, 40.9997, 87.0395)
Luminance0.4100 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B99EEF #D4EF9E
analogous
#9EABEF #B99EEF #E19EEF
triadic
#B99EEF #EFB99E #9EEFB9
tetradic
#B99EEF #EF9EAB #D4EF9E #9EEFE1
square
#B99EEF #EF9EAB #D4EF9E #9EEFE1
split-complementary
#B99EEF #EFE19E #ABEF9E
monochromatic
#6D35DE #9369E6 #B99EEF #DFD3F8 #ECE5FB

Accessibility & contrast

On white

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

On black

9.20
#B99EEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B99EEF
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B99EEF#FFFFFF#000000##000000
##B99EEF1.002.289.209.20
#FFFFFF2.281.0021.0021.00
#0000009.2021.001.001.00
##0000009.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8BACF2
Deuteranopia (green-blind)
#8FABED
Tritanopia (blue-blind)
#AFABBC
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #b99eef;
/* rgb */ color: rgb(185, 158, 239);
/* oklch */ color: oklch(75.3% 0.117 298.9);
Tailwind
colors: {
  custom: {
    50: '#cfbaf4',
    500: '#b99eef',
    950: '#000000',
  },
}
SCSS
$custom: #b99eef;
$custom-light: #cfbaf4;
$custom-dark: #000000;
JSON
{
  "hex": "#b99eef",
  "rgb": {
    "r": 185,
    "g": 158,
    "b": 239
  },
  "hsl": {
    "h": 260,
    "s": 71.681,
    "l": 77.843
  },
  "oklch": {
    "l": 0.75318,
    "c": 0.11719,
    "h": 298.9
  },
  "luminance": 0.41
}

Semantic roles & 50–950 ramp

primary
#B99EEF
secondary
#EAF2D9
accent
#D41293
background
#FCFBFE
surface
#F9F6FD
border
#D2D0D5
text
#141117
muted
#828085

Preview Lab

Preview with #B99EEF

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

Preview Lab → · Contrast checker → · Palette generator →

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