#B99DF5#B99DF5

#B99DF5 is a light, vivid violet. Relative luminance 0.410; OKLCH L 75.4% C 0.127 H 297.9°. Best body text is #000000 at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#B99DF5
RGBrgb(185, 157, 245)
HSLhsl(259, 81%, 79%)
HSVhsv(259, 36%, 96%)
CMYKcmyk(24.5%, 35.9%, 0%, 3.9%)
CIE-LABlab(70.19, 28.16, -40.29)
CIE-LCHlch(70.19, 49.15, 304.95°)
OKLaboklab(75.41% 0.0594 -0.1119)
OKLCHoklch(75.41% 0.127 297.9)
XYZxyz(48.5422, 41.0204, 91.7288)
Luminance0.4102 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B99DF5 #D9F59D
analogous
#9DADF5 #B99DF5 #E59DF5
triadic
#B99DF5 #F5B99D #9DF5B9
tetradic
#B99DF5 #F59DAD #D9F59D #9DF5E5
square
#B99DF5 #F59DAD #D9F59D #9DF5E5
split-complementary
#B99DF5 #F5E59D #ADF59D
monochromatic
#6A2EEA #9165EF #B99DF5 #E1D5FB #EBE3FC

Accessibility & contrast

On white

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

On black

9.20
#B99DF5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B99DF5
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B99DF5#FFFFFF#000000##000000
##B99DF51.002.289.209.20
#FFFFFF2.281.0021.0021.00
#0000009.2021.001.001.00
##0000009.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#87ACF8
Deuteranopia (green-blind)
#8CABF3
Tritanopia (blue-blind)
#ADACBE
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #b99df5;
/* rgb */ color: rgb(185, 157, 245);
/* oklch */ color: oklch(75.4% 0.127 297.9);
Tailwind
colors: {
  custom: {
    50: '#cfbaf9',
    500: '#b99df5',
    950: '#000000',
  },
}
SCSS
$custom: #b99df5;
$custom-light: #cfbaf9;
$custom-dark: #000000;
JSON
{
  "hex": "#b99df5",
  "rgb": {
    "r": 185,
    "g": 157,
    "b": 245
  },
  "hsl": {
    "h": 259.091,
    "s": 81.481,
    "l": 78.824
  },
  "oklch": {
    "l": 0.75412,
    "c": 0.12672,
    "h": 297.9
  },
  "luminance": 0.41021
}

Semantic roles & 50–950 ramp

primary
#B99DF5
secondary
#EBF4D7
accent
#DE089A
background
#FCFBFF
surface
#F9F6FF
border
#D2D0D7
text
#141117
muted
#828085

Preview Lab

Preview with #B99DF5

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

Preview Lab → · Contrast checker → · Palette generator →

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