#B784F7#B784F7

#B784F7 is a light, vivid violet. Relative luminance 0.333; OKLCH L 71.0% C 0.168 H 302.8°. Best body text is #000000 at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#B784F7
RGBrgb(183, 132, 247)
HSLhsl(267, 88%, 74%)
HSVhsv(267, 47%, 97%)
CMYKcmyk(25.9%, 46.6%, 0%, 3.1%)
CIE-LABlab(64.39, 41.92, -50.51)
CIE-LCHlch(64.39, 65.64, 309.69°)
OKLaboklab(71.02% 0.0913 -0.1415)
OKLCHoklch(71.02% 0.168 302.8)
XYZxyz(44.5645, 33.2852, 92.0546)
Luminance0.3328 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B784F7 #C4F784
analogous
#848BF7 #B784F7 #F184F7
triadic
#B784F7 #F7B784 #84F7B7
tetradic
#B784F7 #F7848B #C4F784 #84F7F1
square
#B784F7 #F7848B #C4F784 #84F7F1
split-complementary
#B784F7 #F7F184 #8BF784
monochromatic
#7411F0 #954BF3 #B784F7 #D9BDFB #EEE2FD

Accessibility & contrast

On white

2.74
#B784F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.66
#B784F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B784F7
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B784F7#FFFFFF#000000##000000
##B784F71.002.747.667.66
#FFFFFF2.741.0021.0021.00
#0000007.6621.001.001.00
##0000007.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#639BFB
Deuteranopia (green-blind)
#6F9CF4
Tritanopia (blue-blind)
#AC98B2
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #b784f7;
/* rgb */ color: rgb(183, 132, 247);
/* oklch */ color: oklch(71.0% 0.168 302.8);
Tailwind
colors: {
  custom: {
    50: '#cfa9fa',
    500: '#b784f7',
    950: '#000000',
  },
}
SCSS
$custom: #b784f7;
$custom-light: #cfa9fa;
$custom-dark: #000000;
JSON
{
  "hex": "#b784f7",
  "rgb": {
    "r": 183,
    "g": 132,
    "b": 247
  },
  "hsl": {
    "h": 266.609,
    "s": 87.786,
    "l": 74.314
  },
  "oklch": {
    "l": 0.71019,
    "c": 0.16844,
    "h": 302.8
  },
  "luminance": 0.33285
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B784F7

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

Preview Lab → · Contrast checker → · Palette generator →

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