#B99CF3#B99CF3

#B99CF3 is a light, vivid violet. Relative luminance 0.406; OKLCH L 75.1% C 0.126 H 298.7°. Best body text is #000000 at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#B99CF3
RGBrgb(185, 156, 243)
HSLhsl(260, 78%, 78%)
HSVhsv(260, 36%, 95%)
CMYKcmyk(23.9%, 35.8%, 0%, 4.7%)
CIE-LABlab(69.87, 28.25, -39.70)
CIE-LCHlch(69.87, 48.72, 305.43°)
OKLaboklab(75.14% 0.0603 -0.1102)
OKLCHoklch(75.14% 0.126 298.7)
XYZxyz(48.0701, 40.5620, 90.0734)
Luminance0.4056 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B99CF3 #D6F39C
analogous
#9CAAF3 #B99CF3 #E49CF3
triadic
#B99CF3 #F3B99C #9CF3B9
tetradic
#B99CF3 #F39CAA #D6F39C #9CF3E4
square
#B99CF3 #F39CAA #D6F39C #9CF3E4
split-complementary
#B99CF3 #F3E49C #AAF39C
monochromatic
#6C2FE6 #9265EC #B99CF3 #E0D3FA #ECE4FC

Accessibility & contrast

On white

2.30
#B99CF3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.11
#B99CF3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B99CF3
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B99CF3#FFFFFF#000000##000000
##B99CF31.002.309.119.11
#FFFFFF2.301.0021.0021.00
#0000009.1121.001.001.00
##0000009.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#86ABF6
Deuteranopia (green-blind)
#8BAAF1
Tritanopia (blue-blind)
#AEAABC
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #b99cf3;
/* rgb */ color: rgb(185, 156, 243);
/* oklch */ color: oklch(75.1% 0.126 298.7);
Tailwind
colors: {
  custom: {
    50: '#cfb9f7',
    500: '#b99cf3',
    950: '#000000',
  },
}
SCSS
$custom: #b99cf3;
$custom-light: #cfb9f7;
$custom-dark: #000000;
JSON
{
  "hex": "#b99cf3",
  "rgb": {
    "r": 185,
    "g": 156,
    "b": 243
  },
  "hsl": {
    "h": 260,
    "s": 78.378,
    "l": 78.235
  },
  "oklch": {
    "l": 0.75139,
    "c": 0.12567,
    "h": 298.7
  },
  "luminance": 0.40562
}

Semantic roles & 50–950 ramp

primary
#B99CF3
secondary
#EAF3D8
accent
#DB0B95
background
#FCFBFF
surface
#F9F6FF
border
#D2D0D7
text
#141117
muted
#828085

Preview Lab

Preview with #B99CF3

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

Preview Lab → · Contrast checker → · Palette generator →

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