#B396EF#B396EF

#B396EF is a light, vivid violet. Relative luminance 0.376; OKLCH L 73.3% C 0.129 H 298.2°. Best body text is #000000 at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#B396EF
RGBrgb(179, 150, 239)
HSLhsl(260, 74%, 76%)
HSVhsv(260, 37%, 94%)
CMYKcmyk(25.1%, 37.2%, 0%, 6.3%)
CIE-LABlab(67.75, 28.94, -40.87)
CIE-LCHlch(67.75, 50.07, 305.30°)
OKLaboklab(73.34% 0.0609 -0.1137)
OKLCHoklch(73.34% 0.129 298.2)
XYZxyz(45.0732, 37.6281, 86.5329)
Luminance0.3763 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B396EF #D2EF96
analogous
#96A6EF #B396EF #E096EF
triadic
#B396EF #EFB396 #96EFB3
tetradic
#B396EF #EF96A6 #D2EF96 #96EFE0
square
#B396EF #EF96A6 #D2EF96 #96EFE0
split-complementary
#B396EF #EFE096 #A6EF96
monochromatic
#662CDF #8D61E7 #B396EF #D9CBF7 #ECE4FB

Accessibility & contrast

On white

2.46
#B396EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.53
#B396EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B396EF
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B396EF#FFFFFF#000000##000000
##B396EF1.002.468.538.53
#FFFFFF2.461.0021.0021.00
#0000008.5321.001.001.00
##0000008.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7FA5F2
Deuteranopia (green-blind)
#84A4ED
Tritanopia (blue-blind)
#A7A5B7
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #b396ef;
/* rgb */ color: rgb(179, 150, 239);
/* oklch */ color: oklch(73.3% 0.129 298.2);
Tailwind
colors: {
  custom: {
    50: '#cbb5f4',
    500: '#b396ef',
    950: '#000000',
  },
}
SCSS
$custom: #b396ef;
$custom-light: #cbb5f4;
$custom-dark: #000000;
JSON
{
  "hex": "#b396ef",
  "rgb": {
    "r": 179,
    "g": 150,
    "b": 239
  },
  "hsl": {
    "h": 259.551,
    "s": 73.554,
    "l": 76.275
  },
  "oklch": {
    "l": 0.7334,
    "c": 0.12898,
    "h": 298.2
  },
  "luminance": 0.37628
}

Semantic roles & 50–950 ramp

primary
#B396EF
secondary
#EAF3D8
accent
#D61095
background
#FCFBFE
surface
#F9F6FD
border
#D2D0D5
text
#131117
muted
#828085

Preview Lab

Preview with #B396EF

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

Preview Lab → · Contrast checker → · Palette generator →

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