#B296FB#B296FB

#B296FB is a light, vivid violet. Relative luminance 0.382; OKLCH L 73.8% C 0.145 H 295.4°. Best body text is #000000 at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#B296FB
RGBrgb(178, 150, 251)
HSLhsl(257, 93%, 79%)
HSVhsv(257, 40%, 98%)
CMYKcmyk(29.1%, 40.2%, 0%, 1.6%)
CIE-LABlab(68.20, 31.55, -46.72)
CIE-LCHlch(68.20, 56.38, 304.03°)
OKLaboklab(73.84% 0.062 -0.1307)
OKLCHoklch(73.84% 0.145 295.4)
XYZxyz(46.6748, 38.2421, 96.1705)
Luminance0.3824 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B296FB #DFFB96
analogous
#96ACFB #B296FB #E596FB
triadic
#B296FB #FBB296 #96FBB2
tetradic
#B296FB #FB96AC #DFFB96 #96FBE5
square
#B296FB #FB96AC #DFFB96 #96FBE5
split-complementary
#B296FB #FBE596 #ACFB96
monochromatic
#5C20F7 #875BF9 #B296FB #DDD1FD #E9E2FE

Accessibility & contrast

On white

2.43
#B296FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.65
#B296FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B296FB
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B296FB#FFFFFF#000000##000000
##B296FB1.002.438.658.65
#FFFFFF2.431.0021.0021.00
#0000008.6521.001.001.00
##0000008.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#79A7FF
Deuteranopia (green-blind)
#7DA5F8
Tritanopia (blue-blind)
#A2A8BD
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #b296fb;
/* rgb */ color: rgb(178, 150, 251);
/* oklch */ color: oklch(73.8% 0.145 295.4);
Tailwind
colors: {
  custom: {
    50: '#cbb5fd',
    500: '#b296fb',
    950: '#000000',
  },
}
SCSS
$custom: #b296fb;
$custom-light: #cbb5fd;
$custom-dark: #000000;
JSON
{
  "hex": "#b296fb",
  "rgb": {
    "r": 178,
    "g": 150,
    "b": 251
  },
  "hsl": {
    "h": 256.634,
    "s": 92.661,
    "l": 78.627
  },
  "oklch": {
    "l": 0.7384,
    "c": 0.14467,
    "h": 295.4
  },
  "luminance": 0.38243
}

Semantic roles & 50–950 ramp

primary
#B296FB
secondary
#EDF6D5
accent
#E600A6
background
#FCFBFF
surface
#F9F6FF
border
#D2D0D7
text
#131117
muted
#828085

Preview Lab

Preview with #B296FB

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

Preview Lab → · Contrast checker → · Palette generator →

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