#B99DF3#B99DF3

#B99DF3 is a light, vivid violet. Relative luminance 0.409; OKLCH L 75.3% C 0.124 H 298.4°. Best body text is #000000 at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#B99DF3
RGBrgb(185, 157, 243)
HSLhsl(260, 78%, 78%)
HSVhsv(260, 35%, 95%)
CMYKcmyk(23.9%, 35.4%, 0%, 4.7%)
CIE-LABlab(70.11, 27.69, -39.33)
CIE-LCHlch(70.11, 48.10, 305.15°)
OKLaboklab(75.32% 0.0589 -0.1092)
OKLCHoklch(75.32% 0.124 298.4)
XYZxyz(48.2385, 40.8990, 90.1295)
Luminance0.4090 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B99DF3 #D7F39D
analogous
#9DACF3 #B99DF3 #E49DF3
triadic
#B99DF3 #F3B99D #9DF3B9
tetradic
#B99DF3 #F39DAC #D7F39D #9DF3E4
square
#B99DF3 #F39DAC #D7F39D #9DF3E4
split-complementary
#B99DF3 #F3E49D #ACF39D
monochromatic
#6B30E6 #9266EC #B99DF3 #E0D4FA #ECE4FC

Accessibility & contrast

On white

2.29
#B99DF3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.18
#B99DF3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B99DF3
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B99DF3#FFFFFF#000000##000000
##B99DF31.002.299.189.18
#FFFFFF2.291.0021.0021.00
#0000009.1821.001.001.00
##0000009.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#88ABF6
Deuteranopia (green-blind)
#8CABF1
Tritanopia (blue-blind)
#AEABBD
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #b99df3;
/* rgb */ color: rgb(185, 157, 243);
/* oklch */ color: oklch(75.3% 0.124 298.4);
Tailwind
colors: {
  custom: {
    50: '#cfbaf7',
    500: '#b99df3',
    950: '#000000',
  },
}
SCSS
$custom: #b99df3;
$custom-light: #cfbaf7;
$custom-dark: #000000;
JSON
{
  "hex": "#b99df3",
  "rgb": {
    "r": 185,
    "g": 157,
    "b": 243
  },
  "hsl": {
    "h": 259.535,
    "s": 78.182,
    "l": 78.431
  },
  "oklch": {
    "l": 0.75319,
    "c": 0.12408,
    "h": 298.4
  },
  "luminance": 0.40899
}

Semantic roles & 50–950 ramp

primary
#B99DF3
secondary
#EAF3D8
accent
#DA0B97
background
#FCFBFF
surface
#F9F6FF
border
#D2D0D7
text
#141117
muted
#828085

Preview Lab

Preview with #B99DF3

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

Preview Lab → · Contrast checker → · Palette generator →

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