#B896F4#B896F4

#B896F4 is a light, vivid violet. Relative luminance 0.385; OKLCH L 74.0% C 0.136 H 299.7°. Best body text is #000000 at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#B896F4
RGBrgb(184, 150, 244)
HSLhsl(262, 81%, 77%)
HSVhsv(262, 39%, 96%)
CMYKcmyk(24.6%, 38.5%, 0%, 4.3%)
CIE-LABlab(68.41, 31.54, -42.53)
CIE-LCHlch(68.41, 52.94, 306.56°)
OKLaboklab(74.02% 0.0676 -0.1184)
OKLCHoklch(74.02% 0.136 299.7)
XYZxyz(46.9990, 38.5345, 90.5322)
Luminance0.3854 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B896F4 #D2F496
analogous
#96A3F4 #B896F4 #E796F4
triadic
#B896F4 #F4B896 #96F4B8
tetradic
#B896F4 #F496A3 #D2F496 #96F4E7
square
#B896F4 #F496A3 #D2F496 #96F4E7
split-complementary
#B896F4 #F4E796 #A3F496
monochromatic
#6D27E8 #935FEE #B896F4 #DDCDFA #ECE3FC

Accessibility & contrast

On white

2.41
#B896F4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.71
#B896F4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B896F4
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B896F4#FFFFFF#000000##000000
##B896F41.002.418.718.71
#FFFFFF2.411.0021.0021.00
#0000008.7121.001.001.00
##0000008.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7EA7F8
Deuteranopia (green-blind)
#84A6F2
Tritanopia (blue-blind)
#ADA6B9
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #b896f4;
/* rgb */ color: rgb(184, 150, 244);
/* oklch */ color: oklch(74.0% 0.136 299.7);
Tailwind
colors: {
  custom: {
    50: '#cfb5f8',
    500: '#b896f4',
    950: '#000000',
  },
}
SCSS
$custom: #b896f4;
$custom-light: #cfb5f8;
$custom-dark: #000000;
JSON
{
  "hex": "#b896f4",
  "rgb": {
    "r": 184,
    "g": 150,
    "b": 244
  },
  "hsl": {
    "h": 261.702,
    "s": 81.034,
    "l": 77.255
  },
  "oklch": {
    "l": 0.74025,
    "c": 0.13636,
    "h": 299.7
  },
  "luminance": 0.38535
}

Semantic roles & 50–950 ramp

primary
#B896F4
secondary
#EAF4D7
accent
#DD0890
background
#FCFBFF
surface
#F9F6FF
border
#D2D0D7
text
#141117
muted
#828085

Preview Lab

Preview with #B896F4

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

Preview Lab → · Contrast checker → · Palette generator →

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