#B99FFA#B99FFA

#B99FFA is a light, vivid violet. Relative luminance 0.420; OKLCH L 76.0% C 0.130 H 296.3°. Best body text is #000000 at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#B99FFA
RGBrgb(185, 159, 250)
HSLhsl(257, 90%, 80%)
HSVhsv(257, 36%, 98%)
CMYKcmyk(26%, 36.4%, 0%, 2%)
CIE-LABlab(70.88, 28.22, -41.93)
CIE-LCHlch(70.88, 50.54, 303.94°)
OKLaboklab(76.01% 0.0577 -0.1167)
OKLCHoklch(76.01% 0.13 296.3)
XYZxyz(49.6570, 42.0122, 95.9170)
Luminance0.4201 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B99FFA #E0FA9F
analogous
#9FB2FA #B99FFA #E79FFA
triadic
#B99FFA #FAB99F #9FFAB9
tetradic
#B99FFA #FA9FB2 #E0FA9F #9FFAE7
square
#B99FFA #FA9FB2 #E0FA9F #9FFAE7
split-complementary
#B99FFA #FAE79F #B2FA9F
monochromatic
#642BF4 #8F65F7 #B99FFA #E3D9FD #EAE2FD

Accessibility & contrast

On white

2.23
#B99FFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.40
#B99FFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B99FFA
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B99FFA#FFFFFF#000000##000000
##B99FFA1.002.239.409.40
#FFFFFF2.231.0021.0021.00
#0000009.4021.001.001.00
##0000009.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#87AEFE
Deuteranopia (green-blind)
#8BACF8
Tritanopia (blue-blind)
#ACAEC1
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #b99ffa;
/* rgb */ color: rgb(185, 159, 250);
/* oklch */ color: oklch(76.0% 0.130 296.3);
Tailwind
colors: {
  custom: {
    50: '#cfbbfc',
    500: '#b99ffa',
    950: '#000000',
  },
}
SCSS
$custom: #b99ffa;
$custom-light: #cfbbfc;
$custom-dark: #000000;
JSON
{
  "hex": "#b99ffa",
  "rgb": {
    "r": 185,
    "g": 159,
    "b": 250
  },
  "hsl": {
    "h": 257.143,
    "s": 90.099,
    "l": 80.196
  },
  "oklch": {
    "l": 0.76008,
    "c": 0.13018,
    "h": 296.3
  },
  "luminance": 0.42013
}

Semantic roles & 50–950 ramp

primary
#B99FFA
secondary
#ECF6D5
accent
#E600A4
background
#FCFBFF
surface
#F9F6FF
border
#D2D0D7
text
#141217
muted
#828185

Preview Lab

Preview with #B99FFA

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

Preview Lab → · Contrast checker → · Palette generator →

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