#B99DFA#B99DFA

#B99DFA is a light, vivid violet. Relative luminance 0.413; OKLCH L 75.6% C 0.133 H 297.0°. Best body text is #000000 at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#B99DFA
RGBrgb(185, 157, 250)
HSLhsl(258, 90%, 80%)
HSVhsv(258, 37%, 98%)
CMYKcmyk(26%, 37.2%, 0%, 2%)
CIE-LABlab(70.41, 29.34, -42.67)
CIE-LCHlch(70.41, 51.78, 304.51°)
OKLaboklab(75.65% 0.0604 -0.1188)
OKLCHoklch(75.65% 0.133 297)
XYZxyz(49.3158, 41.3299, 95.8032)
Luminance0.4133 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B99DFA #DEFA9D
analogous
#9DAFFA #B99DFA #E89DFA
triadic
#B99DFA #FAB99D #9DFAB9
tetradic
#B99DFA #FA9DAF #DEFA9D #9DFAE8
square
#B99DFA #FA9DAF #DEFA9D #9DFAE8
split-complementary
#B99DFA #FAE89D #AFFA9D
monochromatic
#6629F4 #8F63F7 #B99DFA #E3D7FD #EAE2FE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B99DFA#FFFFFF#000000##000000
##B99DFA1.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)
#85ADFE
Deuteranopia (green-blind)
#89ABF8
Tritanopia (blue-blind)
#ACADC0
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #b99dfa;
/* rgb */ color: rgb(185, 157, 250);
/* oklch */ color: oklch(75.6% 0.133 297.0);
Tailwind
colors: {
  custom: {
    50: '#d0bafc',
    500: '#b99dfa',
    950: '#000000',
  },
}
SCSS
$custom: #b99dfa;
$custom-light: #d0bafc;
$custom-dark: #000000;
JSON
{
  "hex": "#b99dfa",
  "rgb": {
    "r": 185,
    "g": 157,
    "b": 250
  },
  "hsl": {
    "h": 258.065,
    "s": 90.291,
    "l": 79.804
  },
  "oklch": {
    "l": 0.75648,
    "c": 0.1333,
    "h": 297
  },
  "luminance": 0.4133
}

Semantic roles & 50–950 ramp

primary
#B99DFA
secondary
#ECF6D5
accent
#E600A0
background
#FCFBFF
surface
#F9F6FF
border
#D2D0D7
text
#141117
muted
#828085

Preview Lab

Preview with #B99DFA

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

Preview Lab → · Contrast checker → · Palette generator →

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