#B99EFA#B99EFA

#B99EFA is a light, vivid violet. Relative luminance 0.417; OKLCH L 75.8% C 0.132 H 296.6°. Best body text is #000000 at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#B99EFA
RGBrgb(185, 158, 250)
HSLhsl(258, 90%, 80%)
HSVhsv(258, 37%, 98%)
CMYKcmyk(26%, 36.8%, 0%, 2%)
CIE-LABlab(70.64, 28.78, -42.30)
CIE-LCHlch(70.64, 51.16, 304.23°)
OKLaboklab(75.83% 0.0591 -0.1178)
OKLCHoklch(75.83% 0.132 296.6)
XYZxyz(49.4857, 41.6696, 95.8599)
Luminance0.4167 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B99EFA #DFFA9E
analogous
#9EB1FA #B99EFA #E79EFA
triadic
#B99EFA #FAB99E #9EFAB9
tetradic
#B99EFA #FA9EB1 #DFFA9E #9EFAE7
square
#B99EFA #FA9EB1 #DFFA9E #9EFAE7
split-complementary
#B99EFA #FAE79E #B1FA9E
monochromatic
#652AF4 #8F64F7 #B99EFA #E3D8FD #EAE2FD

Accessibility & contrast

On white

2.25
#B99EFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.33
#B99EFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B99EFA
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B99EFA#FFFFFF#000000##000000
##B99EFA1.002.259.339.33
#FFFFFF2.251.0021.0021.00
#0000009.3321.001.001.00
##0000009.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#86ADFE
Deuteranopia (green-blind)
#8AACF8
Tritanopia (blue-blind)
#ACAEC0
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #b99efa;
/* rgb */ color: rgb(185, 158, 250);
/* oklch */ color: oklch(75.8% 0.132 296.6);
Tailwind
colors: {
  custom: {
    50: '#d0bbfc',
    500: '#b99efa',
    950: '#000000',
  },
}
SCSS
$custom: #b99efa;
$custom-light: #d0bbfc;
$custom-dark: #000000;
JSON
{
  "hex": "#b99efa",
  "rgb": {
    "r": 185,
    "g": 158,
    "b": 250
  },
  "hsl": {
    "h": 257.609,
    "s": 90.196,
    "l": 80
  },
  "oklch": {
    "l": 0.75828,
    "c": 0.13174,
    "h": 296.6
  },
  "luminance": 0.4167
}

Semantic roles & 50–950 ramp

primary
#B99EFA
secondary
#ECF6D5
accent
#E600A2
background
#FCFBFF
surface
#F9F6FF
border
#D2D0D7
text
#141117
muted
#828085

Preview Lab

Preview with #B99EFA

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

Preview Lab → · Contrast checker → · Palette generator →

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