#B386FA#B386FA

#B386FA is a light, vivid violet. Relative luminance 0.335; OKLCH L 71.1% C 0.168 H 300.1°. Best body text is #000000 at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#B386FA
RGBrgb(179, 134, 250)
HSLhsl(263, 92%, 75%)
HSVhsv(263, 46%, 98%)
CMYKcmyk(28.4%, 46.4%, 0%, 2%)
CIE-LABlab(64.59, 40.48, -51.86)
CIE-LCHlch(64.59, 65.79, 307.97°)
OKLaboklab(71.13% 0.0843 -0.1456)
OKLCHoklch(71.13% 0.168 300.1)
XYZxyz(44.3668, 33.5358, 94.5596)
Luminance0.3354 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B386FA #CDFA86
analogous
#8693FA #B386FA #ED86FA
triadic
#B386FA #FAB386 #86FAB3
tetradic
#B386FA #FA8693 #CDFA86 #86FAED
square
#B386FA #FA8693 #CDFA86 #86FAED
split-complementary
#B386FA #FAED86 #93FA86
monochromatic
#6910F5 #8E4BF8 #B386FA #D8C1FC #EDE2FE

Accessibility & contrast

On white

2.72
#B386FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.71
#B386FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B386FA
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B386FA#FFFFFF#000000##000000
##B386FA1.002.727.717.71
#FFFFFF2.721.0021.0021.00
#0000007.7121.001.001.00
##0000007.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#639CFE
Deuteranopia (green-blind)
#6D9CF7
Tritanopia (blue-blind)
#A59BB4
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #b386fa;
/* rgb */ color: rgb(179, 134, 250);
/* oklch */ color: oklch(71.1% 0.168 300.1);
Tailwind
colors: {
  custom: {
    50: '#ccaafc',
    500: '#b386fa',
    950: '#000000',
  },
}
SCSS
$custom: #b386fa;
$custom-light: #ccaafc;
$custom-dark: #000000;
JSON
{
  "hex": "#b386fa",
  "rgb": {
    "r": 179,
    "g": 134,
    "b": 250
  },
  "hsl": {
    "h": 263.276,
    "s": 92.063,
    "l": 75.294
  },
  "oklch": {
    "l": 0.71129,
    "c": 0.16822,
    "h": 300.1
  },
  "luminance": 0.33536
}

Semantic roles & 50–950 ramp

primary
#B386FA
secondary
#E9F6D5
accent
#E6008C
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#141017
muted
#827F85

Preview Lab

Preview with #B386FA

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

Preview Lab → · Contrast checker → · Palette generator →

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