#B896FE#B896FE

#B896FE is a light, vivid violet. Relative luminance 0.392; OKLCH L 74.5% C 0.149 H 297.7°. Best body text is #000000 at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#B896FE
RGBrgb(184, 150, 254)
HSLhsl(260, 98%, 79%)
HSVhsv(260, 41%, 100%)
CMYKcmyk(27.6%, 40.9%, 0%, 0.4%)
CIE-LABlab(68.87, 33.91, -47.27)
CIE-LCHlch(68.87, 58.18, 305.65°)
OKLaboklab(74.52% 0.0695 -0.1321)
OKLCHoklch(74.52% 0.149 297.7)
XYZxyz(48.5587, 39.1584, 98.7468)
Luminance0.3916 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B896FE #DCFE96
analogous
#96A8FE #B896FE #EC96FE
triadic
#B896FE #FEB896 #96FEB8
tetradic
#B896FE #FE96A8 #DCFE96 #96FEEC
square
#B896FE #FE96A8 #DCFE96 #96FEEC
split-complementary
#B896FE #FEEC96 #A8FE96
monochromatic
#661DFD #8F59FD #B896FE #E1D3FF #EBE1FF

Accessibility & contrast

On white

2.38
#B896FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.83
#B896FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B896FE
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B896FE#FFFFFF#000000##000000
##B896FE1.002.388.838.83
#FFFFFF2.381.0021.0021.00
#0000008.8321.001.001.00
##0000008.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#79A8FF
Deuteranopia (green-blind)
#7FA7FB
Tritanopia (blue-blind)
#AAA8BE
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #b896fe;
/* rgb */ color: rgb(184, 150, 254);
/* oklch */ color: oklch(74.5% 0.149 297.7);
Tailwind
colors: {
  custom: {
    50: '#cfb5ff',
    500: '#b896fe',
    950: '#000000',
  },
}
SCSS
$custom: #b896fe;
$custom-light: #cfb5ff;
$custom-dark: #000000;
JSON
{
  "hex": "#b896fe",
  "rgb": {
    "r": 184,
    "g": 150,
    "b": 254
  },
  "hsl": {
    "h": 259.615,
    "s": 98.113,
    "l": 79.216
  },
  "oklch": {
    "l": 0.74517,
    "c": 0.14931,
    "h": 297.7
  },
  "luminance": 0.39159
}

Semantic roles & 50–950 ramp

primary
#B896FE
secondary
#ECF7D4
accent
#E6009A
background
#FCFBFF
surface
#F9F6FF
border
#D2D0D7
text
#141118
muted
#828086

Preview Lab

Preview with #B896FE

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

Preview Lab → · Contrast checker → · Palette generator →

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