#B296FF#B296FF

#B296FF is a light, vivid violet. Relative luminance 0.385; OKLCH L 74.0% C 0.150 H 294.7°. Best body text is #000000 at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#B296FF
RGBrgb(178, 150, 255)
HSLhsl(256, 100%, 79%)
HSVhsv(256, 41%, 100%)
CMYKcmyk(30.2%, 41.2%, 0%, 0%)
CIE-LABlab(68.39, 32.53, -48.61)
CIE-LCHlch(68.39, 58.49, 303.79°)
OKLaboklab(74.04% 0.0627 -0.1362)
OKLCHoklch(74.04% 0.15 294.7)
XYZxyz(47.3120, 38.4970, 99.5264)
Luminance0.3850 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B296FF #E3FF96
analogous
#96AFFF #B296FF #E796FF
triadic
#B296FF #FFB296 #96FFB2
tetradic
#B296FF #FF96AF #E3FF96 #96FFE7
square
#B296FF #FF96AF #E3FF96 #96FFE7
split-complementary
#B296FF #FFE796 #AFFF96
monochromatic
#581CFF #8559FF #B296FF #DFD3FF #E9E0FF

Accessibility & contrast

On white

2.41
#B296FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.70
#B296FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B296FF
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B296FF#FFFFFF#000000##000000
##B296FF1.002.418.708.70
#FFFFFF2.411.0021.0021.00
#0000008.7021.001.001.00
##0000008.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#77A8FF
Deuteranopia (green-blind)
#7BA5FC
Tritanopia (blue-blind)
#A1A9BE
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #b296ff;
/* rgb */ color: rgb(178, 150, 255);
/* oklch */ color: oklch(74.0% 0.150 294.7);
Tailwind
colors: {
  custom: {
    50: '#cbb5ff',
    500: '#b296ff',
    950: '#000000',
  },
}
SCSS
$custom: #b296ff;
$custom-light: #cbb5ff;
$custom-dark: #000000;
JSON
{
  "hex": "#b296ff",
  "rgb": {
    "r": 178,
    "g": 150,
    "b": 255
  },
  "hsl": {
    "h": 256,
    "s": 100,
    "l": 79.412
  },
  "oklch": {
    "l": 0.74043,
    "c": 0.14992,
    "h": 294.7
  },
  "luminance": 0.38498
}

Semantic roles & 50–950 ramp

primary
#B296FF
secondary
#EEF7D4
accent
#E600A8
background
#FCFBFF
surface
#F9F6FF
border
#D2D0D7
text
#141118
muted
#828086

Preview Lab

Preview with #B296FF

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

Preview Lab → · Contrast checker → · Palette generator →

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