#B99AFA#B99AFA

#B99AFA is a light, vivid violet. Relative luminance 0.403; OKLCH L 75.1% C 0.138 H 297.9°. Best body text is #000000 at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#B99AFA
RGBrgb(185, 154, 250)
HSLhsl(259, 91%, 79%)
HSVhsv(259, 38%, 98%)
CMYKcmyk(26%, 38.4%, 0%, 2%)
CIE-LABlab(69.70, 31.01, -43.77)
CIE-LCHlch(69.70, 53.64, 305.31°)
OKLaboklab(75.11% 0.0645 -0.122)
OKLCHoklch(75.11% 0.138 297.9)
XYZxyz(48.8145, 40.3272, 95.6361)
Luminance0.4033 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B99AFA #DBFA9A
analogous
#9AABFA #B99AFA #E99AFA
triadic
#B99AFA #FAB99A #9AFAB9
tetradic
#B99AFA #FA9AAB #DBFA9A #9AFAE9
square
#B99AFA #FA9AAB #DBFA9A #9AFAE9
split-complementary
#B99AFA #FAE99A #ABFA9A
monochromatic
#6825F4 #9160F7 #B99AFA #E1D4FD #EBE2FE

Accessibility & contrast

On white

2.32
#B99AFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.07
#B99AFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B99AFA
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B99AFA#FFFFFF#000000##000000
##B99AFA1.002.329.079.07
#FFFFFF2.321.0021.0021.00
#0000009.0721.001.001.00
##0000009.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#81AAFE
Deuteranopia (green-blind)
#86A9F7
Tritanopia (blue-blind)
#ACAABE
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #b99afa;
/* rgb */ color: rgb(185, 154, 250);
/* oklch */ color: oklch(75.1% 0.138 297.9);
Tailwind
colors: {
  custom: {
    50: '#d0b8fc',
    500: '#b99afa',
    950: '#000000',
  },
}
SCSS
$custom: #b99afa;
$custom-light: #d0b8fc;
$custom-dark: #000000;
JSON
{
  "hex": "#b99afa",
  "rgb": {
    "r": 185,
    "g": 154,
    "b": 250
  },
  "hsl": {
    "h": 259.375,
    "s": 90.566,
    "l": 79.216
  },
  "oklch": {
    "l": 0.75112,
    "c": 0.13801,
    "h": 297.9
  },
  "luminance": 0.40328
}

Semantic roles & 50–950 ramp

primary
#B99AFA
secondary
#EBF6D5
accent
#E6009B
background
#FCFBFF
surface
#F9F6FF
border
#D2D0D7
text
#141117
muted
#828085

Preview Lab

Preview with #B99AFA

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

Preview Lab → · Contrast checker → · Palette generator →

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