#B896F2#B896F2

#B896F2 is a light, vivid violet. Relative luminance 0.384; OKLCH L 73.9% C 0.134 H 300.2°. Best body text is #000000 at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#B896F2
RGBrgb(184, 150, 242)
HSLhsl(262, 78%, 77%)
HSVhsv(262, 38%, 95%)
CMYKcmyk(24%, 38%, 0%, 5.1%)
CIE-LABlab(68.32, 31.07, -41.57)
CIE-LCHlch(68.32, 51.90, 306.77°)
OKLaboklab(73.93% 0.0672 -0.1156)
OKLCHoklch(73.93% 0.134 300.2)
XYZxyz(46.6969, 38.4137, 88.9416)
Luminance0.3841 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B896F2 #D0F296
analogous
#96A2F2 #B896F2 #E696F2
triadic
#B896F2 #F2B896 #96F2B8
tetradic
#B896F2 #F296A2 #D0F296 #96F2E6
square
#B896F2 #F296A2 #D0F296 #96F2E6
split-complementary
#B896F2 #F2E696 #A2F296
monochromatic
#6E29E5 #9360EB #B896F2 #DDCCF9 #EDE4FC

Accessibility & contrast

On white

2.42
#B896F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.68
#B896F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B896F2
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B896F2#FFFFFF#000000##000000
##B896F21.002.428.688.68
#FFFFFF2.421.0021.0021.00
#0000008.6821.001.001.00
##0000008.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7FA6F6
Deuteranopia (green-blind)
#85A6F0
Tritanopia (blue-blind)
#ADA5B9
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #b896f2;
/* rgb */ color: rgb(184, 150, 242);
/* oklch */ color: oklch(73.9% 0.134 300.2);
Tailwind
colors: {
  custom: {
    50: '#cfb5f6',
    500: '#b896f2',
    950: '#000000',
  },
}
SCSS
$custom: #b896f2;
$custom-light: #cfb5f6;
$custom-dark: #000000;
JSON
{
  "hex": "#b896f2",
  "rgb": {
    "r": 184,
    "g": 150,
    "b": 242
  },
  "hsl": {
    "h": 262.174,
    "s": 77.966,
    "l": 76.863
  },
  "oklch": {
    "l": 0.73929,
    "c": 0.13378,
    "h": 300.2
  },
  "luminance": 0.38414
}

Semantic roles & 50–950 ramp

primary
#B896F2
secondary
#E9F3D8
accent
#DA0B8E
background
#FCFBFF
surface
#F9F6FE
border
#D2D0D6
text
#141117
muted
#828085

Preview Lab

Preview with #B896F2

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

Preview Lab → · Contrast checker → · Palette generator →

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