#B386CC#B386CC

#B386CC is a light, moderate violet. Relative luminance 0.310; OKLCH L 68.9% C 0.111 H 313.0°. Best body text is #000000 at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#B386CC
RGBrgb(179, 134, 204)
HSLhsl(279, 41%, 66%)
HSVhsv(279, 34%, 80%)
CMYKcmyk(12.3%, 34.3%, 0%, 20%)
CIE-LABlab(62.50, 30.01, -29.61)
CIE-LCHlch(62.50, 42.16, 315.38°)
OKLaboklab(68.87% 0.0758 -0.0813)
OKLCHoklch(68.87% 0.111 313)
XYZxyz(38.0128, 30.9942, 61.0950)
Luminance0.3099 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B386CC #9FCC86
analogous
#9086CC #B386CC #CC86C2
triadic
#B386CC #CCB386 #86CCB3
tetradic
#B386CC #CC9086 #9FCC86 #86C2CC
square
#B386CC #CC9086 #9FCC86 #86C2CC
split-complementary
#B386CC #C2CC86 #86CC90
monochromatic
#784098 #985BBA #B386CC #CEB1DE #E9DCF0

Accessibility & contrast

On white

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

On black

7.20
#B386CC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B386CC
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B386CC#FFFFFF#000000##000000
##B386CC1.002.927.207.20
#FFFFFF2.921.0021.0021.00
#0000007.2021.001.001.00
##0000007.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A95CF
Deuteranopia (green-blind)
#8598CA
Tritanopia (blue-blind)
#B18FA0
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #b386cc;
/* rgb */ color: rgb(179, 134, 204);
/* oklch */ color: oklch(68.9% 0.111 313.0);
Tailwind
colors: {
  custom: {
    50: '#caaadb',
    500: '#b386cc',
    950: '#000000',
  },
}
SCSS
$custom: #b386cc;
$custom-light: #caaadb;
$custom-dark: #000000;
JSON
{
  "hex": "#b386cc",
  "rgb": {
    "r": 179,
    "g": 134,
    "b": 204
  },
  "hsl": {
    "h": 278.571,
    "s": 40.698,
    "l": 66.275
  },
  "oklch": {
    "l": 0.68868,
    "c": 0.11122,
    "h": 313
  },
  "luminance": 0.30994
}

Semantic roles & 50–950 ramp

primary
#B386CC
secondary
#D4E2CB
accent
#B43260
background
#FCFAFD
surface
#F8F4FB
border
#D1CED4
text
#131015
muted
#827F83

Preview Lab

Preview with #B386CC

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

Preview Lab → · Contrast checker → · Palette generator →

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