#B786FF#B786FF

#B786FF is a light, vivid violet. Relative luminance 0.343; OKLCH L 71.8% C 0.175 H 300.8°. Best body text is #000000 at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#B786FF
RGBrgb(183, 134, 255)
HSLhsl(264, 100%, 76%)
HSVhsv(264, 47%, 100%)
CMYKcmyk(28.2%, 47.5%, 0%, 0%)
CIE-LABlab(65.23, 42.72, -53.57)
CIE-LCHlch(65.23, 68.51, 308.57°)
OKLaboklab(71.78% 0.0896 -0.1505)
OKLCHoklch(71.78% 0.175 300.8)
XYZxyz(46.0994, 34.3373, 98.7874)
Luminance0.3434 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B786FF #CEFF86
analogous
#8692FF #B786FF #F486FF
triadic
#B786FF #FFB786 #86FFB7
tetradic
#B786FF #FF8692 #CEFF86 #86FFF4
square
#B786FF #FF8692 #CEFF86 #86FFF4
split-complementary
#B786FF #FFF486 #92FF86
monochromatic
#6E0CFF #9349FF #B786FF #DBC3FF #EDE0FF

Accessibility & contrast

On white

2.67
#B786FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.87
#B786FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B786FF
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B786FF#FFFFFF#000000##000000
##B786FF1.002.677.877.87
#FFFFFF2.671.0021.0021.00
#0000007.8721.001.001.00
##0000007.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#609EFF
Deuteranopia (green-blind)
#6C9EFC
Tritanopia (blue-blind)
#A99CB7
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #b786ff;
/* rgb */ color: rgb(183, 134, 255);
/* oklch */ color: oklch(71.8% 0.175 300.8);
Tailwind
colors: {
  custom: {
    50: '#cfaaff',
    500: '#b786ff',
    950: '#000000',
  },
}
SCSS
$custom: #b786ff;
$custom-light: #cfaaff;
$custom-dark: #000000;
JSON
{
  "hex": "#b786ff",
  "rgb": {
    "r": 183,
    "g": 134,
    "b": 255
  },
  "hsl": {
    "h": 264.298,
    "s": 100,
    "l": 76.275
  },
  "oklch": {
    "l": 0.71777,
    "c": 0.17513,
    "h": 300.8
  },
  "luminance": 0.34337
}

Semantic roles & 50–950 ramp

primary
#B786FF
secondary
#E9F7D4
accent
#E60089
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#141018
muted
#837F86

Preview Lab

Preview with #B786FF

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

Preview Lab → · Contrast checker → · Palette generator →

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