#B784FB#B784FB

#B784FB is a light, vivid violet. Relative luminance 0.335; OKLCH L 71.2% C 0.173 H 302.0°. Best body text is #000000 at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#B784FB
RGBrgb(183, 132, 251)
HSLhsl(266, 94%, 75%)
HSVhsv(266, 47%, 98%)
CMYKcmyk(27.1%, 47.4%, 0%, 1.6%)
CIE-LABlab(64.59, 42.86, -52.39)
CIE-LCHlch(64.59, 67.69, 309.29°)
OKLaboklab(71.23% 0.0918 -0.147)
OKLCHoklch(71.23% 0.173 302)
XYZxyz(45.1884, 33.5348, 95.3403)
Luminance0.3353 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B784FB #C8FB84
analogous
#848DFB #B784FB #F284FB
triadic
#B784FB #FBB784 #84FBB7
tetradic
#B784FB #FB848D #C8FB84 #84FBF2
square
#B784FB #FB848D #C8FB84 #84FBF2
split-complementary
#B784FB #FBF284 #8DFB84
monochromatic
#720DF7 #9449F9 #B784FB #DABFFD #EEE1FE

Accessibility & contrast

On white

2.72
#B784FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.71
#B784FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B784FB
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B784FB#FFFFFF#000000##000000
##B784FB1.002.727.717.71
#FFFFFF2.721.0021.0021.00
#0000007.7121.001.001.00
##0000007.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#609CFF
Deuteranopia (green-blind)
#6D9CF8
Tritanopia (blue-blind)
#AA99B4
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #b784fb;
/* rgb */ color: rgb(183, 132, 251);
/* oklch */ color: oklch(71.2% 0.173 302.0);
Tailwind
colors: {
  custom: {
    50: '#cfa9fd',
    500: '#b784fb',
    950: '#000000',
  },
}
SCSS
$custom: #b784fb;
$custom-light: #cfa9fd;
$custom-dark: #000000;
JSON
{
  "hex": "#b784fb",
  "rgb": {
    "r": 183,
    "g": 132,
    "b": 251
  },
  "hsl": {
    "h": 265.714,
    "s": 93.701,
    "l": 75.098
  },
  "oklch": {
    "l": 0.71234,
    "c": 0.17332,
    "h": 302
  },
  "luminance": 0.33535
}

Semantic roles & 50–950 ramp

primary
#B784FB
secondary
#E8F6D5
accent
#E60083
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#141018
muted
#837F86

Preview Lab

Preview with #B784FB

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

Preview Lab → · Contrast checker → · Palette generator →

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