#B386EE#B386EE

#B386EE is a light, vivid violet. Relative luminance 0.328; OKLCH L 70.5% C 0.153 H 302.6°. Best body text is #000000 at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#B386EE
RGBrgb(179, 134, 238)
HSLhsl(266, 75%, 73%)
HSVhsv(266, 44%, 93%)
CMYKcmyk(24.8%, 43.7%, 0%, 6.7%)
CIE-LABlab(64.00, 37.63, -46.19)
CIE-LCHlch(64.00, 59.58, 309.17°)
OKLaboklab(70.5% 0.0826 -0.1291)
OKLCHoklch(70.5% 0.153 302.6)
XYZxyz(42.5447, 32.8070, 84.9634)
Luminance0.3281 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B386EE #C1EE86
analogous
#868DEE #B386EE #E786EE
triadic
#B386EE #EEB386 #86EEB3
tetradic
#B386EE #EE868D #C1EE86 #86EEE7
square
#B386EE #EE868D #C1EE86 #86EEE7
split-complementary
#B386EE #EEE786 #8DEE86
monochromatic
#701FDB #9150E6 #B386EE #D5BCF6 #EEE4FB

Accessibility & contrast

On white

2.78
#B386EE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.56
#B386EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B386EE
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B386EE#FFFFFF#000000##000000
##B386EE1.002.787.567.56
#FFFFFF2.781.0021.0021.00
#0000007.5621.001.001.00
##0000007.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A9AF2
Deuteranopia (green-blind)
#749BEB
Tritanopia (blue-blind)
#A998AF
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #b386ee;
/* rgb */ color: rgb(179, 134, 238);
/* oklch */ color: oklch(70.5% 0.153 302.6);
Tailwind
colors: {
  custom: {
    50: '#ccaaf4',
    500: '#b386ee',
    950: '#000000',
  },
}
SCSS
$custom: #b386ee;
$custom-light: #ccaaf4;
$custom-dark: #000000;
JSON
{
  "hex": "#b386ee",
  "rgb": {
    "r": 179,
    "g": 134,
    "b": 238
  },
  "hsl": {
    "h": 265.962,
    "s": 75.362,
    "l": 72.941
  },
  "oklch": {
    "l": 0.70496,
    "c": 0.15326,
    "h": 302.6
  },
  "luminance": 0.32807
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B386EE

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

Preview Lab → · Contrast checker → · Palette generator →

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