#B896F8#B896F8

#B896F8 is a light, vivid violet. Relative luminance 0.388; OKLCH L 74.2% C 0.142 H 298.9°. Best body text is #000000 at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#B896F8
RGBrgb(184, 150, 248)
HSLhsl(261, 88%, 78%)
HSVhsv(261, 40%, 97%)
CMYKcmyk(25.8%, 39.5%, 0%, 2.7%)
CIE-LABlab(68.59, 32.48, -44.43)
CIE-LCHlch(68.59, 55.04, 306.17°)
OKLaboklab(74.22% 0.0684 -0.1239)
OKLCHoklch(74.22% 0.142 298.9)
XYZxyz(47.6129, 38.7800, 93.7656)
Luminance0.3878 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B896F8 #D6F896
analogous
#96A5F8 #B896F8 #E996F8
triadic
#B896F8 #F8B896 #96F8B8
tetradic
#B896F8 #F896A5 #D6F896 #96F8E9
square
#B896F8 #F896A5 #D6F896 #96F8E9
split-complementary
#B896F8 #F8E996 #A5F896
monochromatic
#6A23F0 #915DF4 #B896F8 #DFCFFC #ECE2FD

Accessibility & contrast

On white

2.40
#B896F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.76
#B896F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B896F8
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B896F8#FFFFFF#000000##000000
##B896F81.002.408.768.76
#FFFFFF2.401.0021.0021.00
#0000008.7621.001.001.00
##0000008.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7CA7FC
Deuteranopia (green-blind)
#82A6F5
Tritanopia (blue-blind)
#ACA7BB
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #b896f8;
/* rgb */ color: rgb(184, 150, 248);
/* oklch */ color: oklch(74.2% 0.142 298.9);
Tailwind
colors: {
  custom: {
    50: '#cfb5fb',
    500: '#b896f8',
    950: '#000000',
  },
}
SCSS
$custom: #b896f8;
$custom-light: #cfb5fb;
$custom-dark: #000000;
JSON
{
  "hex": "#b896f8",
  "rgb": {
    "r": 184,
    "g": 150,
    "b": 248
  },
  "hsl": {
    "h": 260.816,
    "s": 87.5,
    "l": 78.039
  },
  "oklch": {
    "l": 0.7422,
    "c": 0.14154,
    "h": 298.9
  },
  "luminance": 0.3878
}

Semantic roles & 50–950 ramp

primary
#B896F8
secondary
#EAF5D6
accent
#E40195
background
#FCFBFF
surface
#F9F6FF
border
#D2D0D7
text
#141117
muted
#828085

Preview Lab

Preview with #B896F8

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

Preview Lab → · Contrast checker → · Palette generator →

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