#B386EF#B386EF

#B386EF is a light, vivid violet. Relative luminance 0.329; OKLCH L 70.5% C 0.155 H 302.4°. Best body text is #000000 at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#B386EF
RGBrgb(179, 134, 239)
HSLhsl(266, 77%, 73%)
HSVhsv(266, 44%, 94%)
CMYKcmyk(25.1%, 43.9%, 0%, 6.3%)
CIE-LABlab(64.05, 37.87, -46.67)
CIE-LCHlch(64.05, 60.10, 309.06°)
OKLaboklab(70.55% 0.0828 -0.1305)
OKLCHoklch(70.55% 0.155 302.4)
XYZxyz(42.6921, 32.8659, 85.7392)
Luminance0.3287 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B386EF #C2EF86
analogous
#868DEF #B386EF #E786EF
triadic
#B386EF #EFB386 #86EFB3
tetradic
#B386EF #EF868D #C2EF86 #86EFE7
square
#B386EF #EF868D #C2EF86 #86EFE7
split-complementary
#B386EF #EFE786 #8DEF86
monochromatic
#701DDD #9150E8 #B386EF #D5BCF6 #EEE4FB

Accessibility & contrast

On white

2.77
#B386EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.57
#B386EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B386EF
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B386EF#FFFFFF#000000##000000
##B386EF1.002.777.577.57
#FFFFFF2.771.0021.0021.00
#0000007.5721.001.001.00
##0000007.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A9AF3
Deuteranopia (green-blind)
#749BEC
Tritanopia (blue-blind)
#A898AF
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #b386ef;
/* rgb */ color: rgb(179, 134, 239);
/* oklch */ color: oklch(70.5% 0.155 302.4);
Tailwind
colors: {
  custom: {
    50: '#ccaaf4',
    500: '#b386ef',
    950: '#000000',
  },
}
SCSS
$custom: #b386ef;
$custom-light: #ccaaf4;
$custom-dark: #000000;
JSON
{
  "hex": "#b386ef",
  "rgb": {
    "r": 179,
    "g": 134,
    "b": 239
  },
  "hsl": {
    "h": 265.714,
    "s": 76.642,
    "l": 73.137
  },
  "oklch": {
    "l": 0.70547,
    "c": 0.15451,
    "h": 302.4
  },
  "luminance": 0.32866
}

Semantic roles & 50–950 ramp

primary
#B386EF
secondary
#E7F3D8
accent
#D90D81
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#141017
muted
#827F85

Preview Lab

Preview with #B386EF

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

Preview Lab → · Contrast checker → · Palette generator →

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