#B99EFF#B99EFF

#B99EFF is a light, vivid violet. Relative luminance 0.420; OKLCH L 76.1% C 0.138 H 295.7°. Best body text is #000000 at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#B99EFF
RGBrgb(185, 158, 255)
HSLhsl(257, 100%, 81%)
HSVhsv(257, 38%, 100%)
CMYKcmyk(27.5%, 38%, 0%, 0%)
CIE-LABlab(70.86, 29.97, -44.67)
CIE-LCHlch(70.86, 53.80, 303.86°)
OKLaboklab(76.07% 0.0601 -0.1246)
OKLCHoklch(76.07% 0.138 295.7)
XYZxyz(50.2801, 41.9874, 100.0437)
Luminance0.4199 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B99EFF #E4FF9E
analogous
#9EB3FF #B99EFF #E99EFF
triadic
#B99EFF #FFB99E #9EFFB9
tetradic
#B99EFF #FF9EB3 #E4FF9E #9EFFE9
square
#B99EFF #FF9EB3 #E4FF9E #9EFFE9
split-complementary
#B99EFF #FFE99E #B3FF9E
monochromatic
#6124FF #8D61FF #B99EFF #E5DBFF #E9E0FF

Accessibility & contrast

On white

2.23
#B99EFF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.40
#B99EFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B99EFF
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B99EFF#FFFFFF#000000##000000
##B99EFF1.002.239.409.40
#FFFFFF2.231.0021.0021.00
#0000009.4021.001.001.00
##0000009.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#84AEFF
Deuteranopia (green-blind)
#88ACFC
Tritanopia (blue-blind)
#AAAFC2
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #b99eff;
/* rgb */ color: rgb(185, 158, 255);
/* oklch */ color: oklch(76.1% 0.138 295.7);
Tailwind
colors: {
  custom: {
    50: '#d0bbff',
    500: '#b99eff',
    950: '#000000',
  },
}
SCSS
$custom: #b99eff;
$custom-light: #d0bbff;
$custom-dark: #000000;
JSON
{
  "hex": "#b99eff",
  "rgb": {
    "r": 185,
    "g": 158,
    "b": 255
  },
  "hsl": {
    "h": 256.701,
    "s": 100,
    "l": 80.98
  },
  "oklch": {
    "l": 0.76067,
    "c": 0.13834,
    "h": 295.7
  },
  "luminance": 0.41988
}

Semantic roles & 50–950 ramp

primary
#B99EFF
secondary
#EDF7D4
accent
#E600A6
background
#FCFBFF
surface
#F9F6FF
border
#D2D0D7
text
#141118
muted
#828086

Preview Lab

Preview with #B99EFF

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

Preview Lab → · Contrast checker → · Palette generator →

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