#B99DFF#B99DFF

#B99DFF is a light, vivid violet. Relative luminance 0.416; OKLCH L 75.9% C 0.140 H 296.0°. Best body text is #000000 at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#B99DFF
RGBrgb(185, 157, 255)
HSLhsl(257, 100%, 81%)
HSVhsv(257, 38%, 100%)
CMYKcmyk(27.5%, 38.4%, 0%, 0%)
CIE-LABlab(70.63, 30.53, -45.04)
CIE-LCHlch(70.63, 54.41, 304.13°)
OKLaboklab(75.89% 0.0614 -0.1257)
OKLCHoklch(75.89% 0.14 296)
XYZxyz(50.1102, 41.6477, 99.9871)
Luminance0.4165 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B99DFF #E3FF9D
analogous
#9DB2FF #B99DFF #EA9DFF
triadic
#B99DFF #FFB99D #9DFFB9
tetradic
#B99DFF #FF9DB2 #E3FF9D #9DFFEA
square
#B99DFF #FF9DB2 #E3FF9D #9DFFEA
split-complementary
#B99DFF #FFEA9D #B2FF9D
monochromatic
#6223FF #8D60FF #B99DFF #E5DAFF #E9E0FF

Accessibility & contrast

On white

2.25
#B99DFF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.33
#B99DFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B99DFF
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B99DFF#FFFFFF#000000##000000
##B99DFF1.002.259.339.33
#FFFFFF2.251.0021.0021.00
#0000009.3321.001.001.00
##0000009.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#82ADFF
Deuteranopia (green-blind)
#87ACFC
Tritanopia (blue-blind)
#AAAEC2
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #b99dff;
/* rgb */ color: rgb(185, 157, 255);
/* oklch */ color: oklch(75.9% 0.140 296.0);
Tailwind
colors: {
  custom: {
    50: '#d0baff',
    500: '#b99dff',
    950: '#000000',
  },
}
SCSS
$custom: #b99dff;
$custom-light: #d0baff;
$custom-dark: #000000;
JSON
{
  "hex": "#b99dff",
  "rgb": {
    "r": 185,
    "g": 157,
    "b": 255
  },
  "hsl": {
    "h": 257.143,
    "s": 100,
    "l": 80.784
  },
  "oklch": {
    "l": 0.75888,
    "c": 0.13989,
    "h": 296
  },
  "luminance": 0.41648
}

Semantic roles & 50–950 ramp

primary
#B99DFF
secondary
#EDF7D4
accent
#E600A4
background
#FCFBFF
surface
#F9F6FF
border
#D2D0D7
text
#141118
muted
#828086

Preview Lab

Preview with #B99DFF

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

Preview Lab → · Contrast checker → · Palette generator →

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