#B899F9#B899F9

#B899F9 is a light, vivid violet. Relative luminance 0.398; OKLCH L 74.8% C 0.138 H 297.8°. Best body text is #000000 at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#B899F9
RGBrgb(184, 153, 249)
HSLhsl(259, 89%, 79%)
HSVhsv(259, 39%, 98%)
CMYKcmyk(26.1%, 38.6%, 0%, 2.4%)
CIE-LABlab(69.34, 31.05, -43.81)
CIE-LCHlch(69.34, 53.70, 305.32°)
OKLaboklab(74.8% 0.0645 -0.1221)
OKLCHoklch(74.8% 0.138 297.8)
XYZxyz(48.2533, 39.8120, 94.7465)
Luminance0.3981 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B899F9 #DAF999
analogous
#99AAF9 #B899F9 #E899F9
triadic
#B899F9 #F9B899 #99F9B8
tetradic
#B899F9 #F999AA #DAF999 #99F9E8
square
#B899F9 #F999AA #DAF999 #99F9E8
split-complementary
#B899F9 #F9E899 #AAF999
monochromatic
#6825F2 #905FF6 #B899F9 #E0D3FC #EBE2FD

Accessibility & contrast

On white

2.34
#B899F9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.96
#B899F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B899F9
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B899F9#FFFFFF#000000##000000
##B899F91.002.348.968.96
#FFFFFF2.341.0021.0021.00
#0000008.9621.001.001.00
##0000008.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#80A9FD
Deuteranopia (green-blind)
#85A8F6
Tritanopia (blue-blind)
#ABA9BD
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #b899f9;
/* rgb */ color: rgb(184, 153, 249);
/* oklch */ color: oklch(74.8% 0.138 297.8);
Tailwind
colors: {
  custom: {
    50: '#cfb7fb',
    500: '#b899f9',
    950: '#000000',
  },
}
SCSS
$custom: #b899f9;
$custom-light: #cfb7fb;
$custom-dark: #000000;
JSON
{
  "hex": "#b899f9",
  "rgb": {
    "r": 184,
    "g": 153,
    "b": 249
  },
  "hsl": {
    "h": 259.375,
    "s": 88.889,
    "l": 78.824
  },
  "oklch": {
    "l": 0.74798,
    "c": 0.13813,
    "h": 297.8
  },
  "luminance": 0.39812
}

Semantic roles & 50–950 ramp

primary
#B899F9
secondary
#EBF5D6
accent
#E6009B
background
#FCFBFF
surface
#F9F6FF
border
#D2D0D7
text
#141117
muted
#828085

Preview Lab

Preview with #B899F9

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

Preview Lab → · Contrast checker → · Palette generator →

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