#B99BFA#B99BFA

#B99BFA is a light, vivid violet. Relative luminance 0.407; OKLCH L 75.3% C 0.136 H 297.6°. Best body text is #000000 at 9.13:1 contrast (WCAG AA passes).

Color values

HEX#B99BFA
RGBrgb(185, 155, 250)
HSLhsl(259, 90%, 79%)
HSVhsv(259, 38%, 98%)
CMYKcmyk(26%, 38%, 0%, 2%)
CIE-LABlab(69.94, 30.45, -43.41)
CIE-LCHlch(69.94, 53.02, 305.05°)
OKLaboklab(75.29% 0.0632 -0.1209)
OKLCHoklch(75.29% 0.136 297.6)
XYZxyz(48.9802, 40.6587, 95.6914)
Luminance0.4066 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B99BFA #DCFA9B
analogous
#9BADFA #B99BFA #E89BFA
triadic
#B99BFA #FAB99B #9BFAB9
tetradic
#B99BFA #FA9BAD #DCFA9B #9BFAE8
square
#B99BFA #FA9BAD #DCFA9B #9BFAE8
split-complementary
#B99BFA #FAE89B #ADFA9B
monochromatic
#6726F4 #9061F7 #B99BFA #E2D5FD #EBE2FE

Accessibility & contrast

On white

2.30
#B99BFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.13
#B99BFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B99BFA
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B99BFA#FFFFFF#000000##000000
##B99BFA1.002.309.139.13
#FFFFFF2.301.0021.0021.00
#0000009.1321.001.001.00
##0000009.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#82ABFE
Deuteranopia (green-blind)
#87AAF8
Tritanopia (blue-blind)
#ACABBF
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #b99bfa;
/* rgb */ color: rgb(185, 155, 250);
/* oklch */ color: oklch(75.3% 0.136 297.6);
Tailwind
colors: {
  custom: {
    50: '#d0b8fc',
    500: '#b99bfa',
    950: '#000000',
  },
}
SCSS
$custom: #b99bfa;
$custom-light: #d0b8fc;
$custom-dark: #000000;
JSON
{
  "hex": "#b99bfa",
  "rgb": {
    "r": 185,
    "g": 155,
    "b": 250
  },
  "hsl": {
    "h": 258.947,
    "s": 90.476,
    "l": 79.412
  },
  "oklch": {
    "l": 0.7529,
    "c": 0.13644,
    "h": 297.6
  },
  "luminance": 0.40659
}

Semantic roles & 50–950 ramp

primary
#B99BFA
secondary
#EBF6D5
accent
#E6009D
background
#FCFBFF
surface
#F9F6FF
border
#D2D0D7
text
#141117
muted
#828085

Preview Lab

Preview with #B99BFA

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

Preview Lab → · Contrast checker → · Palette generator →

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