#B396DC#B396DC

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

Color values

HEX#B396DC
RGBrgb(179, 150, 220)
HSLhsl(265, 50%, 73%)
HSVhsv(265, 32%, 86%)
CMYKcmyk(18.6%, 31.8%, 0%, 13.7%)
CIE-LABlab(66.95, 24.54, -31.65)
CIE-LCHlch(66.95, 40.05, 307.80°)
OKLaboklab(72.47% 0.0565 -0.0872)
OKLCHoklch(72.47% 0.104 302.9)
XYZxyz(42.4124, 36.5637, 72.5194)
Luminance0.3656 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B396DC #BFDC96
analogous
#969CDC #B396DC #D696DC
triadic
#B396DC #DCB396 #96DCB3
tetradic
#B396DC #DC969C #BFDC96 #96DCD6
square
#B396DC #DC969C #BFDC96 #96DCD6
split-complementary
#B396DC #DCD696 #9CDC96
monochromatic
#713EBA #9268CD #B396DC #D4C4EB #EEE8F7

Accessibility & contrast

On white

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

On black

8.31
#B396DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B396DC
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B396DC#FFFFFF#000000##000000
##B396DC1.002.538.318.31
#FFFFFF2.531.0021.0021.00
#0000008.3121.001.001.00
##0000008.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#87A2DF
Deuteranopia (green-blind)
#8DA3DA
Tritanopia (blue-blind)
#ACA1AF
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #b396dc;
/* rgb */ color: rgb(179, 150, 220);
/* oklch */ color: oklch(72.5% 0.104 302.9);
Tailwind
colors: {
  custom: {
    50: '#cab5e7',
    500: '#b396dc',
    950: '#000000',
  },
}
SCSS
$custom: #b396dc;
$custom-light: #cab5e7;
$custom-dark: #000000;
JSON
{
  "hex": "#b396dc",
  "rgb": {
    "r": 179,
    "g": 150,
    "b": 220
  },
  "hsl": {
    "h": 264.857,
    "s": 50,
    "l": 72.549
  },
  "oklch": {
    "l": 0.7247,
    "c": 0.10391,
    "h": 302.9
  },
  "luminance": 0.36564
}

Semantic roles & 50–950 ramp

primary
#B396DC
secondary
#E7EEDD
accent
#BD2880
background
#FCFBFE
surface
#F8F6FC
border
#D1D0D5
text
#131116
muted
#828084

Preview Lab

Preview with #B396DC

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

Preview Lab → · Contrast checker → · Palette generator →

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