#B784F6#B784F6

#B784F6 is a light, vivid violet. Relative luminance 0.332; OKLCH L 71.0% C 0.167 H 303.0°. Best body text is #000000 at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#B784F6
RGBrgb(183, 132, 246)
HSLhsl(267, 86%, 74%)
HSVhsv(267, 46%, 96%)
CMYKcmyk(25.6%, 46.3%, 0%, 3.5%)
CIE-LABlab(64.34, 41.69, -50.04)
CIE-LCHlch(64.34, 65.13, 309.80°)
OKLaboklab(70.97% 0.0912 -0.1402)
OKLCHoklch(70.97% 0.167 303)
XYZxyz(44.4106, 33.2237, 91.2441)
Luminance0.3322 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B784F6 #C3F684
analogous
#848AF6 #B784F6 #F084F6
triadic
#B784F6 #F6B784 #84F6B7
tetradic
#B784F6 #F6848A #C3F684 #84F6F0
square
#B784F6 #F6848A #C3F684 #84F6F0
split-complementary
#B784F6 #F6F084 #8AF684
monochromatic
#7412EE #964BF2 #B784F6 #D8BDFA #EEE2FD

Accessibility & contrast

On white

2.75
#B784F6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.64
#B784F6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B784F6
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B784F6#FFFFFF#000000##000000
##B784F61.002.757.647.64
#FFFFFF2.751.0021.0021.00
#0000007.6421.001.001.00
##0000007.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#649BFA
Deuteranopia (green-blind)
#709CF3
Tritanopia (blue-blind)
#AC98B1
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #b784f6;
/* rgb */ color: rgb(183, 132, 246);
/* oklch */ color: oklch(71.0% 0.167 303.0);
Tailwind
colors: {
  custom: {
    50: '#cfa9f9',
    500: '#b784f6',
    950: '#000000',
  },
}
SCSS
$custom: #b784f6;
$custom-light: #cfa9f9;
$custom-dark: #000000;
JSON
{
  "hex": "#b784f6",
  "rgb": {
    "r": 183,
    "g": 132,
    "b": 246
  },
  "hsl": {
    "h": 266.842,
    "s": 86.364,
    "l": 74.118
  },
  "oklch": {
    "l": 0.70966,
    "c": 0.16723,
    "h": 303
  },
  "luminance": 0.33224
}

Semantic roles & 50–950 ramp

primary
#B784F6
secondary
#E7F5D6
accent
#E3037F
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#141017
muted
#827F85

Preview Lab

Preview with #B784F6

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

Preview Lab → · Contrast checker → · Palette generator →

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