#B396CB#B396CB

#B396CB is a light, moderate violet. Relative luminance 0.357; OKLCH L 71.8% C 0.082 H 309.3°. Best body text is #000000 at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#B396CB
RGBrgb(179, 150, 203)
HSLhsl(273, 34%, 69%)
HSVhsv(273, 26%, 80%)
CMYKcmyk(11.8%, 26.1%, 0%, 20.4%)
CIE-LABlab(66.30, 20.82, -23.22)
CIE-LCHlch(66.30, 31.19, 311.89°)
OKLaboklab(71.76% 0.0518 -0.0633)
OKLCHoklch(71.76% 0.082 309.3)
XYZxyz(40.2743, 35.7085, 61.2591)
Luminance0.3571 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B396CB #AECB96
analogous
#9996CB #B396CB #CB96C9
triadic
#B396CB #CBB396 #96CBB3
tetradic
#B396CB #CB9996 #AECB96 #96C9CB
square
#B396CB #CB9996 #AECB96 #96C9CB
split-complementary
#B396CB #C9CB96 #96CB99
monochromatic
#774C9A #956DB7 #B396CB #D1BFDF #EEE8F4

Accessibility & contrast

On white

2.58
#B396CB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.14
#B396CB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B396CB
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B396CB#FFFFFF#000000##000000
##B396CB1.002.588.148.14
#FFFFFF2.581.0021.0021.00
#0000008.1421.001.001.00
##0000008.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8DA0CD
Deuteranopia (green-blind)
#93A2C9
Tritanopia (blue-blind)
#B09DA9
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #b396cb;
/* rgb */ color: rgb(179, 150, 203);
/* oklch */ color: oklch(71.8% 0.082 309.3);
Tailwind
colors: {
  custom: {
    50: '#cab5db',
    500: '#b396cb',
    950: '#000000',
  },
}
SCSS
$custom: #b396cb;
$custom-light: #cab5db;
$custom-dark: #000000;
JSON
{
  "hex": "#b396cb",
  "rgb": {
    "r": 179,
    "g": 150,
    "b": 203
  },
  "hsl": {
    "h": 272.83,
    "s": 33.758,
    "l": 69.216
  },
  "oklch": {
    "l": 0.71755,
    "c": 0.08181,
    "h": 309.3
  },
  "luminance": 0.35708
}

Semantic roles & 50–950 ramp

primary
#B396CB
secondary
#DEE6D7
accent
#AD396D
background
#FCFBFD
surface
#F8F6FA
border
#D1D0D3
text
#131115
muted
#828083

Preview Lab

Preview with #B396CB

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

Preview Lab → · Contrast checker → · Palette generator →

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