#B787DA#B787DA

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

Color values

HEX#B787DA
RGBrgb(183, 135, 218)
HSLhsl(275, 53%, 69%)
HSVhsv(275, 38%, 85%)
CMYKcmyk(16.1%, 38.1%, 0%, 14.5%)
CIE-LABlab(63.72, 33.70, -35.52)
CIE-LCHlch(63.72, 48.96, 313.49°)
OKLaboklab(70.08% 0.0823 -0.0982)
OKLCHoklch(70.08% 0.128 310)
XYZxyz(40.8450, 32.4577, 70.4293)
Luminance0.3246 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B787DA #AADA87
analogous
#8E87DA #B787DA #DA87D3
triadic
#B787DA #DAB787 #87DAB7
tetradic
#B787DA #DA8E87 #AADA87 #87D3DA
square
#B787DA #DA8E87 #AADA87 #87D3DA
split-complementary
#B787DA #D3DA87 #87DA8E
monochromatic
#7D36B0 #9B58CC #B787DA #D3B6E8 #EFE5F7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B787DA#FFFFFF#000000##000000
##B787DA1.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)
#7798DD
Deuteranopia (green-blind)
#829BD8
Tritanopia (blue-blind)
#B393A6
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #b787da;
/* rgb */ color: rgb(183, 135, 218);
/* oklch */ color: oklch(70.1% 0.128 310.0);
Tailwind
colors: {
  custom: {
    50: '#ceaae5',
    500: '#b787da',
    950: '#000000',
  },
}
SCSS
$custom: #b787da;
$custom-light: #ceaae5;
$custom-dark: #000000;
JSON
{
  "hex": "#b787da",
  "rgb": {
    "r": 183,
    "g": 135,
    "b": 218
  },
  "hsl": {
    "h": 274.699,
    "s": 52.866,
    "l": 69.216
  },
  "oklch": {
    "l": 0.70075,
    "c": 0.1281,
    "h": 310
  },
  "luminance": 0.32457
}

Semantic roles & 50–950 ramp

primary
#B787DA
secondary
#DDEAD2
accent
#C02567
background
#FCFAFE
surface
#F9F4FC
border
#D2CED5
text
#141016
muted
#827F84

Preview Lab

Preview with #B787DA

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

Preview Lab → · Contrast checker → · Palette generator →

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