#B896FA#B896FA

#B896FA is a light, vivid violet. Relative luminance 0.389; OKLCH L 74.3% C 0.144 H 298.5°. Best body text is #000000 at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#B896FA
RGBrgb(184, 150, 250)
HSLhsl(260, 91%, 78%)
HSVhsv(260, 40%, 98%)
CMYKcmyk(26.4%, 40%, 0%, 2%)
CIE-LABlab(68.68, 32.95, -45.38)
CIE-LCHlch(68.68, 56.08, 305.99°)
OKLaboklab(74.32% 0.0688 -0.1267)
OKLCHoklch(74.32% 0.144 298.5)
XYZxyz(47.9248, 38.9048, 95.4085)
Luminance0.3891 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B896FA #D8FA96
analogous
#96A6FA #B896FA #EA96FA
triadic
#B896FA #FAB896 #96FAB8
tetradic
#B896FA #FA96A6 #D8FA96 #96FAEA
square
#B896FA #FA96A6 #D8FA96 #96FAEA
split-complementary
#B896FA #FAEA96 #A6FA96
monochromatic
#6921F4 #905CF7 #B896FA #E0D0FD #EBE2FE

Accessibility & contrast

On white

2.39
#B896FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.78
#B896FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B896FA
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B896FA#FFFFFF#000000##000000
##B896FA1.002.398.788.78
#FFFFFF2.391.0021.0021.00
#0000008.7821.001.001.00
##0000008.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7BA8FE
Deuteranopia (green-blind)
#81A7F7
Tritanopia (blue-blind)
#ABA7BC
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #b896fa;
/* rgb */ color: rgb(184, 150, 250);
/* oklch */ color: oklch(74.3% 0.144 298.5);
Tailwind
colors: {
  custom: {
    50: '#cfb5fc',
    500: '#b896fa',
    950: '#000000',
  },
}
SCSS
$custom: #b896fa;
$custom-light: #cfb5fc;
$custom-dark: #000000;
JSON
{
  "hex": "#b896fa",
  "rgb": {
    "r": 184,
    "g": 150,
    "b": 250
  },
  "hsl": {
    "h": 260.4,
    "s": 90.909,
    "l": 78.431
  },
  "oklch": {
    "l": 0.74318,
    "c": 0.14413,
    "h": 298.5
  },
  "luminance": 0.38905
}

Semantic roles & 50–950 ramp

primary
#B896FA
secondary
#EBF6D5
accent
#E60097
background
#FCFBFF
surface
#F9F6FF
border
#D2D0D7
text
#141117
muted
#828085

Preview Lab

Preview with #B896FA

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

Preview Lab → · Contrast checker → · Palette generator →

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