#B386CA#B386CA

#B386CA is a light, moderate violet. Relative luminance 0.309; OKLCH L 68.8% C 0.109 H 313.8°. Best body text is #000000 at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#B386CA
RGBrgb(179, 134, 202)
HSLhsl(280, 39%, 66%)
HSVhsv(280, 34%, 79%)
CMYKcmyk(11.4%, 33.7%, 0%, 20.8%)
CIE-LABlab(62.42, 29.59, -28.61)
CIE-LCHlch(62.42, 41.16, 315.96°)
OKLaboklab(68.78% 0.0753 -0.0785)
OKLCHoklch(68.78% 0.109 313.8)
XYZxyz(37.7745, 30.8988, 59.8398)
Luminance0.3090 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B386CA #9DCA86
analogous
#9186CA #B386CA #CA86BF
triadic
#B386CA #CAB386 #86CAB3
tetradic
#B386CA #CA9186 #9DCA86 #86BFCA
square
#B386CA #CA9186 #9DCA86 #86BFCA
split-complementary
#B386CA #BFCA86 #86CA91
monochromatic
#784195 #985BB7 #B386CA #CEB1DD #E8DBEF

Accessibility & contrast

On white

2.92
#B386CA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.18
#B386CA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B386CA
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B386CA#FFFFFF#000000##000000
##B386CA1.002.927.187.18
#FFFFFF2.921.0021.0021.00
#0000007.1821.001.001.00
##0000007.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B94CD
Deuteranopia (green-blind)
#8598C8
Tritanopia (blue-blind)
#B18F9F
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #b386ca;
/* rgb */ color: rgb(179, 134, 202);
/* oklch */ color: oklch(68.8% 0.109 313.8);
Tailwind
colors: {
  custom: {
    50: '#caaada',
    500: '#b386ca',
    950: '#000000',
  },
}
SCSS
$custom: #b386ca;
$custom-light: #caaada;
$custom-dark: #000000;
JSON
{
  "hex": "#b386ca",
  "rgb": {
    "r": 179,
    "g": 134,
    "b": 202
  },
  "hsl": {
    "h": 279.706,
    "s": 39.08,
    "l": 65.882
  },
  "oklch": {
    "l": 0.68781,
    "c": 0.10881,
    "h": 313.8
  },
  "luminance": 0.30898
}

Semantic roles & 50–950 ramp

primary
#B386CA
secondary
#D2E1CB
accent
#B2335E
background
#FCFAFD
surface
#F8F4FA
border
#D1CED3
text
#131015
muted
#827F83

Preview Lab

Preview with #B386CA

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

Preview Lab → · Contrast checker → · Palette generator →

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