#B386FC#B386FC

#B386FC is a light, vivid violet. Relative luminance 0.337; OKLCH L 71.2% C 0.171 H 299.7°. Best body text is #000000 at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#B386FC
RGBrgb(179, 134, 252)
HSLhsl(263, 95%, 76%)
HSVhsv(263, 47%, 99%)
CMYKcmyk(29%, 46.8%, 0%, 1.2%)
CIE-LABlab(64.69, 40.96, -52.80)
CIE-LCHlch(64.69, 66.83, 307.80°)
OKLaboklab(71.24% 0.0845 -0.1483)
OKLCHoklch(71.24% 0.171 299.7)
XYZxyz(44.6821, 33.6619, 96.2200)
Luminance0.3366 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B386FC #CFFC86
analogous
#8694FC #B386FC #EE86FC
triadic
#B386FC #FCB386 #86FCB3
tetradic
#B386FC #FC8694 #CFFC86 #86FCEE
square
#B386FC #FC8694 #CFFC86 #86FCEE
split-complementary
#B386FC #FCEE86 #94FC86
monochromatic
#680FF9 #8D4AFB #B386FC #D9C2FD #ECE1FE

Accessibility & contrast

On white

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

On black

7.73
#B386FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B386FC
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B386FC#FFFFFF#000000##000000
##B386FC1.002.727.737.73
#FFFFFF2.721.0021.0021.00
#0000007.7321.001.001.00
##0000007.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#619DFF
Deuteranopia (green-blind)
#6C9CF9
Tritanopia (blue-blind)
#A49CB5
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #b386fc;
/* rgb */ color: rgb(179, 134, 252);
/* oklch */ color: oklch(71.2% 0.171 299.7);
Tailwind
colors: {
  custom: {
    50: '#ccaafe',
    500: '#b386fc',
    950: '#000000',
  },
}
SCSS
$custom: #b386fc;
$custom-light: #ccaafe;
$custom-dark: #000000;
JSON
{
  "hex": "#b386fc",
  "rgb": {
    "r": 179,
    "g": 134,
    "b": 252
  },
  "hsl": {
    "h": 262.881,
    "s": 95.161,
    "l": 75.686
  },
  "oklch": {
    "l": 0.71237,
    "c": 0.17071,
    "h": 299.7
  },
  "luminance": 0.33662
}

Semantic roles & 50–950 ramp

primary
#B386FC
secondary
#EAF6D5
accent
#E6008E
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#141018
muted
#827F86

Preview Lab

Preview with #B386FC

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

Preview Lab → · Contrast checker → · Palette generator →

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