#B386EA#B386EA

#B386EA is a light, vivid violet. Relative luminance 0.326; OKLCH L 70.3% C 0.148 H 303.6°. Best body text is #000000 at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#B386EA
RGBrgb(179, 134, 234)
HSLhsl(267, 70%, 72%)
HSVhsv(267, 43%, 92%)
CMYKcmyk(23.5%, 42.7%, 0%, 8.2%)
CIE-LABlab(63.81, 36.70, -44.28)
CIE-LCHlch(63.81, 57.51, 309.65°)
OKLaboklab(70.29% 0.082 -0.1235)
OKLCHoklch(70.29% 0.148 303.6)
XYZxyz(41.9636, 32.5745, 81.9027)
Luminance0.3257 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B386EA #BDEA86
analogous
#868BEA #B386EA #E586EA
triadic
#B386EA #EAB386 #86EAB3
tetradic
#B386EA #EA868B #BDEA86 #86EAE5
square
#B386EA #EA868B #BDEA86 #86EAE5
split-complementary
#B386EA #EAE586 #8BEA86
monochromatic
#7224D1 #9252E1 #B386EA #D4BAF3 #EFE5FA

Accessibility & contrast

On white

2.79
#B386EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.51
#B386EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B386EA
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B386EA#FFFFFF#000000##000000
##B386EA1.002.797.517.51
#FFFFFF2.791.0021.0021.00
#0000007.5121.001.001.00
##0000007.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C99EE
Deuteranopia (green-blind)
#779BE7
Tritanopia (blue-blind)
#AA97AD
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #b386ea;
/* rgb */ color: rgb(179, 134, 234);
/* oklch */ color: oklch(70.3% 0.148 303.6);
Tailwind
colors: {
  custom: {
    50: '#cbaaf1',
    500: '#b386ea',
    950: '#000000',
  },
}
SCSS
$custom: #b386ea;
$custom-light: #cbaaf1;
$custom-dark: #000000;
JSON
{
  "hex": "#b386ea",
  "rgb": {
    "r": 179,
    "g": 134,
    "b": 234
  },
  "hsl": {
    "h": 267,
    "s": 70.423,
    "l": 72.157
  },
  "oklch": {
    "l": 0.70291,
    "c": 0.14827,
    "h": 303.6
  },
  "luminance": 0.32574
}

Semantic roles & 50–950 ramp

primary
#B386EA
secondary
#E7F2D9
accent
#D2137C
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#131017
muted
#827F85

Preview Lab

Preview with #B386EA

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

Preview Lab → · Contrast checker → · Palette generator →

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