#B896EA#B896EA

#B896EA is a light, vivid violet. Relative luminance 0.379; OKLCH L 73.6% C 0.123 H 302.1°. Best body text is #000000 at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#B896EA
RGBrgb(184, 150, 234)
HSLhsl(264, 67%, 75%)
HSVhsv(264, 36%, 92%)
CMYKcmyk(21.4%, 35.9%, 0%, 8.2%)
CIE-LABlab(67.98, 29.22, -37.73)
CIE-LCHlch(67.98, 47.72, 307.76°)
OKLaboklab(73.55% 0.0655 -0.1046)
OKLCHoklch(73.55% 0.123 302.1)
XYZxyz(45.5216, 37.9435, 82.7516)
Luminance0.3794 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B896EA #C8EA96
analogous
#969EEA #B896EA #E296EA
triadic
#B896EA #EAB896 #96EAB8
tetradic
#B896EA #EA969E #C8EA96 #96EAE2
square
#B896EA #EA969E #C8EA96 #96EAE2
split-complementary
#B896EA #EAE296 #9EEA96
monochromatic
#7330D6 #9663E0 #B896EA #DAC9F4 #EEE5FA

Accessibility & contrast

On white

2.45
#B896EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.59
#B896EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B896EA
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B896EA#FFFFFF#000000##000000
##B896EA1.002.458.598.59
#FFFFFF2.451.0021.0021.00
#0000008.5921.001.001.00
##0000008.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#83A5ED
Deuteranopia (green-blind)
#89A5E8
Tritanopia (blue-blind)
#AFA3B5
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #b896ea;
/* rgb */ color: rgb(184, 150, 234);
/* oklch */ color: oklch(73.6% 0.123 302.1);
Tailwind
colors: {
  custom: {
    50: '#ceb5f1',
    500: '#b896ea',
    950: '#000000',
  },
}
SCSS
$custom: #b896ea;
$custom-light: #ceb5f1;
$custom-dark: #000000;
JSON
{
  "hex": "#b896ea",
  "rgb": {
    "r": 184,
    "g": 150,
    "b": 234
  },
  "hsl": {
    "h": 264.286,
    "s": 66.667,
    "l": 75.294
  },
  "oklch": {
    "l": 0.73553,
    "c": 0.12341,
    "h": 302.1
  },
  "luminance": 0.37944
}

Semantic roles & 50–950 ramp

primary
#B896EA
secondary
#E8F1DA
accent
#CF1784
background
#FCFBFE
surface
#F9F6FD
border
#D2D0D5
text
#141116
muted
#828084

Preview Lab

Preview with #B896EA

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

Preview Lab → · Contrast checker → · Palette generator →

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