#B296FD#B296FD

#B296FD is a light, vivid violet. Relative luminance 0.384; OKLCH L 73.9% C 0.147 H 295.1°. Best body text is #000000 at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#B296FD
RGBrgb(178, 150, 253)
HSLhsl(256, 96%, 79%)
HSVhsv(256, 41%, 99%)
CMYKcmyk(29.6%, 40.7%, 0%, 0.8%)
CIE-LABlab(68.29, 32.04, -47.67)
CIE-LCHlch(68.29, 57.43, 303.91°)
OKLaboklab(73.94% 0.0624 -0.1334)
OKLCHoklch(73.94% 0.147 295.1)
XYZxyz(46.9917, 38.3689, 97.8396)
Luminance0.3837 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B296FD #E1FD96
analogous
#96AEFD #B296FD #E696FD
triadic
#B296FD #FDB296 #96FDB2
tetradic
#B296FD #FD96AE #E1FD96 #96FDE6
square
#B296FD #FD96AE #E1FD96 #96FDE6
split-complementary
#B296FD #FDE696 #AEFD96
monochromatic
#5A1EFB #865AFC #B296FD #DED2FE #E9E1FE

Accessibility & contrast

On white

2.42
#B296FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.67
#B296FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B296FD
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B296FD#FFFFFF#000000##000000
##B296FD1.002.428.678.67
#FFFFFF2.421.0021.0021.00
#0000008.6721.001.001.00
##0000008.6721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b296fd;
/* rgb */ color: rgb(178, 150, 253);
/* oklch */ color: oklch(73.9% 0.147 295.1);
Tailwind
colors: {
  custom: {
    50: '#cbb5fe',
    500: '#b296fd',
    950: '#000000',
  },
}
SCSS
$custom: #b296fd;
$custom-light: #cbb5fe;
$custom-dark: #000000;
JSON
{
  "hex": "#b296fd",
  "rgb": {
    "r": 178,
    "g": 150,
    "b": 253
  },
  "hsl": {
    "h": 256.311,
    "s": 96.262,
    "l": 79.02
  },
  "oklch": {
    "l": 0.73941,
    "c": 0.14729,
    "h": 295.1
  },
  "luminance": 0.3837
}

Semantic roles & 50–950 ramp

primary
#B296FD
secondary
#EDF7D4
accent
#E600A7
background
#FCFBFF
surface
#F9F6FF
border
#D2D0D7
text
#131118
muted
#828086

Preview Lab

Preview with #B296FD

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

Preview Lab → · Contrast checker → · Palette generator →

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