#B396FF#B396FF

#B396FF is a light, vivid violet. Relative luminance 0.386; OKLCH L 74.1% C 0.150 H 295.2°. Best body text is #000000 at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#B396FF
RGBrgb(179, 150, 255)
HSLhsl(257, 100%, 79%)
HSVhsv(257, 41%, 100%)
CMYKcmyk(29.8%, 41.2%, 0%, 0%)
CIE-LABlab(68.47, 32.80, -48.46)
CIE-LCHlch(68.47, 58.52, 304.09°)
OKLaboklab(74.13% 0.0639 -0.1357)
OKLCHoklch(74.13% 0.15 295.2)
XYZxyz(47.5423, 38.6157, 99.5372)
Luminance0.3862 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B396FF #E2FF96
analogous
#96AEFF #B396FF #E796FF
triadic
#B396FF #FFB396 #96FFB3
tetradic
#B396FF #FF96AE #E2FF96 #96FFE7
square
#B396FF #FF96AE #E2FF96 #96FFE7
split-complementary
#B396FF #FFE796 #AEFF96
monochromatic
#5A1CFF #8759FF #B396FF #DFD3FF #E9E0FF

Accessibility & contrast

On white

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

On black

8.72
#B396FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B396FF
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B396FF#FFFFFF#000000##000000
##B396FF1.002.418.728.72
#FFFFFF2.411.0021.0021.00
#0000008.7221.001.001.00
##0000008.7221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b396ff;
/* rgb */ color: rgb(179, 150, 255);
/* oklch */ color: oklch(74.1% 0.150 295.2);
Tailwind
colors: {
  custom: {
    50: '#ccb5ff',
    500: '#b396ff',
    950: '#000000',
  },
}
SCSS
$custom: #b396ff;
$custom-light: #ccb5ff;
$custom-dark: #000000;
JSON
{
  "hex": "#b396ff",
  "rgb": {
    "r": 179,
    "g": 150,
    "b": 255
  },
  "hsl": {
    "h": 256.571,
    "s": 100,
    "l": 79.412
  },
  "oklch": {
    "l": 0.74129,
    "c": 0.15001,
    "h": 295.2
  },
  "luminance": 0.38616
}

Semantic roles & 50–950 ramp

primary
#B396FF
secondary
#EDF7D4
accent
#E600A6
background
#FCFBFF
surface
#F9F6FF
border
#D2D0D7
text
#141118
muted
#828086

Preview Lab

Preview with #B396FF

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

Preview Lab → · Contrast checker → · Palette generator →

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