#B99EF6#B99EF6

#B99EF6 is a light, vivid violet. Relative luminance 0.414; OKLCH L 75.6% C 0.126 H 297.4°. Best body text is #000000 at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#B99EF6
RGBrgb(185, 158, 246)
HSLhsl(258, 83%, 79%)
HSVhsv(258, 36%, 96%)
CMYKcmyk(24.8%, 35.8%, 0%, 3.5%)
CIE-LABlab(70.47, 27.83, -40.40)
CIE-LCHlch(70.47, 49.06, 304.57°)
OKLaboklab(75.64% 0.0582 -0.1123)
OKLCHoklch(75.64% 0.126 297.4)
XYZxyz(48.8652, 41.4214, 92.5916)
Luminance0.4142 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B99EF6 #DBF69E
analogous
#9EAFF6 #B99EF6 #E59EF6
triadic
#B99EF6 #F6B99E #9EF6B9
tetradic
#B99EF6 #F69EAF #DBF69E #9EF6E5
square
#B99EF6 #F69EAF #DBF69E #9EF6E5
split-complementary
#B99EF6 #F6E59E #AFF69E
monochromatic
#682EEC #9166F1 #B99EF6 #E1D6FB #EBE3FC

Accessibility & contrast

On white

2.26
#B99EF6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.28
#B99EF6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B99EF6
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B99EF6#FFFFFF#000000##000000
##B99EF61.002.269.289.28
#FFFFFF2.261.0021.0021.00
#0000009.2821.001.001.00
##0000009.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#88ADF9
Deuteranopia (green-blind)
#8CABF4
Tritanopia (blue-blind)
#ADADBF
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #b99ef6;
/* rgb */ color: rgb(185, 158, 246);
/* oklch */ color: oklch(75.6% 0.126 297.4);
Tailwind
colors: {
  custom: {
    50: '#cfbbf9',
    500: '#b99ef6',
    950: '#000000',
  },
}
SCSS
$custom: #b99ef6;
$custom-light: #cfbbf9;
$custom-dark: #000000;
JSON
{
  "hex": "#b99ef6",
  "rgb": {
    "r": 185,
    "g": 158,
    "b": 246
  },
  "hsl": {
    "h": 258.409,
    "s": 83.019,
    "l": 79.216
  },
  "oklch": {
    "l": 0.7564,
    "c": 0.12645,
    "h": 297.4
  },
  "luminance": 0.41422
}

Semantic roles & 50–950 ramp

primary
#B99EF6
secondary
#EBF4D7
accent
#DF069D
background
#FCFBFF
surface
#F9F6FF
border
#D2D0D7
text
#141117
muted
#828085

Preview Lab

Preview with #B99EF6

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

Preview Lab → · Contrast checker → · Palette generator →

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