#B896F9#B896F9

#B896F9 is a light, vivid violet. Relative luminance 0.388; OKLCH L 74.3% C 0.143 H 298.7°. Best body text is #000000 at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#B896F9
RGBrgb(184, 150, 249)
HSLhsl(261, 89%, 78%)
HSVhsv(261, 40%, 98%)
CMYKcmyk(26.1%, 39.8%, 0%, 2.4%)
CIE-LABlab(68.64, 32.72, -44.91)
CIE-LCHlch(68.64, 55.56, 306.08°)
OKLaboklab(74.27% 0.0686 -0.1253)
OKLCHoklch(74.27% 0.143 298.7)
XYZxyz(47.7684, 38.8423, 94.5848)
Luminance0.3884 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B896F9 #D7F996
analogous
#96A5F9 #B896F9 #E996F9
triadic
#B896F9 #F9B896 #96F9B8
tetradic
#B896F9 #F996A5 #D7F996 #96F9E9
square
#B896F9 #F996A5 #D7F996 #96F9E9
split-complementary
#B896F9 #F9E996 #A5F996
monochromatic
#6A22F2 #915CF6 #B896F9 #DFD0FC #EBE2FD

Accessibility & contrast

On white

2.39
#B896F9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.77
#B896F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B896F9
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B896F9#FFFFFF#000000##000000
##B896F91.002.398.778.77
#FFFFFF2.391.0021.0021.00
#0000008.7721.001.001.00
##0000008.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7CA7FD
Deuteranopia (green-blind)
#82A7F6
Tritanopia (blue-blind)
#ABA7BC
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #b896f9;
/* rgb */ color: rgb(184, 150, 249);
/* oklch */ color: oklch(74.3% 0.143 298.7);
Tailwind
colors: {
  custom: {
    50: '#cfb5fb',
    500: '#b896f9',
    950: '#000000',
  },
}
SCSS
$custom: #b896f9;
$custom-light: #cfb5fb;
$custom-dark: #000000;
JSON
{
  "hex": "#b896f9",
  "rgb": {
    "r": 184,
    "g": 150,
    "b": 249
  },
  "hsl": {
    "h": 260.606,
    "s": 89.189,
    "l": 78.235
  },
  "oklch": {
    "l": 0.74269,
    "c": 0.14284,
    "h": 298.7
  },
  "luminance": 0.38843
}

Semantic roles & 50–950 ramp

primary
#B896F9
secondary
#EAF5D6
accent
#E60097
background
#FCFBFF
surface
#F9F6FF
border
#D2D0D7
text
#141117
muted
#828085

Preview Lab

Preview with #B896F9

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

Preview Lab → · Contrast checker → · Palette generator →

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