#B784EB#B784EB

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

Color values

HEX#B784EB
RGBrgb(183, 132, 235)
HSLhsl(270, 72%, 72%)
HSVhsv(270, 44%, 92%)
CMYKcmyk(22.1%, 43.8%, 0%, 7.8%)
CIE-LABlab(63.81, 39.15, -44.81)
CIE-LCHlch(63.81, 59.51, 311.14°)
OKLaboklab(70.39% 0.0896 -0.125)
OKLCHoklch(70.39% 0.154 305.6)
XYZxyz(42.7720, 32.5682, 82.6142)
Luminance0.3257 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B784EB #B8EB84
analogous
#8485EB #B784EB #EB84EB
triadic
#B784EB #EBB784 #84EBB7
tetradic
#B784EB #EB8485 #B8EB84 #84EBEB
square
#B784EB #EB8485 #B8EB84 #84EBEB
split-complementary
#B784EB #EBEB84 #85EB84
monochromatic
#7922D2 #984FE2 #B784EB #D6B9F4 #F0E5FB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B784EB#FFFFFF#000000##000000
##B784EB1.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)
#6A99EF
Deuteranopia (green-blind)
#779BE8
Tritanopia (blue-blind)
#AF95AC
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #b784eb;
/* rgb */ color: rgb(183, 132, 235);
/* oklch */ color: oklch(70.4% 0.154 305.6);
Tailwind
colors: {
  custom: {
    50: '#cea8f2',
    500: '#b784eb',
    950: '#000000',
  },
}
SCSS
$custom: #b784eb;
$custom-light: #cea8f2;
$custom-dark: #000000;
JSON
{
  "hex": "#b784eb",
  "rgb": {
    "r": 183,
    "g": 132,
    "b": 235
  },
  "hsl": {
    "h": 269.709,
    "s": 72.028,
    "l": 71.961
  },
  "oklch": {
    "l": 0.70394,
    "c": 0.15381,
    "h": 305.6
  },
  "luminance": 0.32568
}

Semantic roles & 50–950 ramp

primary
#B784EB
secondary
#E6F2D8
accent
#D41174
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#141017
muted
#827F85

Preview Lab

Preview with #B784EB

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

Preview Lab → · Contrast checker → · Palette generator →

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