#B386EB#B386EB

#B386EB is a light, vivid violet. Relative luminance 0.326; OKLCH L 70.3% C 0.150 H 303.3°. Best body text is #000000 at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#B386EB
RGBrgb(179, 134, 235)
HSLhsl(267, 72%, 72%)
HSVhsv(267, 43%, 92%)
CMYKcmyk(23.8%, 43%, 0%, 7.8%)
CIE-LABlab(63.86, 36.93, -44.76)
CIE-LCHlch(63.86, 58.03, 309.53°)
OKLaboklab(70.34% 0.0821 -0.1249)
OKLCHoklch(70.34% 0.15 303.3)
XYZxyz(42.1077, 32.6321, 82.6615)
Luminance0.3263 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B386EB #BEEB86
analogous
#868BEB #B386EB #E686EB
triadic
#B386EB #EBB386 #86EBB3
tetradic
#B386EB #EB868B #BEEB86 #86EBE6
square
#B386EB #EB868B #BEEB86 #86EBE6
split-complementary
#B386EB #EBE686 #8BEB86
monochromatic
#7223D4 #9251E2 #B386EB #D4BBF4 #EFE5FB

Accessibility & contrast

On white

2.79
#B386EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.53
#B386EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B386EB
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B386EB#FFFFFF#000000##000000
##B386EB1.002.797.537.53
#FFFFFF2.791.0021.0021.00
#0000007.5321.001.001.00
##0000007.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C9AEF
Deuteranopia (green-blind)
#769BE8
Tritanopia (blue-blind)
#A997AD
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #b386eb;
/* rgb */ color: rgb(179, 134, 235);
/* oklch */ color: oklch(70.3% 0.150 303.3);
Tailwind
colors: {
  custom: {
    50: '#ccaaf2',
    500: '#b386eb',
    950: '#000000',
  },
}
SCSS
$custom: #b386eb;
$custom-light: #ccaaf2;
$custom-dark: #000000;
JSON
{
  "hex": "#b386eb",
  "rgb": {
    "r": 179,
    "g": 134,
    "b": 235
  },
  "hsl": {
    "h": 266.733,
    "s": 71.631,
    "l": 72.353
  },
  "oklch": {
    "l": 0.70342,
    "c": 0.14951,
    "h": 303.3
  },
  "luminance": 0.32632
}

Semantic roles & 50–950 ramp

primary
#B386EB
secondary
#E7F2D9
accent
#D4127D
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#131017
muted
#827F85

Preview Lab

Preview with #B386EB

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

Preview Lab → · Contrast checker → · Palette generator →

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