#B787CA#B787CA

#B787CA is a light, moderate purple. Relative luminance 0.317; OKLCH L 69.4% C 0.109 H 316.1°. Best body text is #000000 at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#B787CA
RGBrgb(183, 135, 202)
HSLhsl(283, 39%, 66%)
HSVhsv(283, 33%, 79%)
CMYKcmyk(9.4%, 33.2%, 0%, 20.8%)
CIE-LABlab(63.06, 30.29, -27.59)
CIE-LCHlch(63.06, 40.98, 317.67°)
OKLaboklab(69.36% 0.0785 -0.0756)
OKLCHoklch(69.36% 0.109 316.1)
XYZxyz(38.8515, 31.6603, 59.9301)
Luminance0.3166 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B787CA #9ACA87
analogous
#9587CA #B787CA #CA87BB
triadic
#B787CA #CAB787 #87CAB7
tetradic
#B787CA #CA9587 #9ACA87 #87BBCA
square
#B787CA #CA9587 #9ACA87 #87BBCA
split-complementary
#B787CA #BBCA87 #87CA95
monochromatic
#7D4295 #9E5DB7 #B787CA #D0B1DD #EADCEF

Accessibility & contrast

On white

2.86
#B787CA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.33
#B787CA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B787CA
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B787CA#FFFFFF#000000##000000
##B787CA1.002.867.337.33
#FFFFFF2.861.0021.0021.00
#0000007.3321.001.001.00
##0000007.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D96CD
Deuteranopia (green-blind)
#889AC8
Tritanopia (blue-blind)
#B68FA0
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #b787ca;
/* rgb */ color: rgb(183, 135, 202);
/* oklch */ color: oklch(69.4% 0.109 316.1);
Tailwind
colors: {
  custom: {
    50: '#cdaada',
    500: '#b787ca',
    950: '#000000',
  },
}
SCSS
$custom: #b787ca;
$custom-light: #cdaada;
$custom-dark: #000000;
JSON
{
  "hex": "#b787ca",
  "rgb": {
    "r": 183,
    "g": 135,
    "b": 202
  },
  "hsl": {
    "h": 282.985,
    "s": 38.728,
    "l": 66.078
  },
  "oklch": {
    "l": 0.6936,
    "c": 0.10898,
    "h": 316.1
  },
  "luminance": 0.31659
}

Semantic roles & 50–950 ramp

primary
#B787CA
secondary
#D2E1CB
accent
#B23458
background
#FCFAFD
surface
#F9F4FA
border
#D2CED3
text
#131015
muted
#827F83

Preview Lab

Preview with #B787CA

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

Preview Lab → · Contrast checker → · Palette generator →

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