#B899EF#B899EF

#B899EF is a light, vivid violet. Relative luminance 0.392; OKLCH L 74.3% C 0.125 H 300.0°. Best body text is #000000 at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#B899EF
RGBrgb(184, 153, 239)
HSLhsl(262, 73%, 77%)
HSVhsv(262, 36%, 94%)
CMYKcmyk(23%, 36%, 0%, 6.3%)
CIE-LABlab(68.90, 28.70, -39.03)
CIE-LCHlch(68.90, 48.45, 306.33°)
OKLaboklab(74.32% 0.0625 -0.1083)
OKLCHoklch(74.32% 0.125 300)
XYZxyz(46.7349, 39.2046, 86.7497)
Luminance0.3921 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B899EF #D0EF99
analogous
#99A5EF #B899EF #E399EF
triadic
#B899EF #EFB899 #99EFB8
tetradic
#B899EF #EF99A5 #D0EF99 #99EFE3
square
#B899EF #EF99A5 #D0EF99 #99EFE3
split-complementary
#B899EF #EFE399 #A5EF99
monochromatic
#6E2FDE #9364E7 #B899EF #DDCEF7 #EDE5FB

Accessibility & contrast

On white

2.38
#B899EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.84
#B899EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B899EF
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B899EF#FFFFFF#000000##000000
##B899EF1.002.388.848.84
#FFFFFF2.381.0021.0021.00
#0000008.8421.001.001.00
##0000008.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#84A8F2
Deuteranopia (green-blind)
#8AA8ED
Tritanopia (blue-blind)
#AEA7B9
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #b899ef;
/* rgb */ color: rgb(184, 153, 239);
/* oklch */ color: oklch(74.3% 0.125 300.0);
Tailwind
colors: {
  custom: {
    50: '#ceb7f4',
    500: '#b899ef',
    950: '#000000',
  },
}
SCSS
$custom: #b899ef;
$custom-light: #ceb7f4;
$custom-dark: #000000;
JSON
{
  "hex": "#b899ef",
  "rgb": {
    "r": 184,
    "g": 153,
    "b": 239
  },
  "hsl": {
    "h": 261.628,
    "s": 72.881,
    "l": 76.863
  },
  "oklch": {
    "l": 0.74324,
    "c": 0.12505,
    "h": 300
  },
  "luminance": 0.39205
}

Semantic roles & 50–950 ramp

primary
#B899EF
secondary
#E9F3D8
accent
#D5118E
background
#FCFBFE
surface
#F9F6FD
border
#D2D0D5
text
#141117
muted
#828085

Preview Lab

Preview with #B899EF

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

Preview Lab → · Contrast checker → · Palette generator →

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