#B396CC#B396CC

#B396CC is a light, moderate violet. Relative luminance 0.358; OKLCH L 71.8% C 0.083 H 308.8°. Best body text is #000000 at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#B396CC
RGBrgb(179, 150, 204)
HSLhsl(272, 35%, 69%)
HSVhsv(272, 26%, 80%)
CMYKcmyk(12.3%, 26.5%, 0%, 20%)
CIE-LABlab(66.33, 21.04, -23.72)
CIE-LCHlch(66.33, 31.70, 311.57°)
OKLaboklab(71.8% 0.0521 -0.0648)
OKLCHoklch(71.8% 0.083 308.8)
XYZxyz(40.3939, 35.7564, 61.8887)
Luminance0.3576 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B396CC #AFCC96
analogous
#9896CC #B396CC #CC96CA
triadic
#B396CC #CCB396 #96CCB3
tetradic
#B396CC #CC9896 #AFCC96 #96CACC
square
#B396CC #CC9896 #AFCC96 #96CACC
split-complementary
#B396CC #CACC96 #96CC98
monochromatic
#774C9C #956DB8 #B396CC #D1BFE0 #EFE8F4

Accessibility & contrast

On white

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

On black

8.15
#B396CC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B396CC
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B396CC#FFFFFF#000000##000000
##B396CC1.002.588.158.15
#FFFFFF2.581.0021.0021.00
#0000008.1521.001.001.00
##0000008.1521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b396cc;
/* rgb */ color: rgb(179, 150, 204);
/* oklch */ color: oklch(71.8% 0.083 308.8);
Tailwind
colors: {
  custom: {
    50: '#cab5db',
    500: '#b396cc',
    950: '#000000',
  },
}
SCSS
$custom: #b396cc;
$custom-light: #cab5db;
$custom-dark: #000000;
JSON
{
  "hex": "#b396cc",
  "rgb": {
    "r": 179,
    "g": 150,
    "b": 204
  },
  "hsl": {
    "h": 272.222,
    "s": 34.615,
    "l": 69.412
  },
  "oklch": {
    "l": 0.71795,
    "c": 0.08308,
    "h": 308.8
  },
  "luminance": 0.35756
}

Semantic roles & 50–950 ramp

primary
#B396CC
secondary
#DEE7D7
accent
#AD386E
background
#FCFBFD
surface
#F8F6FB
border
#D1D0D4
text
#131115
muted
#828083

Preview Lab

Preview with #B396CC

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

Preview Lab → · Contrast checker → · Palette generator →

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