#B396EB#B396EB

#B396EB is a light, vivid violet. Relative luminance 0.374; OKLCH L 73.2% C 0.124 H 299.0°. Best body text is #000000 at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#B396EB
RGBrgb(179, 150, 235)
HSLhsl(260, 68%, 75%)
HSVhsv(260, 36%, 92%)
CMYKcmyk(23.8%, 36.2%, 0%, 7.8%)
CIE-LABlab(67.57, 27.99, -38.94)
CIE-LCHlch(67.57, 47.96, 305.71°)
OKLaboklab(73.15% 0.06 -0.1082)
OKLCHoklch(73.15% 0.124 299)
XYZxyz(44.4888, 37.3943, 83.4552)
Luminance0.3740 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B396EB #CEEB96
analogous
#96A3EB #B396EB #DE96EB
triadic
#B396EB #EBB396 #96EBB3
tetradic
#B396EB #EB96A3 #CEEB96 #96EBDE
square
#B396EB #EB96A3 #CEEB96 #96EBDE
split-complementary
#B396EB #EBDE96 #A3EB96
monochromatic
#692FD7 #8E63E1 #B396EB #D8C9F5 #ECE5FA

Accessibility & contrast

On white

2.48
#B396EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.48
#B396EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B396EB
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B396EB#FFFFFF#000000##000000
##B396EB1.002.488.488.48
#FFFFFF2.481.0021.0021.00
#0000008.4821.001.001.00
##0000008.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#81A5EE
Deuteranopia (green-blind)
#86A4E9
Tritanopia (blue-blind)
#A8A4B6
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #b396eb;
/* rgb */ color: rgb(179, 150, 235);
/* oklch */ color: oklch(73.2% 0.124 299.0);
Tailwind
colors: {
  custom: {
    50: '#cbb5f1',
    500: '#b396eb',
    950: '#000000',
  },
}
SCSS
$custom: #b396eb;
$custom-light: #cbb5f1;
$custom-dark: #000000;
JSON
{
  "hex": "#b396eb",
  "rgb": {
    "r": 179,
    "g": 150,
    "b": 235
  },
  "hsl": {
    "h": 260.471,
    "s": 68,
    "l": 75.49
  },
  "oklch": {
    "l": 0.73151,
    "c": 0.1237,
    "h": 299
  },
  "luminance": 0.37395
}

Semantic roles & 50–950 ramp

primary
#B396EB
secondary
#E9F2D9
accent
#D01690
background
#FCFBFE
surface
#F9F6FD
border
#D2D0D5
text
#131117
muted
#828085

Preview Lab

Preview with #B396EB

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

Preview Lab → · Contrast checker → · Palette generator →

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