#B396CD#B396CD

#B396CD is a light, moderate violet. Relative luminance 0.358; OKLCH L 71.8% C 0.084 H 308.3°. Best body text is #000000 at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#B396CD
RGBrgb(179, 150, 205)
HSLhsl(272, 35%, 70%)
HSVhsv(272, 27%, 80%)
CMYKcmyk(12.7%, 26.8%, 0%, 19.6%)
CIE-LABlab(66.37, 21.25, -24.22)
CIE-LCHlch(66.37, 32.22, 311.26°)
OKLaboklab(71.84% 0.0523 -0.0662)
OKLCHoklch(71.84% 0.084 308.3)
XYZxyz(40.5142, 35.8045, 62.5224)
Luminance0.3580 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B396CD #B0CD96
analogous
#9896CD #B396CD #CD96CC
triadic
#B396CD #CDB396 #96CDB3
tetradic
#B396CD #CD9896 #B0CD96 #96CCCD
square
#B396CD #CD9896 #B0CD96 #96CCCD
split-complementary
#B396CD #CCCD96 #96CD98
monochromatic
#774B9E #956DB9 #B396CD #D1BFE1 #EFE9F4

Accessibility & contrast

On white

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

On black

8.16
#B396CD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B396CD
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B396CD#FFFFFF#000000##000000
##B396CD1.002.578.168.16
#FFFFFF2.571.0021.0021.00
#0000008.1621.001.001.00
##0000008.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8DA0CF
Deuteranopia (green-blind)
#92A2CB
Tritanopia (blue-blind)
#B09DA9
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #b396cd;
/* rgb */ color: rgb(179, 150, 205);
/* oklch */ color: oklch(71.8% 0.084 308.3);
Tailwind
colors: {
  custom: {
    50: '#cab5dc',
    500: '#b396cd',
    950: '#000000',
  },
}
SCSS
$custom: #b396cd;
$custom-light: #cab5dc;
$custom-dark: #000000;
JSON
{
  "hex": "#b396cd",
  "rgb": {
    "r": 179,
    "g": 150,
    "b": 205
  },
  "hsl": {
    "h": 271.636,
    "s": 35.484,
    "l": 69.608
  },
  "oklch": {
    "l": 0.71836,
    "c": 0.08436,
    "h": 308.3
  },
  "luminance": 0.35804
}

Semantic roles & 50–950 ramp

primary
#B396CD
secondary
#DFE7D8
accent
#AE3770
background
#FCFBFD
surface
#F8F6FB
border
#D1D0D4
text
#131115
muted
#828083

Preview Lab

Preview with #B396CD

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

Preview Lab → · Contrast checker → · Palette generator →

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