#B396CA#B396CA

#B396CA is a light, moderate violet. Relative luminance 0.357; OKLCH L 71.7% C 0.081 H 309.7°. Best body text is #000000 at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#B396CA
RGBrgb(179, 150, 202)
HSLhsl(273, 33%, 69%)
HSVhsv(273, 26%, 79%)
CMYKcmyk(11.4%, 25.7%, 0%, 20.8%)
CIE-LABlab(66.26, 20.61, -22.72)
CIE-LCHlch(66.26, 30.67, 312.22°)
OKLaboklab(71.71% 0.0515 -0.0619)
OKLCHoklch(71.71% 0.081 309.7)
XYZxyz(40.1555, 35.6610, 60.6335)
Luminance0.3566 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B396CA #ADCA96
analogous
#9996CA #B396CA #CA96C7
triadic
#B396CA #CAB396 #96CAB3
tetradic
#B396CA #CA9996 #ADCA96 #96C7CA
square
#B396CA #CA9996 #ADCA96 #96C7CA
split-complementary
#B396CA #C7CA96 #96CA99
monochromatic
#774D99 #966DB5 #B396CA #D0BFDF #EEE7F3

Accessibility & contrast

On white

2.58
#B396CA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.13
#B396CA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B396CA
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B396CA#FFFFFF#000000##000000
##B396CA1.002.588.138.13
#FFFFFF2.581.0021.0021.00
#0000008.1321.001.001.00
##0000008.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8EA0CC
Deuteranopia (green-blind)
#93A2C8
Tritanopia (blue-blind)
#B19DA8
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #b396ca;
/* rgb */ color: rgb(179, 150, 202);
/* oklch */ color: oklch(71.7% 0.081 309.7);
Tailwind
colors: {
  custom: {
    50: '#cab5da',
    500: '#b396ca',
    950: '#000000',
  },
}
SCSS
$custom: #b396ca;
$custom-light: #cab5da;
$custom-dark: #000000;
JSON
{
  "hex": "#b396ca",
  "rgb": {
    "r": 179,
    "g": 150,
    "b": 202
  },
  "hsl": {
    "h": 273.462,
    "s": 32.911,
    "l": 69.02
  },
  "oklch": {
    "l": 0.71715,
    "c": 0.08053,
    "h": 309.7
  },
  "luminance": 0.35661
}

Semantic roles & 50–950 ramp

primary
#B396CA
secondary
#DDE6D6
accent
#AC3A6C
background
#FCFBFD
surface
#F8F6FA
border
#D1D0D3
text
#131114
muted
#828083

Preview Lab

Preview with #B396CA

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

Preview Lab → · Contrast checker → · Palette generator →

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