#B784F8#B784F8

#B784F8 is a light, vivid violet. Relative luminance 0.333; OKLCH L 71.1% C 0.170 H 302.6°. Best body text is #000000 at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#B784F8
RGBrgb(183, 132, 248)
HSLhsl(266, 89%, 75%)
HSVhsv(266, 47%, 97%)
CMYKcmyk(26.2%, 46.8%, 0%, 2.7%)
CIE-LABlab(64.44, 42.16, -50.98)
CIE-LCHlch(64.44, 66.15, 309.59°)
OKLaboklab(71.07% 0.0914 -0.1429)
OKLCHoklch(71.07% 0.17 302.6)
XYZxyz(44.7192, 33.3471, 92.8694)
Luminance0.3335 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B784F8 #C5F884
analogous
#848BF8 #B784F8 #F184F8
triadic
#B784F8 #F8B784 #84F8B7
tetradic
#B784F8 #F8848B #C5F884 #84F8F1
square
#B784F8 #F8848B #C5F884 #84F8F1
split-complementary
#B784F8 #F8F184 #8BF884
monochromatic
#7310F1 #954AF5 #B784F8 #D9BEFB #EEE2FD

Accessibility & contrast

On white

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

On black

7.67
#B784F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B784F8
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B784F8#FFFFFF#000000##000000
##B784F81.002.747.677.67
#FFFFFF2.741.0021.0021.00
#0000007.6721.001.001.00
##0000007.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#629BFC
Deuteranopia (green-blind)
#6F9CF5
Tritanopia (blue-blind)
#AB98B2
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #b784f8;
/* rgb */ color: rgb(183, 132, 248);
/* oklch */ color: oklch(71.1% 0.170 302.6);
Tailwind
colors: {
  custom: {
    50: '#cfa9fb',
    500: '#b784f8',
    950: '#000000',
  },
}
SCSS
$custom: #b784f8;
$custom-light: #cfa9fb;
$custom-dark: #000000;
JSON
{
  "hex": "#b784f8",
  "rgb": {
    "r": 183,
    "g": 132,
    "b": 248
  },
  "hsl": {
    "h": 266.379,
    "s": 89.231,
    "l": 74.51
  },
  "oklch": {
    "l": 0.71073,
    "c": 0.16966,
    "h": 302.6
  },
  "luminance": 0.33347
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B784F8

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

Preview Lab → · Contrast checker → · Palette generator →

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