#B886F7#B886F7

#B886F7 is a light, vivid violet. Relative luminance 0.340; OKLCH L 71.4% C 0.166 H 302.9°. Best body text is #000000 at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#B886F7
RGBrgb(184, 134, 247)
HSLhsl(267, 88%, 75%)
HSVhsv(267, 46%, 97%)
CMYKcmyk(25.5%, 45.7%, 0%, 3.1%)
CIE-LABlab(64.93, 41.09, -49.65)
CIE-LCHlch(64.93, 64.45, 309.61°)
OKLaboklab(71.44% 0.0898 -0.139)
OKLCHoklch(71.44% 0.166 302.9)
XYZxyz(45.0771, 33.9560, 92.1570)
Luminance0.3396 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B886F7 #C5F786
analogous
#868CF7 #B886F7 #F186F7
triadic
#B886F7 #F7B886 #86F7B8
tetradic
#B886F7 #F7868C #C5F786 #86F7F1
square
#B886F7 #F7868C #C5F786 #86F7F1
split-complementary
#B886F7 #F7F186 #8CF786
monochromatic
#7513EF #964DF3 #B886F7 #DABFFB #EEE2FD

Accessibility & contrast

On white

2.70
#B886F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.79
#B886F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B886F7
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B886F7#FFFFFF#000000##000000
##B886F71.002.707.797.79
#FFFFFF2.701.0021.0021.00
#0000007.7921.001.001.00
##0000007.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#669CFB
Deuteranopia (green-blind)
#729DF4
Tritanopia (blue-blind)
#AD9AB3
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #b886f7;
/* rgb */ color: rgb(184, 134, 247);
/* oklch */ color: oklch(71.4% 0.166 302.9);
Tailwind
colors: {
  custom: {
    50: '#d0aafa',
    500: '#b886f7',
    950: '#000000',
  },
}
SCSS
$custom: #b886f7;
$custom-light: #d0aafa;
$custom-dark: #000000;
JSON
{
  "hex": "#b886f7",
  "rgb": {
    "r": 184,
    "g": 134,
    "b": 247
  },
  "hsl": {
    "h": 266.549,
    "s": 87.597,
    "l": 74.706
  },
  "oklch": {
    "l": 0.71444,
    "c": 0.16553,
    "h": 302.9
  },
  "luminance": 0.33956
}

Semantic roles & 50–950 ramp

primary
#B886F7
secondary
#E7F5D6
accent
#E40180
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#141017
muted
#837F85

Preview Lab

Preview with #B886F7

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

Preview Lab → · Contrast checker → · Palette generator →

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