#B396EE#B396EE

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

Color values

HEX#B396EE
RGBrgb(179, 150, 238)
HSLhsl(260, 72%, 76%)
HSVhsv(260, 37%, 93%)
CMYKcmyk(24.8%, 37%, 0%, 6.7%)
CIE-LABlab(67.70, 28.70, -40.39)
CIE-LCHlch(67.70, 49.55, 305.40°)
OKLaboklab(73.29% 0.0607 -0.1123)
OKLCHoklch(73.29% 0.128 298.4)
XYZxyz(44.9258, 37.5691, 85.7570)
Luminance0.3757 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B396EE #D1EE96
analogous
#96A5EE #B396EE #DF96EE
triadic
#B396EE #EEB396 #96EEB3
tetradic
#B396EE #EE96A5 #D1EE96 #96EEDF
square
#B396EE #EE96A5 #D1EE96 #96EEDF
split-complementary
#B396EE #EEDF96 #A5EE96
monochromatic
#672DDD #8D61E5 #B396EE #D9CBF7 #ECE5FB

Accessibility & contrast

On white

2.47
#B396EE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.51
#B396EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B396EE
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B396EE#FFFFFF#000000##000000
##B396EE1.002.478.518.51
#FFFFFF2.471.0021.0021.00
#0000008.5121.001.001.00
##0000008.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#80A5F1
Deuteranopia (green-blind)
#85A4EC
Tritanopia (blue-blind)
#A8A5B7
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #b396ee;
/* rgb */ color: rgb(179, 150, 238);
/* oklch */ color: oklch(73.3% 0.128 298.4);
Tailwind
colors: {
  custom: {
    50: '#cbb5f4',
    500: '#b396ee',
    950: '#000000',
  },
}
SCSS
$custom: #b396ee;
$custom-light: #cbb5f4;
$custom-dark: #000000;
JSON
{
  "hex": "#b396ee",
  "rgb": {
    "r": 179,
    "g": 150,
    "b": 238
  },
  "hsl": {
    "h": 259.773,
    "s": 72.131,
    "l": 76.078
  },
  "oklch": {
    "l": 0.73292,
    "c": 0.12766,
    "h": 298.4
  },
  "luminance": 0.37569
}

Semantic roles & 50–950 ramp

primary
#B396EE
secondary
#EAF2D9
accent
#D41194
background
#FCFBFE
surface
#F9F6FD
border
#D2D0D5
text
#131117
muted
#828085

Preview Lab

Preview with #B396EE

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

Preview Lab → · Contrast checker → · Palette generator →

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