#B396EA#B396EA

#B396EA is a light, vivid violet. Relative luminance 0.373; OKLCH L 73.1% C 0.122 H 299.2°. Best body text is #000000 at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#B396EA
RGBrgb(179, 150, 234)
HSLhsl(261, 67%, 75%)
HSVhsv(261, 36%, 92%)
CMYKcmyk(23.5%, 35.9%, 0%, 8.2%)
CIE-LABlab(67.53, 27.76, -38.46)
CIE-LCHlch(67.53, 47.43, 305.82°)
OKLaboklab(73.1% 0.0598 -0.1068)
OKLCHoklch(73.1% 0.122 299.2)
XYZxyz(44.3447, 37.3367, 82.6964)
Luminance0.3734 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B396EA #CDEA96
analogous
#96A3EA #B396EA #DD96EA
triadic
#B396EA #EAB396 #96EAB3
tetradic
#B396EA #EA96A3 #CDEA96 #96EADD
square
#B396EA #EA96A3 #CDEA96 #96EADD
split-complementary
#B396EA #EADD96 #A3EA96
monochromatic
#6930D6 #8E63E0 #B396EA #D8C9F4 #EDE5FA

Accessibility & contrast

On white

2.48
#B396EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.47
#B396EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B396EA
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B396EA#FFFFFF#000000##000000
##B396EA1.002.488.478.47
#FFFFFF2.481.0021.0021.00
#0000008.4721.001.001.00
##0000008.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#81A4ED
Deuteranopia (green-blind)
#87A4E8
Tritanopia (blue-blind)
#A9A4B5
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #b396ea;
/* rgb */ color: rgb(179, 150, 234);
/* oklch */ color: oklch(73.1% 0.122 299.2);
Tailwind
colors: {
  custom: {
    50: '#cbb5f1',
    500: '#b396ea',
    950: '#000000',
  },
}
SCSS
$custom: #b396ea;
$custom-light: #cbb5f1;
$custom-dark: #000000;
JSON
{
  "hex": "#b396ea",
  "rgb": {
    "r": 179,
    "g": 150,
    "b": 234
  },
  "hsl": {
    "h": 260.714,
    "s": 66.667,
    "l": 75.294
  },
  "oklch": {
    "l": 0.73104,
    "c": 0.12238,
    "h": 299.2
  },
  "luminance": 0.37337
}

Semantic roles & 50–950 ramp

primary
#B396EA
secondary
#E9F1DA
accent
#CF178F
background
#FCFBFE
surface
#F9F6FD
border
#D2D0D5
text
#131116
muted
#828084

Preview Lab

Preview with #B396EA

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

Preview Lab → · Contrast checker → · Palette generator →

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