#B896FC#B896FC

#B896FC is a light, vivid violet. Relative luminance 0.390; OKLCH L 74.4% C 0.147 H 298.1°. Best body text is #000000 at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#B896FC
RGBrgb(184, 150, 252)
HSLhsl(260, 94%, 79%)
HSVhsv(260, 40%, 99%)
CMYKcmyk(27%, 40.5%, 0%, 1.2%)
CIE-LABlab(68.77, 33.43, -46.33)
CIE-LCHlch(68.77, 57.13, 305.82°)
OKLaboklab(74.42% 0.0691 -0.1294)
OKLCHoklch(74.42% 0.147 298.1)
XYZxyz(48.2401, 39.0309, 97.0688)
Luminance0.3903 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B896FC #DAFC96
analogous
#96A7FC #B896FC #EB96FC
triadic
#B896FC #FCB896 #96FCB8
tetradic
#B896FC #FC96A7 #DAFC96 #96FCEB
square
#B896FC #FC96A7 #DAFC96 #96FCEB
split-complementary
#B896FC #FCEB96 #A7FC96
monochromatic
#681FF9 #905BFA #B896FC #E0D2FE #EBE1FE

Accessibility & contrast

On white

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

On black

8.81
#B896FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B896FC
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B896FC#FFFFFF#000000##000000
##B896FC1.002.388.818.81
#FFFFFF2.381.0021.0021.00
#0000008.8121.001.001.00
##0000008.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7AA8FF
Deuteranopia (green-blind)
#80A7F9
Tritanopia (blue-blind)
#AAA8BD
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #b896fc;
/* rgb */ color: rgb(184, 150, 252);
/* oklch */ color: oklch(74.4% 0.147 298.1);
Tailwind
colors: {
  custom: {
    50: '#cfb5fe',
    500: '#b896fc',
    950: '#000000',
  },
}
SCSS
$custom: #b896fc;
$custom-light: #cfb5fe;
$custom-dark: #000000;
JSON
{
  "hex": "#b896fc",
  "rgb": {
    "r": 184,
    "g": 150,
    "b": 252
  },
  "hsl": {
    "h": 260,
    "s": 94.444,
    "l": 78.824
  },
  "oklch": {
    "l": 0.74417,
    "c": 0.14672,
    "h": 298.1
  },
  "luminance": 0.39031
}

Semantic roles & 50–950 ramp

primary
#B896FC
secondary
#EBF6D5
accent
#E60099
background
#FCFBFF
surface
#F9F6FF
border
#D2D0D7
text
#141118
muted
#828086

Preview Lab

Preview with #B896FC

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

Preview Lab → · Contrast checker → · Palette generator →

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