#B786DE#B786DE

#B786DE is a light, vivid violet. Relative luminance 0.324; OKLCH L 70.1% C 0.135 H 308.9°. Best body text is #000000 at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#B786DE
RGBrgb(183, 134, 222)
HSLhsl(273, 57%, 70%)
HSVhsv(273, 40%, 87%)
CMYKcmyk(17.6%, 39.6%, 0%, 12.9%)
CIE-LABlab(63.67, 35.13, -37.83)
CIE-LCHlch(63.67, 51.62, 312.88°)
OKLaboklab(70.09% 0.0845 -0.1048)
OKLCHoklch(70.09% 0.135 308.9)
XYZxyz(41.2359, 32.3919, 73.1730)
Luminance0.3239 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B786DE #ADDE86
analogous
#8B86DE #B786DE #DE86D9
triadic
#B786DE #DEB786 #86DEB7
tetradic
#B786DE #DE8B86 #ADDE86 #86D9DE
square
#B786DE #DE8B86 #ADDE86 #86D9DE
split-complementary
#B786DE #D9DE86 #86DE8B
monochromatic
#7C32B8 #9A56D1 #B786DE #D4B6EB #F0E6F8

Accessibility & contrast

On white

2.81
#B786DE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.48
#B786DE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B786DE
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B786DE#FFFFFF#000000##000000
##B786DE1.002.817.487.48
#FFFFFF2.811.0021.0021.00
#0000007.4821.001.001.00
##0000007.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7498E1
Deuteranopia (green-blind)
#7F9BDC
Tritanopia (blue-blind)
#B293A8
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #b786de;
/* rgb */ color: rgb(183, 134, 222);
/* oklch */ color: oklch(70.1% 0.135 308.9);
Tailwind
colors: {
  custom: {
    50: '#ceaae8',
    500: '#b786de',
    950: '#000000',
  },
}
SCSS
$custom: #b786de;
$custom-light: #ceaae8;
$custom-dark: #000000;
JSON
{
  "hex": "#b786de",
  "rgb": {
    "r": 183,
    "g": 134,
    "b": 222
  },
  "hsl": {
    "h": 273.409,
    "s": 57.143,
    "l": 69.804
  },
  "oklch": {
    "l": 0.70091,
    "c": 0.13466,
    "h": 308.9
  },
  "luminance": 0.32391
}

Semantic roles & 50–950 ramp

primary
#B786DE
secondary
#DEECD3
accent
#C52169
background
#FCFAFE
surface
#F9F4FC
border
#D2CED5
text
#141016
muted
#827F84

Preview Lab

Preview with #B786DE

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

Preview Lab → · Contrast checker → · Palette generator →

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