#B787CD#B787CD

#B787CD is a light, moderate purple. Relative luminance 0.318; OKLCH L 69.5% C 0.113 H 314.8°. Best body text is #000000 at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#B787CD
RGBrgb(183, 135, 205)
HSLhsl(281, 41%, 67%)
HSVhsv(281, 34%, 80%)
CMYKcmyk(10.7%, 34.1%, 0%, 19.6%)
CIE-LABlab(63.18, 30.92, -29.09)
CIE-LCHlch(63.18, 42.45, 316.74°)
OKLaboklab(69.49% 0.0793 -0.0798)
OKLCHoklch(69.49% 0.113 314.8)
XYZxyz(39.2101, 31.8038, 61.8190)
Luminance0.3180 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B787CD #9DCD87
analogous
#9487CD #B787CD #CD87C0
triadic
#B787CD #CDB787 #87CDB7
tetradic
#B787CD #CD9487 #9DCD87 #87C0CD
square
#B787CD #CD9487 #9DCD87 #87C0CD
split-complementary
#B787CD #C0CD87 #87CD94
monochromatic
#7D409A #9D5CBB #B787CD #D1B2DF #EBDDF1

Accessibility & contrast

On white

2.85
#B787CD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.36
#B787CD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B787CD
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B787CD#FFFFFF#000000##000000
##B787CD1.002.857.367.36
#FFFFFF2.851.0021.0021.00
#0000007.3621.001.001.00
##0000007.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C96D0
Deuteranopia (green-blind)
#879ACB
Tritanopia (blue-blind)
#B690A1
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #b787cd;
/* rgb */ color: rgb(183, 135, 205);
/* oklch */ color: oklch(69.5% 0.113 314.8);
Tailwind
colors: {
  custom: {
    50: '#cdaadc',
    500: '#b787cd',
    950: '#000000',
  },
}
SCSS
$custom: #b787cd;
$custom-light: #cdaadc;
$custom-dark: #000000;
JSON
{
  "hex": "#b787cd",
  "rgb": {
    "r": 183,
    "g": 135,
    "b": 205
  },
  "hsl": {
    "h": 281.143,
    "s": 41.176,
    "l": 66.667
  },
  "oklch": {
    "l": 0.69489,
    "c": 0.1125,
    "h": 314.8
  },
  "luminance": 0.31803
}

Semantic roles & 50–950 ramp

primary
#B787CD
secondary
#D4E3CD
accent
#B4315A
background
#FCFAFD
surface
#F9F4FB
border
#D2CED4
text
#131015
muted
#827F83

Preview Lab

Preview with #B787CD

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

Preview Lab → · Contrast checker → · Palette generator →

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