#B99EED#B99EED

#B99EED is a light, moderate violet. Relative luminance 0.409; OKLCH L 75.2% C 0.115 H 299.4°. Best body text is #000000 at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#B99EED
RGBrgb(185, 158, 237)
HSLhsl(261, 69%, 77%)
HSVhsv(261, 33%, 93%)
CMYKcmyk(21.9%, 33.3%, 0%, 7.1%)
CIE-LABlab(70.09, 25.74, -36.07)
CIE-LCHlch(70.09, 44.31, 305.51°)
OKLaboklab(75.23% 0.0562 -0.0998)
OKLCHoklch(75.23% 0.115 299.4)
XYZxyz(47.5171, 40.8822, 85.4920)
Luminance0.4088 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B99EED #D2ED9E
analogous
#9EABED #B99EED #E09EED
triadic
#B99EED #EDB99E #9EEDB9
tetradic
#B99EED #ED9EAB #D2ED9E #9EEDE0
square
#B99EED #ED9EAB #D2ED9E #9EEDE0
split-complementary
#B99EED #EDE09E #ABED9E
monochromatic
#6E37DA #946AE3 #B99EED #DED2F7 #ECE5FA

Accessibility & contrast

On white

2.29
#B99EED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.18
#B99EED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B99EED
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B99EED#FFFFFF#000000##000000
##B99EED1.002.299.189.18
#FFFFFF2.291.0021.0021.00
#0000009.1821.001.001.00
##0000009.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8CABF0
Deuteranopia (green-blind)
#90ABEB
Tritanopia (blue-blind)
#B0ABBB
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #b99eed;
/* rgb */ color: rgb(185, 158, 237);
/* oklch */ color: oklch(75.2% 0.115 299.4);
Tailwind
colors: {
  custom: {
    50: '#cfbaf3',
    500: '#b99eed',
    950: '#000000',
  },
}
SCSS
$custom: #b99eed;
$custom-light: #cfbaf3;
$custom-dark: #000000;
JSON
{
  "hex": "#b99eed",
  "rgb": {
    "r": 185,
    "g": 158,
    "b": 237
  },
  "hsl": {
    "h": 260.506,
    "s": 68.696,
    "l": 77.451
  },
  "oklch": {
    "l": 0.75228,
    "c": 0.11455,
    "h": 299.4
  },
  "luminance": 0.40882
}

Semantic roles & 50–950 ramp

primary
#B99EED
secondary
#E9F2D9
accent
#D11590
background
#FCFBFE
surface
#F9F6FD
border
#D2D0D5
text
#141117
muted
#828085

Preview Lab

Preview with #B99EED

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

Preview Lab → · Contrast checker → · Palette generator →

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