#B784EC#B784EC

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

Color values

HEX#B784EC
RGBrgb(183, 132, 236)
HSLhsl(269, 73%, 72%)
HSVhsv(269, 44%, 93%)
CMYKcmyk(22.5%, 44.1%, 0%, 7.5%)
CIE-LABlab(63.86, 39.38, -45.29)
CIE-LCHlch(63.86, 60.02, 311.01°)
OKLaboklab(70.45% 0.0898 -0.1264)
OKLCHoklch(70.45% 0.155 305.4)
XYZxyz(42.9169, 32.6262, 83.3772)
Luminance0.3263 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B784EC #B9EC84
analogous
#8485EC #B784EC #EB84EC
triadic
#B784EC #ECB784 #84ECB7
tetradic
#B784EC #EC8485 #B9EC84 #84ECEB
square
#B784EC #EC8485 #B9EC84 #84ECEB
split-complementary
#B784EC #ECEB84 #85EC84
monochromatic
#7921D5 #984FE4 #B784EC #D6B9F4 #EFE4FB

Accessibility & contrast

On white

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

On black

7.53
#B784EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B784EC
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B784EC#FFFFFF#000000##000000
##B784EC1.002.797.537.53
#FFFFFF2.791.0021.0021.00
#0000007.5321.001.001.00
##0000007.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A99F0
Deuteranopia (green-blind)
#769BE9
Tritanopia (blue-blind)
#AF95AD
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #b784ec;
/* rgb */ color: rgb(183, 132, 236);
/* oklch */ color: oklch(70.4% 0.155 305.4);
Tailwind
colors: {
  custom: {
    50: '#cea8f2',
    500: '#b784ec',
    950: '#000000',
  },
}
SCSS
$custom: #b784ec;
$custom-light: #cea8f2;
$custom-dark: #000000;
JSON
{
  "hex": "#b784ec",
  "rgb": {
    "r": 183,
    "g": 132,
    "b": 236
  },
  "hsl": {
    "h": 269.423,
    "s": 73.239,
    "l": 72.157
  },
  "oklch": {
    "l": 0.70445,
    "c": 0.15503,
    "h": 305.4
  },
  "luminance": 0.32626
}

Semantic roles & 50–950 ramp

primary
#B784EC
secondary
#E6F3D8
accent
#D51075
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#141017
muted
#827F85

Preview Lab

Preview with #B784EC

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

Preview Lab → · Contrast checker → · Palette generator →

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