#B786DF#B786DF

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

Color values

HEX#B786DF
RGBrgb(183, 134, 223)
HSLhsl(273, 58%, 70%)
HSVhsv(273, 40%, 87%)
CMYKcmyk(17.9%, 39.9%, 0%, 12.5%)
CIE-LABlab(63.71, 35.35, -38.32)
CIE-LCHlch(63.71, 52.13, 312.69°)
OKLaboklab(70.14% 0.0847 -0.1062)
OKLCHoklch(70.14% 0.136 308.6)
XYZxyz(41.3703, 32.4457, 73.8810)
Luminance0.3245 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B786DF #AEDF86
analogous
#8B86DF #B786DF #DF86DA
triadic
#B786DF #DFB786 #86DFB7
tetradic
#B786DF #DF8B86 #AEDF86 #86DADF
square
#B786DF #DF8B86 #AEDF86 #86DADF
split-complementary
#B786DF #DADF86 #86DF8B
monochromatic
#7C31BA #9A56D2 #B786DF #D4B6EC #F1E7F9

Accessibility & contrast

On white

2.80
#B786DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.49
#B786DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B786DF
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B786DF#FFFFFF#000000##000000
##B786DF1.002.807.497.49
#FFFFFF2.801.0021.0021.00
#0000007.4921.001.001.00
##0000007.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7398E2
Deuteranopia (green-blind)
#7F9BDD
Tritanopia (blue-blind)
#B293A8
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #b786df;
/* rgb */ color: rgb(183, 134, 223);
/* oklch */ color: oklch(70.1% 0.136 308.6);
Tailwind
colors: {
  custom: {
    50: '#ceaae9',
    500: '#b786df',
    950: '#000000',
  },
}
SCSS
$custom: #b786df;
$custom-light: #ceaae9;
$custom-dark: #000000;
JSON
{
  "hex": "#b786df",
  "rgb": {
    "r": 183,
    "g": 134,
    "b": 223
  },
  "hsl": {
    "h": 273.034,
    "s": 58.17,
    "l": 70
  },
  "oklch": {
    "l": 0.70139,
    "c": 0.13587,
    "h": 308.6
  },
  "luminance": 0.32445
}

Semantic roles & 50–950 ramp

primary
#B786DF
secondary
#DFEDD4
accent
#C6206A
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#141016
muted
#827F84

Preview Lab

Preview with #B786DF

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

Preview Lab → · Contrast checker → · Palette generator →

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