#B386FD#B386FD

#B386FD is a light, vivid violet. Relative luminance 0.337; OKLCH L 71.3% C 0.172 H 299.5°. Best body text is #000000 at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#B386FD
RGBrgb(179, 134, 253)
HSLhsl(263, 97%, 76%)
HSVhsv(263, 47%, 99%)
CMYKcmyk(29.2%, 47%, 0%, 0.8%)
CIE-LABlab(64.74, 41.20, -53.27)
CIE-LCHlch(64.74, 67.34, 307.72°)
OKLaboklab(71.29% 0.0846 -0.1497)
OKLCHoklch(71.29% 0.172 299.5)
XYZxyz(44.8410, 33.7254, 97.0567)
Luminance0.3373 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B386FD #D0FD86
analogous
#8694FD #B386FD #EE86FD
triadic
#B386FD #FDB386 #86FDB3
tetradic
#B386FD #FD8694 #D0FD86 #86FDEE
square
#B386FD #FD8694 #D0FD86 #86FDEE
split-complementary
#B386FD #FDEE86 #94FD86
monochromatic
#670EFB #8D4AFC #B386FD #D9C2FE #ECE1FF

Accessibility & contrast

On white

2.71
#B386FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.75
#B386FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B386FD
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B386FD#FFFFFF#000000##000000
##B386FD1.002.717.757.75
#FFFFFF2.711.0021.0021.00
#0000007.7521.001.001.00
##0000007.7521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b386fd;
/* rgb */ color: rgb(179, 134, 253);
/* oklch */ color: oklch(71.3% 0.172 299.5);
Tailwind
colors: {
  custom: {
    50: '#ccaafe',
    500: '#b386fd',
    950: '#000000',
  },
}
SCSS
$custom: #b386fd;
$custom-light: #ccaafe;
$custom-dark: #000000;
JSON
{
  "hex": "#b386fd",
  "rgb": {
    "r": 179,
    "g": 134,
    "b": 253
  },
  "hsl": {
    "h": 262.689,
    "s": 96.748,
    "l": 75.882
  },
  "oklch": {
    "l": 0.71291,
    "c": 0.17195,
    "h": 299.5
  },
  "luminance": 0.33726
}

Semantic roles & 50–950 ramp

primary
#B386FD
secondary
#EAF7D4
accent
#E6008F
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#141018
muted
#827F86

Preview Lab

Preview with #B386FD

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

Preview Lab → · Contrast checker → · Palette generator →

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