#B99DEB#B99DEB

#B99DEB is a light, moderate violet. Relative luminance 0.404; OKLCH L 75.0% C 0.114 H 300.2°. Best body text is #000000 at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#B99DEB
RGBrgb(185, 157, 235)
HSLhsl(262, 66%, 77%)
HSVhsv(262, 33%, 92%)
CMYKcmyk(21.3%, 33.2%, 0%, 7.8%)
CIE-LABlab(69.77, 25.84, -35.48)
CIE-LCHlch(69.77, 43.89, 306.07°)
OKLaboklab(74.96% 0.0571 -0.0981)
OKLCHoklch(74.96% 0.114 300.2)
XYZxyz(47.0567, 40.4262, 83.9051)
Luminance0.4043 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B99DEB #CFEB9D
analogous
#9DA8EB #B99DEB #E09DEB
triadic
#B99DEB #EBB99D #9DEBB9
tetradic
#B99DEB #EB9DA8 #CFEB9D #9DEBE0
square
#B99DEB #EB9DA8 #CFEB9D #9DEBE0
split-complementary
#B99DEB #EBE09D #A8EB9D
monochromatic
#7037D6 #956AE1 #B99DEB #DDD0F5 #EDE6FA

Accessibility & contrast

On white

2.31
#B99DEB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.09
#B99DEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B99DEB
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B99DEB#FFFFFF#000000##000000
##B99DEB1.002.319.099.09
#FFFFFF2.311.0021.0021.00
#0000009.0921.001.001.00
##0000009.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8BAAEE
Deuteranopia (green-blind)
#90AAE9
Tritanopia (blue-blind)
#B0A9B9
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #b99deb;
/* rgb */ color: rgb(185, 157, 235);
/* oklch */ color: oklch(75.0% 0.114 300.2);
Tailwind
colors: {
  custom: {
    50: '#cfbaf1',
    500: '#b99deb',
    950: '#000000',
  },
}
SCSS
$custom: #b99deb;
$custom-light: #cfbaf1;
$custom-dark: #000000;
JSON
{
  "hex": "#b99deb",
  "rgb": {
    "r": 185,
    "g": 157,
    "b": 235
  },
  "hsl": {
    "h": 261.538,
    "s": 66.102,
    "l": 76.863
  },
  "oklch": {
    "l": 0.74956,
    "c": 0.11352,
    "h": 300.2
  },
  "luminance": 0.40426
}

Semantic roles & 50–950 ramp

primary
#B99DEB
secondary
#E9F1DA
accent
#CE188C
background
#FCFBFE
surface
#F9F6FD
border
#D2D0D5
text
#141117
muted
#828085

Preview Lab

Preview with #B99DEB

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

Preview Lab → · Contrast checker → · Palette generator →

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