#B99FEF#B99FEF

#B99FEF is a light, moderate violet. Relative luminance 0.413; OKLCH L 75.5% C 0.116 H 298.5°. Best body text is #000000 at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#B99FEF
RGBrgb(185, 159, 239)
HSLhsl(260, 71%, 78%)
HSVhsv(260, 33%, 94%)
CMYKcmyk(22.6%, 33.5%, 0%, 6.3%)
CIE-LABlab(70.42, 25.64, -36.67)
CIE-LCHlch(70.42, 44.74, 304.97°)
OKLaboklab(75.5% 0.0552 -0.1015)
OKLCHoklch(75.5% 0.116 298.5)
XYZxyz(47.9822, 41.3423, 87.0966)
Luminance0.4134 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B99FEF #D5EF9F
analogous
#9FADEF #B99FEF #E19FEF
triadic
#B99FEF #EFB99F #9FEFB9
tetradic
#B99FEF #EF9FAD #D5EF9F #9FEFE1
square
#B99FEF #EF9FAD #D5EF9F #9FEFE1
split-complementary
#B99FEF #EFE19F #ADEF9F
monochromatic
#6C36DE #936BE6 #B99FEF #DFD3F8 #ECE5FB

Accessibility & contrast

On white

2.27
#B99FEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.27
#B99FEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B99FEF
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B99FEF#FFFFFF#000000##000000
##B99FEF1.002.279.279.27
#FFFFFF2.271.0021.0021.00
#0000009.2721.001.001.00
##0000009.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8CACF2
Deuteranopia (green-blind)
#90ACED
Tritanopia (blue-blind)
#AFACBC
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #b99fef;
/* rgb */ color: rgb(185, 159, 239);
/* oklch */ color: oklch(75.5% 0.116 298.5);
Tailwind
colors: {
  custom: {
    50: '#cfbbf4',
    500: '#b99fef',
    950: '#000000',
  },
}
SCSS
$custom: #b99fef;
$custom-light: #cfbbf4;
$custom-dark: #000000;
JSON
{
  "hex": "#b99fef",
  "rgb": {
    "r": 185,
    "g": 159,
    "b": 239
  },
  "hsl": {
    "h": 259.5,
    "s": 71.429,
    "l": 78.039
  },
  "oklch": {
    "l": 0.75501,
    "c": 0.11559,
    "h": 298.5
  },
  "luminance": 0.41343
}

Semantic roles & 50–950 ramp

primary
#B99FEF
secondary
#EAF2D9
accent
#D31295
background
#FCFBFE
surface
#F9F6FD
border
#D2D0D5
text
#141217
muted
#828185

Preview Lab

Preview with #B99FEF

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

Preview Lab → · Contrast checker → · Palette generator →

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