#B786ED#B786ED

#B786ED is a light, vivid violet. Relative luminance 0.332; OKLCH L 70.8% C 0.153 H 304.7°. Best body text is #000000 at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#B786ED
RGBrgb(183, 134, 237)
HSLhsl(269, 74%, 73%)
HSVhsv(269, 43%, 93%)
CMYKcmyk(22.8%, 43.5%, 0%, 7.1%)
CIE-LABlab(64.35, 38.51, -45.07)
CIE-LCHlch(64.35, 59.28, 310.51°)
OKLaboklab(70.83% 0.0872 -0.1257)
OKLCHoklch(70.83% 0.153 304.7)
XYZxyz(43.3364, 33.2321, 84.2357)
Luminance0.3323 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B786ED #BCED86
analogous
#8688ED #B786ED #EB86ED
triadic
#B786ED #EDB786 #86EDB7
tetradic
#B786ED #ED8688 #BCED86 #86EDEB
square
#B786ED #ED8688 #BCED86 #86EDEB
split-complementary
#B786ED #EDEB86 #88ED86
monochromatic
#7820D8 #9751E5 #B786ED #D7BBF5 #EFE4FB

Accessibility & contrast

On white

2.75
#B786ED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.65
#B786ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B786ED
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B786ED#FFFFFF#000000##000000
##B786ED1.002.757.657.65
#FFFFFF2.751.0021.0021.00
#0000007.6521.001.001.00
##0000007.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C9BF1
Deuteranopia (green-blind)
#779CEA
Tritanopia (blue-blind)
#AE97AE
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #b786ed;
/* rgb */ color: rgb(183, 134, 237);
/* oklch */ color: oklch(70.8% 0.153 304.7);
Tailwind
colors: {
  custom: {
    50: '#ceaaf3',
    500: '#b786ed',
    950: '#000000',
  },
}
SCSS
$custom: #b786ed;
$custom-light: #ceaaf3;
$custom-dark: #000000;
JSON
{
  "hex": "#b786ed",
  "rgb": {
    "r": 183,
    "g": 134,
    "b": 237
  },
  "hsl": {
    "h": 268.544,
    "s": 74.101,
    "l": 72.745
  },
  "oklch": {
    "l": 0.70829,
    "c": 0.15302,
    "h": 304.7
  },
  "luminance": 0.33232
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B786ED

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

Preview Lab → · Contrast checker → · Palette generator →

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