#B786FD#B786FD

#B786FD is a light, vivid violet. Relative luminance 0.342; OKLCH L 71.7% C 0.173 H 301.2°. Best body text is #000000 at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#B786FD
RGBrgb(183, 134, 253)
HSLhsl(265, 97%, 76%)
HSVhsv(265, 47%, 99%)
CMYKcmyk(27.7%, 47%, 0%, 0.8%)
CIE-LABlab(65.13, 42.24, -52.63)
CIE-LCHlch(65.13, 67.49, 308.75°)
OKLaboklab(71.67% 0.0894 -0.1477)
OKLCHoklch(71.67% 0.173 301.2)
XYZxyz(45.7791, 34.2092, 97.1007)
Luminance0.3421 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B786FD #CCFD86
analogous
#8690FD #B786FD #F386FD
triadic
#B786FD #FDB786 #86FDB7
tetradic
#B786FD #FD8690 #CCFD86 #86FDF3
square
#B786FD #FD8690 #CCFD86 #86FDF3
split-complementary
#B786FD #FDF386 #90FD86
monochromatic
#6F0EFB #934AFC #B786FD #DBC2FE #EDE1FF

Accessibility & contrast

On white

2.68
#B786FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.84
#B786FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B786FD
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B786FD#FFFFFF#000000##000000
##B786FD1.002.687.847.84
#FFFFFF2.681.0021.0021.00
#0000007.8421.001.001.00
##0000007.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#629DFF
Deuteranopia (green-blind)
#6E9DFA
Tritanopia (blue-blind)
#AA9BB6
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #b786fd;
/* rgb */ color: rgb(183, 134, 253);
/* oklch */ color: oklch(71.7% 0.173 301.2);
Tailwind
colors: {
  custom: {
    50: '#cfaafe',
    500: '#b786fd',
    950: '#000000',
  },
}
SCSS
$custom: #b786fd;
$custom-light: #cfaafe;
$custom-dark: #000000;
JSON
{
  "hex": "#b786fd",
  "rgb": {
    "r": 183,
    "g": 134,
    "b": 253
  },
  "hsl": {
    "h": 264.706,
    "s": 96.748,
    "l": 75.882
  },
  "oklch": {
    "l": 0.71668,
    "c": 0.17267,
    "h": 301.2
  },
  "luminance": 0.34209
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B786FD

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

Preview Lab → · Contrast checker → · Palette generator →

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