#B396E6#B396E6

#B396E6 is a light, moderate violet. Relative luminance 0.371; OKLCH L 72.9% C 0.117 H 300.2°. Best body text is #000000 at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#B396E6
RGBrgb(179, 150, 230)
HSLhsl(262, 62%, 75%)
HSVhsv(262, 35%, 90%)
CMYKcmyk(22.2%, 34.8%, 0%, 9.8%)
CIE-LABlab(67.36, 26.83, -36.53)
CIE-LCHlch(67.36, 45.32, 306.30°)
OKLaboklab(72.92% 0.0589 -0.1012)
OKLCHoklch(72.92% 0.117 300.2)
XYZxyz(43.7765, 37.1094, 79.7041)
Luminance0.3711 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B396E6 #C9E696
analogous
#96A1E6 #B396E6 #DB96E6
triadic
#B396E6 #E6B396 #96E6B3
tetradic
#B396E6 #E696A1 #C9E696 #96E6DB
square
#B396E6 #E696A1 #C9E696 #96E6DB
split-complementary
#B396E6 #E6DB96 #A1E696
monochromatic
#6B33CE #8F65DA #B396E6 #D7C7F2 #EDE6F9

Accessibility & contrast

On white

2.49
#B396E6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.42
#B396E6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B396E6
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B396E6#FFFFFF#000000##000000
##B396E61.002.498.428.42
#FFFFFF2.491.0021.0021.00
#0000008.4221.001.001.00
##0000008.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#83A4E9
Deuteranopia (green-blind)
#88A4E4
Tritanopia (blue-blind)
#AAA3B3
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #b396e6;
/* rgb */ color: rgb(179, 150, 230);
/* oklch */ color: oklch(72.9% 0.117 300.2);
Tailwind
colors: {
  custom: {
    50: '#cbb5ee',
    500: '#b396e6',
    950: '#000000',
  },
}
SCSS
$custom: #b396e6;
$custom-light: #cbb5ee;
$custom-dark: #000000;
JSON
{
  "hex": "#b396e6",
  "rgb": {
    "r": 179,
    "g": 150,
    "b": 230
  },
  "hsl": {
    "h": 261.75,
    "s": 61.538,
    "l": 74.51
  },
  "oklch": {
    "l": 0.72919,
    "c": 0.1171,
    "h": 300.2
  },
  "luminance": 0.3711
}

Semantic roles & 50–950 ramp

primary
#B396E6
secondary
#E9F0DB
accent
#C91C8B
background
#FCFBFE
surface
#F9F6FD
border
#D2D0D5
text
#131116
muted
#828084

Preview Lab

Preview with #B396E6

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

Preview Lab → · Contrast checker → · Palette generator →

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