#B396DD#B396DD

#B396DD is a light, moderate violet. Relative luminance 0.366; OKLCH L 72.5% C 0.105 H 302.6°. Best body text is #000000 at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#B396DD
RGBrgb(179, 150, 221)
HSLhsl(265, 51%, 73%)
HSVhsv(265, 32%, 87%)
CMYKcmyk(19%, 32.1%, 0%, 13.3%)
CIE-LABlab(66.99, 24.77, -32.14)
CIE-LCHlch(66.99, 40.57, 307.62°)
OKLaboklab(72.51% 0.0567 -0.0886)
OKLCHoklch(72.51% 0.105 302.6)
XYZxyz(42.5452, 36.6169, 73.2190)
Luminance0.3662 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B396DD #C0DD96
analogous
#969CDD #B396DD #D696DD
triadic
#B396DD #DDB396 #96DDB3
tetradic
#B396DD #DD969C #C0DD96 #96DDD6
square
#B396DD #DD969C #C0DD96 #96DDD6
split-complementary
#B396DD #DDD696 #9CDD96
monochromatic
#713DBC #9268CE #B396DD #D4C4EC #EEE8F8

Accessibility & contrast

On white

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

On black

8.32
#B396DD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B396DD
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B396DD#FFFFFF#000000##000000
##B396DD1.002.528.328.32
#FFFFFF2.521.0021.0021.00
#0000008.3221.001.001.00
##0000008.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#87A2E0
Deuteranopia (green-blind)
#8CA3DB
Tritanopia (blue-blind)
#ACA1B0
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #b396dd;
/* rgb */ color: rgb(179, 150, 221);
/* oklch */ color: oklch(72.5% 0.105 302.6);
Tailwind
colors: {
  custom: {
    50: '#cab5e7',
    500: '#b396dd',
    950: '#000000',
  },
}
SCSS
$custom: #b396dd;
$custom-light: #cab5e7;
$custom-dark: #000000;
JSON
{
  "hex": "#b396dd",
  "rgb": {
    "r": 179,
    "g": 150,
    "b": 221
  },
  "hsl": {
    "h": 264.507,
    "s": 51.079,
    "l": 72.745
  },
  "oklch": {
    "l": 0.72514,
    "c": 0.10523,
    "h": 302.6
  },
  "luminance": 0.36617
}

Semantic roles & 50–950 ramp

primary
#B396DD
secondary
#E7EFDC
accent
#BE2781
background
#FCFBFE
surface
#F8F6FC
border
#D1D0D5
text
#131116
muted
#828084

Preview Lab

Preview with #B396DD

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

Preview Lab → · Contrast checker → · Palette generator →

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