#B99CF7#B99CF7

#B99CF7 is a light, vivid violet. Relative luminance 0.408; OKLCH L 75.3% C 0.131 H 297.9°. Best body text is #000000 at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#B99CF7
RGBrgb(185, 156, 247)
HSLhsl(259, 85%, 79%)
HSVhsv(259, 37%, 97%)
CMYKcmyk(25.1%, 36.8%, 0%, 3.1%)
CIE-LABlab(70.04, 29.18, -41.61)
CIE-LCHlch(70.04, 50.83, 305.04°)
OKLaboklab(75.33% 0.0612 -0.1158)
OKLCHoklch(75.33% 0.131 297.9)
XYZxyz(48.6807, 40.8062, 93.2894)
Luminance0.4081 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B99CF7 #DAF79C
analogous
#9CADF7 #B99CF7 #E79CF7
triadic
#B99CF7 #F7B99C #9CF7B9
tetradic
#B99CF7 #F79CAD #DAF79C #9CF7E7
square
#B99CF7 #F79CAD #DAF79C #9CF7E7
split-complementary
#B99CF7 #F7E79C #ADF79C
monochromatic
#692BEE #9163F2 #B99CF7 #E1D5FC #EBE3FD

Accessibility & contrast

On white

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

On black

9.16
#B99CF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B99CF7
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B99CF7#FFFFFF#000000##000000
##B99CF71.002.299.169.16
#FFFFFF2.291.0021.0021.00
#0000009.1621.001.001.00
##0000009.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#85ABFB
Deuteranopia (green-blind)
#8AAAF5
Tritanopia (blue-blind)
#ADABBE
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #b99cf7;
/* rgb */ color: rgb(185, 156, 247);
/* oklch */ color: oklch(75.3% 0.131 297.9);
Tailwind
colors: {
  custom: {
    50: '#cfb9fa',
    500: '#b99cf7',
    950: '#000000',
  },
}
SCSS
$custom: #b99cf7;
$custom-light: #cfb9fa;
$custom-dark: #000000;
JSON
{
  "hex": "#b99cf7",
  "rgb": {
    "r": 185,
    "g": 156,
    "b": 247
  },
  "hsl": {
    "h": 259.121,
    "s": 85.047,
    "l": 79.02
  },
  "oklch": {
    "l": 0.75326,
    "c": 0.13093,
    "h": 297.9
  },
  "luminance": 0.40807
}

Semantic roles & 50–950 ramp

primary
#B99CF7
secondary
#EBF5D6
accent
#E2049B
background
#FCFBFF
surface
#F9F6FF
border
#D2D0D7
text
#141117
muted
#828085

Preview Lab

Preview with #B99CF7

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

Preview Lab → · Contrast checker → · Palette generator →

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