#B396DF#B396DF

#B396DF is a light, moderate violet. Relative luminance 0.367; OKLCH L 72.6% C 0.108 H 302.0°. Best body text is #000000 at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#B396DF
RGBrgb(179, 150, 223)
HSLhsl(264, 53%, 73%)
HSVhsv(264, 33%, 87%)
CMYKcmyk(19.7%, 32.7%, 0%, 12.5%)
CIE-LABlab(67.07, 25.22, -33.12)
CIE-LCHlch(67.07, 41.63, 307.29°)
OKLaboklab(72.6% 0.0572 -0.0914)
OKLCHoklch(72.6% 0.108 302)
XYZxyz(42.8132, 36.7241, 74.6307)
Luminance0.3672 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B396DF #C2DF96
analogous
#969DDF #B396DF #D896DF
triadic
#B396DF #DFB396 #96DFB3
tetradic
#B396DF #DF969D #C2DF96 #96DFD8
square
#B396DF #DF969D #C2DF96 #96DFD8
split-complementary
#B396DF #DFD896 #9DDF96
monochromatic
#703BC0 #9167D1 #B396DF #D5C5ED #EEE8F8

Accessibility & contrast

On white

2.52
#B396DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.34
#B396DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B396DF
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B396DF#FFFFFF#000000##000000
##B396DF1.002.528.348.34
#FFFFFF2.521.0021.0021.00
#0000008.3421.001.001.00
##0000008.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#86A3E2
Deuteranopia (green-blind)
#8BA3DD
Tritanopia (blue-blind)
#ACA1B1
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #b396df;
/* rgb */ color: rgb(179, 150, 223);
/* oklch */ color: oklch(72.6% 0.108 302.0);
Tailwind
colors: {
  custom: {
    50: '#cab5e9',
    500: '#b396df',
    950: '#000000',
  },
}
SCSS
$custom: #b396df;
$custom-light: #cab5e9;
$custom-dark: #000000;
JSON
{
  "hex": "#b396df",
  "rgb": {
    "r": 179,
    "g": 150,
    "b": 223
  },
  "hsl": {
    "h": 263.836,
    "s": 53.285,
    "l": 73.137
  },
  "oklch": {
    "l": 0.72602,
    "c": 0.10786,
    "h": 302
  },
  "luminance": 0.36724
}

Semantic roles & 50–950 ramp

primary
#B396DF
secondary
#E7EFDC
accent
#C12583
background
#FCFBFE
surface
#F8F6FD
border
#D1D0D5
text
#131116
muted
#828084

Preview Lab

Preview with #B396DF

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

Preview Lab → · Contrast checker → · Palette generator →

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