#B781CB#B781CB

#B781CB is a light, vivid purple. Relative luminance 0.301; OKLCH L 68.4% C 0.121 H 316.6°. Best body text is #000000 at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#B781CB
RGBrgb(183, 129, 203)
HSLhsl(284, 42%, 65%)
HSVhsv(284, 36%, 80%)
CMYKcmyk(9.9%, 36.5%, 0%, 20.4%)
CIE-LABlab(61.72, 33.83, -30.22)
CIE-LCHlch(61.72, 45.36, 318.23°)
OKLaboklab(68.36% 0.0877 -0.083)
OKLCHoklch(68.36% 0.121 316.6)
XYZxyz(38.1566, 30.0805, 60.2844)
Luminance0.3008 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B781CB #95CB81
analogous
#9281CB #B781CB #CB81BA
triadic
#B781CB #CBB781 #81CBB7
tetradic
#B781CB #CB9281 #95CB81 #81BACB
square
#B781CB #CB9281 #95CB81 #81BACB
split-complementary
#B781CB #BACB81 #81CB92
monochromatic
#7D3D94 #9E56B9 #B781CB #D0ACDD #E9D8EF

Accessibility & contrast

On white

2.99
#B781CB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.02
#B781CB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B781CB
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B781CB#FFFFFF#000000##000000
##B781CB1.002.997.027.02
#FFFFFF2.991.0021.0021.00
#0000007.0221.001.001.00
##0000007.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7692CE
Deuteranopia (green-blind)
#8397C9
Tritanopia (blue-blind)
#B78A9D
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #b781cb;
/* rgb */ color: rgb(183, 129, 203);
/* oklch */ color: oklch(68.4% 0.121 316.6);
Tailwind
colors: {
  custom: {
    50: '#cda6db',
    500: '#b781cb',
    950: '#000000',
  },
}
SCSS
$custom: #b781cb;
$custom-light: #cda6db;
$custom-dark: #000000;
JSON
{
  "hex": "#b781cb",
  "rgb": {
    "r": 183,
    "g": 129,
    "b": 203
  },
  "hsl": {
    "h": 283.784,
    "s": 41.573,
    "l": 65.098
  },
  "oklch": {
    "l": 0.68359,
    "c": 0.12076,
    "h": 316.6
  },
  "luminance": 0.3008
}

Semantic roles & 50–950 ramp

primary
#B781CB
secondary
#CEE0C7
accent
#B53154
background
#FCFAFD
surface
#F9F4FB
border
#D2CED4
text
#140F15
muted
#827F83

Preview Lab

Preview with #B781CB

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

Preview Lab → · Contrast checker → · Palette generator →

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