#B99EF2#B99EF2

#B99EF2 is a light, vivid violet. Relative luminance 0.412; OKLCH L 75.5% C 0.121 H 298.2°. Best body text is #000000 at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#B99EF2
RGBrgb(185, 158, 242)
HSLhsl(259, 76%, 78%)
HSVhsv(259, 35%, 95%)
CMYKcmyk(23.6%, 34.7%, 0%, 5.1%)
CIE-LABlab(70.30, 26.90, -38.48)
CIE-LCHlch(70.30, 46.95, 304.95°)
OKLaboklab(75.46% 0.0573 -0.1067)
OKLCHoklch(75.46% 0.121 298.2)
XYZxyz(48.2578, 41.1785, 89.3930)
Luminance0.4118 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B99EF2 #D7F29E
analogous
#9EADF2 #B99EF2 #E39EF2
triadic
#B99EF2 #F2B99E #9EF2B9
tetradic
#B99EF2 #F29EAD #D7F29E #9EF2E3
square
#B99EF2 #F29EAD #D7F29E #9EF2E3
split-complementary
#B99EF2 #F2E39E #ADF29E
monochromatic
#6B32E4 #9268EB #B99EF2 #E0D4F9 #ECE4FB

Accessibility & contrast

On white

2.27
#B99EF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.24
#B99EF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B99EF2
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B99EF2#FFFFFF#000000##000000
##B99EF21.002.279.249.24
#FFFFFF2.271.0021.0021.00
#0000009.2421.001.001.00
##0000009.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#89ACF5
Deuteranopia (green-blind)
#8EABF0
Tritanopia (blue-blind)
#AEACBD
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #b99ef2;
/* rgb */ color: rgb(185, 158, 242);
/* oklch */ color: oklch(75.5% 0.121 298.2);
Tailwind
colors: {
  custom: {
    50: '#cfbbf6',
    500: '#b99ef2',
    950: '#000000',
  },
}
SCSS
$custom: #b99ef2;
$custom-light: #cfbbf6;
$custom-dark: #000000;
JSON
{
  "hex": "#b99ef2",
  "rgb": {
    "r": 185,
    "g": 158,
    "b": 242
  },
  "hsl": {
    "h": 259.286,
    "s": 76.364,
    "l": 78.431
  },
  "oklch": {
    "l": 0.75455,
    "c": 0.12117,
    "h": 298.2
  },
  "luminance": 0.41179
}

Semantic roles & 50–950 ramp

primary
#B99EF2
secondary
#EAF3D8
accent
#D90D97
background
#FCFBFF
surface
#F9F6FE
border
#D2D0D6
text
#141117
muted
#828085

Preview Lab

Preview with #B99EF2

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

Preview Lab → · Contrast checker → · Palette generator →

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