#B396DB#B396DB

#B396DB is a light, moderate violet. Relative luminance 0.365; OKLCH L 72.4% C 0.103 H 303.2°. Best body text is #000000 at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#B396DB
RGBrgb(179, 150, 219)
HSLhsl(265, 49%, 72%)
HSVhsv(265, 32%, 86%)
CMYKcmyk(18.3%, 31.5%, 0%, 14.1%)
CIE-LABlab(66.91, 24.32, -31.15)
CIE-LCHlch(66.91, 39.52, 307.98°)
OKLaboklab(72.43% 0.0562 -0.0858)
OKLCHoklch(72.43% 0.103 303.2)
XYZxyz(42.2803, 36.5109, 71.8240)
Luminance0.3651 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B396DB #BEDB96
analogous
#969CDB #B396DB #D596DB
triadic
#B396DB #DBB396 #96DBB3
tetradic
#B396DB #DB969C #BEDB96 #96DBD5
square
#B396DB #DB969C #BEDB96 #96DBD5
split-complementary
#B396DB #DBD596 #9CDB96
monochromatic
#723FB8 #9268CB #B396DB #D4C4EB #EFE8F7

Accessibility & contrast

On white

2.53
#B396DB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.30
#B396DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B396DB
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B396DB#FFFFFF#000000##000000
##B396DB1.002.538.308.30
#FFFFFF2.531.0021.0021.00
#0000008.3021.001.001.00
##0000008.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#88A2DE
Deuteranopia (green-blind)
#8DA3D9
Tritanopia (blue-blind)
#ADA0AF
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #b396db;
/* rgb */ color: rgb(179, 150, 219);
/* oklch */ color: oklch(72.4% 0.103 303.2);
Tailwind
colors: {
  custom: {
    50: '#cab5e6',
    500: '#b396db',
    950: '#000000',
  },
}
SCSS
$custom: #b396db;
$custom-light: #cab5e6;
$custom-dark: #000000;
JSON
{
  "hex": "#b396db",
  "rgb": {
    "r": 179,
    "g": 150,
    "b": 219
  },
  "hsl": {
    "h": 265.217,
    "s": 48.936,
    "l": 72.353
  },
  "oklch": {
    "l": 0.72426,
    "c": 0.1026,
    "h": 303.2
  },
  "luminance": 0.36511
}

Semantic roles & 50–950 ramp

primary
#B396DB
secondary
#E7EEDD
accent
#BC297E
background
#FCFBFE
surface
#F8F6FC
border
#D1D0D5
text
#131116
muted
#828084

Preview Lab

Preview with #B396DB

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

Preview Lab → · Contrast checker → · Palette generator →

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