#B386D6#B386D6

#B386D6 is a light, vivid violet. Relative luminance 0.315; OKLCH L 69.3% C 0.123 H 309.3°. Best body text is #000000 at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#B386D6
RGBrgb(179, 134, 214)
HSLhsl(274, 49%, 68%)
HSVhsv(274, 37%, 84%)
CMYKcmyk(16.4%, 37.4%, 0%, 16.1%)
CIE-LABlab(62.92, 32.17, -34.56)
CIE-LCHlch(62.92, 47.22, 312.95°)
OKLaboklab(69.32% 0.0782 -0.0955)
OKLCHoklch(69.32% 0.123 309.3)
XYZxyz(39.2509, 31.4894, 67.6156)
Luminance0.3149 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B386D6 #A9D686
analogous
#8B86D6 #B386D6 #D686D1
triadic
#B386D6 #D6B386 #86D6B3
tetradic
#B386D6 #D68B86 #A9D686 #86D1D6
square
#B386D6 #D68B86 #A9D686 #86D1D6
split-complementary
#B386D6 #D1D686 #86D68B
monochromatic
#7839A9 #9658C7 #B386D6 #D0B4E5 #ECE1F5

Accessibility & contrast

On white

2.88
#B386D6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.30
#B386D6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B386D6
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B386D6#FFFFFF#000000##000000
##B386D61.002.887.307.30
#FFFFFF2.881.0021.0021.00
#0000007.3021.001.001.00
##0000007.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7696D9
Deuteranopia (green-blind)
#8099D4
Tritanopia (blue-blind)
#AF92A4
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #b386d6;
/* rgb */ color: rgb(179, 134, 214);
/* oklch */ color: oklch(69.3% 0.123 309.3);
Tailwind
colors: {
  custom: {
    50: '#cbaae3',
    500: '#b386d6',
    950: '#000000',
  },
}
SCSS
$custom: #b386d6;
$custom-light: #cbaae3;
$custom-dark: #000000;
JSON
{
  "hex": "#b386d6",
  "rgb": {
    "r": 179,
    "g": 134,
    "b": 214
  },
  "hsl": {
    "h": 273.75,
    "s": 49.383,
    "l": 68.235
  },
  "oklch": {
    "l": 0.69321,
    "c": 0.12341,
    "h": 309.3
  },
  "luminance": 0.31489
}

Semantic roles & 50–950 ramp

primary
#B386D6
secondary
#DAE8D0
accent
#BD296A
background
#FCFAFD
surface
#F9F4FB
border
#D2CED4
text
#131015
muted
#827F83

Preview Lab

Preview with #B386D6

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

Preview Lab → · Contrast checker → · Palette generator →

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