#B896F7#B896F7

#B896F7 is a light, vivid violet. Relative luminance 0.387; OKLCH L 74.2% C 0.140 H 299.1°. Best body text is #000000 at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#B896F7
RGBrgb(184, 150, 247)
HSLhsl(261, 86%, 78%)
HSVhsv(261, 39%, 97%)
CMYKcmyk(25.5%, 39.3%, 0%, 3.1%)
CIE-LABlab(68.55, 32.24, -43.96)
CIE-LCHlch(68.55, 54.51, 306.26°)
OKLaboklab(74.17% 0.0682 -0.1225)
OKLCHoklch(74.17% 0.14 299.1)
XYZxyz(47.4582, 38.7182, 92.9507)
Luminance0.3872 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B896F7 #D5F796
analogous
#96A4F7 #B896F7 #E996F7
triadic
#B896F7 #F7B896 #96F7B8
tetradic
#B896F7 #F796A4 #D5F796 #96F7E9
square
#B896F7 #F796A4 #D5F796 #96F7E9
split-complementary
#B896F7 #F7E996 #A4F796
monochromatic
#6B24EE #925DF3 #B896F7 #DECFFB #ECE3FD

Accessibility & contrast

On white

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

On black

8.74
#B896F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B896F7
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B896F7#FFFFFF#000000##000000
##B896F71.002.408.748.74
#FFFFFF2.401.0021.0021.00
#0000008.7421.001.001.00
##0000008.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7DA7FB
Deuteranopia (green-blind)
#83A6F4
Tritanopia (blue-blind)
#ACA6BB
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #b896f7;
/* rgb */ color: rgb(184, 150, 247);
/* oklch */ color: oklch(74.2% 0.140 299.1);
Tailwind
colors: {
  custom: {
    50: '#cfb5fa',
    500: '#b896f7',
    950: '#000000',
  },
}
SCSS
$custom: #b896f7;
$custom-light: #cfb5fa;
$custom-dark: #000000;
JSON
{
  "hex": "#b896f7",
  "rgb": {
    "r": 184,
    "g": 150,
    "b": 247
  },
  "hsl": {
    "h": 261.031,
    "s": 85.841,
    "l": 77.843
  },
  "oklch": {
    "l": 0.74171,
    "c": 0.14025,
    "h": 299.1
  },
  "luminance": 0.38718
}

Semantic roles & 50–950 ramp

primary
#B896F7
secondary
#EAF5D6
accent
#E20394
background
#FCFBFF
surface
#F9F6FF
border
#D2D0D7
text
#141117
muted
#828085

Preview Lab

Preview with #B896F7

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

Preview Lab → · Contrast checker → · Palette generator →

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