#B899F8#B899F8

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

Color values

HEX#B899F8
RGBrgb(184, 153, 248)
HSLhsl(260, 87%, 79%)
HSVhsv(260, 38%, 97%)
CMYKcmyk(25.8%, 38.3%, 0%, 2.7%)
CIE-LABlab(69.29, 30.81, -43.34)
CIE-LCHlch(69.29, 53.17, 305.41°)
OKLaboklab(74.75% 0.0643 -0.1207)
OKLCHoklch(74.75% 0.137 298)
XYZxyz(48.0977, 39.7497, 93.9272)
Luminance0.3975 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B899F8 #D9F899
analogous
#99A9F8 #B899F8 #E799F8
triadic
#B899F8 #F8B899 #99F8B8
tetradic
#B899F8 #F899A9 #D9F899 #99F8E7
square
#B899F8 #F899A9 #D9F899 #99F8E7
split-complementary
#B899F8 #F8E799 #A9F899
monochromatic
#6826F0 #9060F4 #B899F8 #E0D2FC #EBE2FD

Accessibility & contrast

On white

2.35
#B899F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.95
#B899F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B899F8
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B899F8#FFFFFF#000000##000000
##B899F81.002.358.958.95
#FFFFFF2.351.0021.0021.00
#0000008.9521.001.001.00
##0000008.9521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b899f8;
/* rgb */ color: rgb(184, 153, 248);
/* oklch */ color: oklch(74.8% 0.137 298.0);
Tailwind
colors: {
  custom: {
    50: '#cfb7fb',
    500: '#b899f8',
    950: '#000000',
  },
}
SCSS
$custom: #b899f8;
$custom-light: #cfb7fb;
$custom-dark: #000000;
JSON
{
  "hex": "#b899f8",
  "rgb": {
    "r": 184,
    "g": 153,
    "b": 248
  },
  "hsl": {
    "h": 259.579,
    "s": 87.156,
    "l": 78.627
  },
  "oklch": {
    "l": 0.7475,
    "c": 0.13681,
    "h": 298
  },
  "luminance": 0.3975
}

Semantic roles & 50–950 ramp

primary
#B899F8
secondary
#EBF5D6
accent
#E4029A
background
#FCFBFF
surface
#F9F6FF
border
#D2D0D7
text
#141117
muted
#828085

Preview Lab

Preview with #B899F8

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

Preview Lab → · Contrast checker → · Palette generator →

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