#B787ED#B787ED

#B787ED is a light, vivid violet. Relative luminance 0.335; OKLCH L 71.0% C 0.151 H 304.5°. Best body text is #000000 at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#B787ED
RGBrgb(183, 135, 237)
HSLhsl(268, 74%, 73%)
HSVhsv(268, 43%, 93%)
CMYKcmyk(22.8%, 43%, 0%, 7.1%)
CIE-LABlab(64.57, 37.95, -44.72)
CIE-LCHlch(64.57, 58.65, 310.32°)
OKLaboklab(71% 0.0858 -0.1247)
OKLCHoklch(71% 0.151 304.5)
XYZxyz(43.4753, 33.5098, 84.2820)
Luminance0.3351 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B787ED #BDED87
analogous
#878AED #B787ED #EA87ED
triadic
#B787ED #EDB787 #87EDB7
tetradic
#B787ED #ED878A #BDED87 #87EDEA
square
#B787ED #ED878A #BDED87 #87EDEA
split-complementary
#B787ED #EDEA87 #8AED87
monochromatic
#7721D9 #9752E5 #B787ED #D7BCF5 #EFE4FB

Accessibility & contrast

On white

2.73
#B787ED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.70
#B787ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B787ED
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B787ED#FFFFFF#000000##000000
##B787ED1.002.737.707.70
#FFFFFF2.731.0021.0021.00
#0000007.7021.001.001.00
##0000007.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D9BF1
Deuteranopia (green-blind)
#789DEA
Tritanopia (blue-blind)
#AE98AF
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #b787ed;
/* rgb */ color: rgb(183, 135, 237);
/* oklch */ color: oklch(71.0% 0.151 304.5);
Tailwind
colors: {
  custom: {
    50: '#ceabf3',
    500: '#b787ed',
    950: '#000000',
  },
}
SCSS
$custom: #b787ed;
$custom-light: #ceabf3;
$custom-dark: #000000;
JSON
{
  "hex": "#b787ed",
  "rgb": {
    "r": 183,
    "g": 135,
    "b": 237
  },
  "hsl": {
    "h": 268.235,
    "s": 73.913,
    "l": 72.941
  },
  "oklch": {
    "l": 0.70997,
    "c": 0.15141,
    "h": 304.5
  },
  "luminance": 0.3351
}

Semantic roles & 50–950 ramp

primary
#B787ED
secondary
#E6F3D8
accent
#D60F79
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#141017
muted
#827F85

Preview Lab

Preview with #B787ED

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

Preview Lab → · Contrast checker → · Palette generator →

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