#B396D2#B396D2

#B396D2 is a light, moderate violet. Relative luminance 0.360; OKLCH L 72.0% C 0.091 H 306.3°. Best body text is #000000 at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#B396D2
RGBrgb(179, 150, 210)
HSLhsl(269, 40%, 71%)
HSVhsv(269, 29%, 82%)
CMYKcmyk(14.8%, 28.6%, 0%, 17.6%)
CIE-LABlab(66.56, 22.33, -26.71)
CIE-LCHlch(66.56, 34.81, 309.90°)
OKLaboklab(72.04% 0.0538 -0.0732)
OKLCHoklch(72.04% 0.091 306.3)
XYZxyz(41.1274, 36.0498, 65.7519)
Luminance0.3605 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B396D2 #B5D296
analogous
#9697D2 #B396D2 #D196D2
triadic
#B396D2 #D2B396 #96D2B3
tetradic
#B396D2 #D29697 #B5D296 #96D2D1
square
#B396D2 #D29697 #B5D296 #96D2D1
split-complementary
#B396D2 #D2D196 #97D296
monochromatic
#7547A6 #946BC0 #B396D2 #D2C1E4 #EFEAF6

Accessibility & contrast

On white

2.56
#B396D2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.21
#B396D2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B396D2
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B396D2#FFFFFF#000000##000000
##B396D21.002.568.218.21
#FFFFFF2.561.0021.0021.00
#0000008.2121.001.001.00
##0000008.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8BA1D4
Deuteranopia (green-blind)
#91A2D0
Tritanopia (blue-blind)
#AF9EAB
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #b396d2;
/* rgb */ color: rgb(179, 150, 210);
/* oklch */ color: oklch(72.0% 0.091 306.3);
Tailwind
colors: {
  custom: {
    50: '#cab5e0',
    500: '#b396d2',
    950: '#000000',
  },
}
SCSS
$custom: #b396d2;
$custom-light: #cab5e0;
$custom-dark: #000000;
JSON
{
  "hex": "#b396d2",
  "rgb": {
    "r": 179,
    "g": 150,
    "b": 210
  },
  "hsl": {
    "h": 269,
    "s": 40,
    "l": 70.588
  },
  "oklch": {
    "l": 0.72042,
    "c": 0.09083,
    "h": 306.3
  },
  "luminance": 0.3605
}

Semantic roles & 50–950 ramp

primary
#B396D2
secondary
#E2EADA
accent
#B33275
background
#FCFBFD
surface
#F8F6FB
border
#D1D0D4
text
#131115
muted
#828083

Preview Lab

Preview with #B396D2

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

Preview Lab → · Contrast checker → · Palette generator →

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