#B787FF#B787FF

#B787FF is a light, vivid violet. Relative luminance 0.346; OKLCH L 71.9% C 0.174 H 300.6°. Best body text is #000000 at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#B787FF
RGBrgb(183, 135, 255)
HSLhsl(264, 100%, 76%)
HSVhsv(264, 47%, 100%)
CMYKcmyk(28.2%, 47.1%, 0%, 0%)
CIE-LABlab(65.45, 42.17, -53.22)
CIE-LCHlch(65.45, 67.90, 308.39°)
OKLaboklab(71.94% 0.0883 -0.1495)
OKLCHoklch(71.94% 0.174 300.6)
XYZxyz(46.2383, 34.6150, 98.8337)
Luminance0.3462 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B787FF #CFFF87
analogous
#8793FF #B787FF #F387FF
triadic
#B787FF #FFB787 #87FFB7
tetradic
#B787FF #FF8793 #CFFF87 #87FFF3
square
#B787FF #FF8793 #CFFF87 #87FFF3
split-complementary
#B787FF #FFF387 #93FF87
monochromatic
#6E0DFF #924AFF #B787FF #DCC4FF #EDE0FF

Accessibility & contrast

On white

2.65
#B787FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.92
#B787FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B787FF
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B787FF#FFFFFF#000000##000000
##B787FF1.002.657.927.92
#FFFFFF2.651.0021.0021.00
#0000007.9221.001.001.00
##0000007.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#629EFF
Deuteranopia (green-blind)
#6E9EFC
Tritanopia (blue-blind)
#A99DB7
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #b787ff;
/* rgb */ color: rgb(183, 135, 255);
/* oklch */ color: oklch(71.9% 0.174 300.6);
Tailwind
colors: {
  custom: {
    50: '#cfabff',
    500: '#b787ff',
    950: '#000000',
  },
}
SCSS
$custom: #b787ff;
$custom-light: #cfabff;
$custom-dark: #000000;
JSON
{
  "hex": "#b787ff",
  "rgb": {
    "r": 183,
    "g": 135,
    "b": 255
  },
  "hsl": {
    "h": 264,
    "s": 100,
    "l": 76.471
  },
  "oklch": {
    "l": 0.7194,
    "c": 0.17359,
    "h": 300.6
  },
  "luminance": 0.34615
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B787FF

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

Preview Lab → · Contrast checker → · Palette generator →

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