#B896FD#B896FD

#B896FD is a light, vivid violet. Relative luminance 0.391; OKLCH L 74.5% C 0.148 H 297.9°. Best body text is #000000 at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#B896FD
RGBrgb(184, 150, 253)
HSLhsl(260, 96%, 79%)
HSVhsv(260, 41%, 99%)
CMYKcmyk(27.3%, 40.7%, 0%, 0.8%)
CIE-LABlab(68.82, 33.67, -46.80)
CIE-LCHlch(68.82, 57.65, 305.73°)
OKLaboklab(74.47% 0.0693 -0.1308)
OKLCHoklch(74.47% 0.148 297.9)
XYZxyz(48.3990, 39.0945, 97.9056)
Luminance0.3910 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B896FD #DBFD96
analogous
#96A8FD #B896FD #EC96FD
triadic
#B896FD #FDB896 #96FDB8
tetradic
#B896FD #FD96A8 #DBFD96 #96FDEC
square
#B896FD #FD96A8 #DBFD96 #96FDEC
split-complementary
#B896FD #FDEC96 #A8FD96
monochromatic
#671EFB #8F5AFC #B896FD #E1D2FE #EBE1FE

Accessibility & contrast

On white

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

On black

8.82
#B896FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B896FD
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B896FD#FFFFFF#000000##000000
##B896FD1.002.388.828.82
#FFFFFF2.381.0021.0021.00
#0000008.8221.001.001.00
##0000008.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#79A8FF
Deuteranopia (green-blind)
#80A7FA
Tritanopia (blue-blind)
#AAA8BD
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #b896fd;
/* rgb */ color: rgb(184, 150, 253);
/* oklch */ color: oklch(74.5% 0.148 297.9);
Tailwind
colors: {
  custom: {
    50: '#cfb5fe',
    500: '#b896fd',
    950: '#000000',
  },
}
SCSS
$custom: #b896fd;
$custom-light: #cfb5fe;
$custom-dark: #000000;
JSON
{
  "hex": "#b896fd",
  "rgb": {
    "r": 184,
    "g": 150,
    "b": 253
  },
  "hsl": {
    "h": 259.806,
    "s": 96.262,
    "l": 79.02
  },
  "oklch": {
    "l": 0.74467,
    "c": 0.14801,
    "h": 297.9
  },
  "luminance": 0.39095
}

Semantic roles & 50–950 ramp

primary
#B896FD
secondary
#EBF7D4
accent
#E6009A
background
#FCFBFF
surface
#F9F6FF
border
#D2D0D7
text
#141118
muted
#828086

Preview Lab

Preview with #B896FD

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

Preview Lab → · Contrast checker → · Palette generator →

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