#B396CF#B396CF

#B396CF is a light, moderate violet. Relative luminance 0.359; OKLCH L 71.9% C 0.087 H 307.5°. Best body text is #000000 at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#B396CF
RGBrgb(179, 150, 207)
HSLhsl(271, 37%, 70%)
HSVhsv(271, 28%, 81%)
CMYKcmyk(13.5%, 27.5%, 0%, 18.8%)
CIE-LABlab(66.44, 21.68, -25.22)
CIE-LCHlch(66.44, 33.25, 310.69°)
OKLaboklab(71.92% 0.0529 -0.069)
OKLCHoklch(71.92% 0.087 307.5)
XYZxyz(40.7572, 35.9017, 63.8020)
Luminance0.3590 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B396CF #B2CF96
analogous
#9696CF #B396CF #CF96CF
triadic
#B396CF #CFB396 #96CFB3
tetradic
#B396CF #CF9696 #B2CF96 #96CFCF
square
#B396CF #CF9696 #B2CF96 #96CFCF
split-complementary
#B396CF #CFCF96 #96CF96
monochromatic
#764AA1 #956CBC #B396CF #D1C0E2 #F0EAF5

Accessibility & contrast

On white

2.57
#B396CF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.18
#B396CF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B396CF
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B396CF#FFFFFF#000000##000000
##B396CF1.002.578.188.18
#FFFFFF2.571.0021.0021.00
#0000008.1821.001.001.00
##0000008.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8CA0D1
Deuteranopia (green-blind)
#92A2CD
Tritanopia (blue-blind)
#AF9EAA
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #b396cf;
/* rgb */ color: rgb(179, 150, 207);
/* oklch */ color: oklch(71.9% 0.087 307.5);
Tailwind
colors: {
  custom: {
    50: '#cab5dd',
    500: '#b396cf',
    950: '#000000',
  },
}
SCSS
$custom: #b396cf;
$custom-light: #cab5dd;
$custom-dark: #000000;
JSON
{
  "hex": "#b396cf",
  "rgb": {
    "r": 179,
    "g": 150,
    "b": 207
  },
  "hsl": {
    "h": 270.526,
    "s": 37.255,
    "l": 70
  },
  "oklch": {
    "l": 0.71918,
    "c": 0.08694,
    "h": 307.5
  },
  "luminance": 0.35901
}

Semantic roles & 50–950 ramp

primary
#B396CF
secondary
#E0E8D8
accent
#B03572
background
#FCFBFD
surface
#F8F6FB
border
#D1D0D4
text
#131115
muted
#828083

Preview Lab

Preview with #B396CF

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

Preview Lab → · Contrast checker → · Palette generator →

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