#B99DF7#B99DF7

#B99DF7 is a light, vivid violet. Relative luminance 0.411; OKLCH L 75.5% C 0.129 H 297.5°. Best body text is #000000 at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#B99DF7
RGBrgb(185, 157, 247)
HSLhsl(259, 85%, 79%)
HSVhsv(259, 36%, 97%)
CMYKcmyk(25.1%, 36.4%, 0%, 3.1%)
CIE-LABlab(70.28, 28.63, -41.24)
CIE-LCHlch(70.28, 50.20, 304.76°)
OKLaboklab(75.51% 0.0598 -0.1147)
OKLCHoklch(75.51% 0.129 297.5)
XYZxyz(48.8492, 41.1432, 93.3455)
Luminance0.4114 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B99DF7 #DBF79D
analogous
#9DAEF7 #B99DF7 #E69DF7
triadic
#B99DF7 #F7B99D #9DF7B9
tetradic
#B99DF7 #F79DAE #DBF79D #9DF7E6
square
#B99DF7 #F79DAE #DBF79D #9DF7E6
split-complementary
#B99DF7 #F7E69D #AEF79D
monochromatic
#682CEE #9164F2 #B99DF7 #E1D6FC #EBE3FD

Accessibility & contrast

On white

2.28
#B99DF7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.23
#B99DF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B99DF7
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B99DF7#FFFFFF#000000##000000
##B99DF71.002.289.239.23
#FFFFFF2.281.0021.0021.00
#0000009.2321.001.001.00
##0000009.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#86ACFB
Deuteranopia (green-blind)
#8BABF5
Tritanopia (blue-blind)
#ADACBF
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #b99df7;
/* rgb */ color: rgb(185, 157, 247);
/* oklch */ color: oklch(75.5% 0.129 297.5);
Tailwind
colors: {
  custom: {
    50: '#cfbafa',
    500: '#b99df7',
    950: '#000000',
  },
}
SCSS
$custom: #b99df7;
$custom-light: #cfbafa;
$custom-dark: #000000;
JSON
{
  "hex": "#b99df7",
  "rgb": {
    "r": 185,
    "g": 157,
    "b": 247
  },
  "hsl": {
    "h": 258.667,
    "s": 84.906,
    "l": 79.216
  },
  "oklch": {
    "l": 0.75506,
    "c": 0.12935,
    "h": 297.5
  },
  "luminance": 0.41144
}

Semantic roles & 50–950 ramp

primary
#B99DF7
secondary
#EBF5D6
accent
#E1049D
background
#FCFBFF
surface
#F9F6FF
border
#D2D0D7
text
#141117
muted
#828085

Preview Lab

Preview with #B99DF7

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

Preview Lab → · Contrast checker → · Palette generator →

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