#B99FFD#B99FFD

#B99FFD is a light, vivid violet. Relative luminance 0.422; OKLCH L 76.1% C 0.134 H 295.8°. Best body text is #000000 at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#B99FFD
RGBrgb(185, 159, 253)
HSLhsl(257, 96%, 81%)
HSVhsv(257, 37%, 99%)
CMYKcmyk(26.9%, 37.2%, 0%, 0.8%)
CIE-LABlab(71.01, 28.94, -43.36)
CIE-LCHlch(71.01, 52.13, 303.72°)
OKLaboklab(76.15% 0.0583 -0.1208)
OKLCHoklch(76.15% 0.134 295.8)
XYZxyz(50.1311, 42.2018, 98.4141)
Luminance0.4220 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B99FFD #E3FD9F
analogous
#9FB4FD #B99FFD #E89FFD
triadic
#B99FFD #FDB99F #9FFDB9
tetradic
#B99FFD #FD9FB4 #E3FD9F #9FFDE8
square
#B99FFD #FD9FB4 #E3FD9F #9FFDE8
split-complementary
#B99FFD #FDE89F #B4FD9F
monochromatic
#6227FB #8D63FC #B99FFD #E5DBFE #E9E1FE

Accessibility & contrast

On white

2.22
#B99FFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.44
#B99FFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B99FFD
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B99FFD#FFFFFF#000000##000000
##B99FFD1.002.229.449.44
#FFFFFF2.221.0021.0021.00
#0000009.4421.001.001.00
##0000009.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#86AEFF
Deuteranopia (green-blind)
#8AADFB
Tritanopia (blue-blind)
#ABAFC2
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #b99ffd;
/* rgb */ color: rgb(185, 159, 253);
/* oklch */ color: oklch(76.1% 0.134 295.8);
Tailwind
colors: {
  custom: {
    50: '#d0bbfe',
    500: '#b99ffd',
    950: '#000000',
  },
}
SCSS
$custom: #b99ffd;
$custom-light: #d0bbfe;
$custom-dark: #000000;
JSON
{
  "hex": "#b99ffd",
  "rgb": {
    "r": 185,
    "g": 159,
    "b": 253
  },
  "hsl": {
    "h": 256.596,
    "s": 95.918,
    "l": 80.784
  },
  "oklch": {
    "l": 0.7615,
    "c": 0.13415,
    "h": 295.8
  },
  "luminance": 0.42202
}

Semantic roles & 50–950 ramp

primary
#B99FFD
secondary
#EDF7D4
accent
#E600A6
background
#FCFBFF
surface
#F9F6FF
border
#D2D0D7
text
#141218
muted
#828186

Preview Lab

Preview with #B99FFD

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

Preview Lab → · Contrast checker → · Palette generator →

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