#B781DB#B781DB

#B781DB is a light, vivid violet. Relative luminance 0.309; OKLCH L 69.1% C 0.140 H 310.8°. Best body text is #000000 at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#B781DB
RGBrgb(183, 129, 219)
HSLhsl(276, 56%, 68%)
HSVhsv(276, 41%, 86%)
CMYKcmyk(16.4%, 41.1%, 0%, 14.1%)
CIE-LABlab(62.41, 37.23, -38.12)
CIE-LCHlch(62.41, 53.29, 314.32°)
OKLaboklab(69.1% 0.0911 -0.1056)
OKLCHoklch(69.1% 0.14 310.8)
XYZxyz(40.1626, 30.8829, 70.8493)
Luminance0.3088 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B781DB #A5DB81
analogous
#8A81DB #B781DB #DB81D2
triadic
#B781DB #DBB781 #81DBB7
tetradic
#B781DB #DB8A81 #A5DB81 #81D2DB
square
#B781DB #DB8A81 #A5DB81 #81D2DB
split-complementary
#B781DB #D2DB81 #81DB8A
monochromatic
#7D32AF #9C51CD #B781DB #D2B1E9 #EDE0F6

Accessibility & contrast

On white

2.93
#B781DB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.18
#B781DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B781DB
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B781DB#FFFFFF#000000##000000
##B781DB1.002.937.187.18
#FFFFFF2.931.0021.0021.00
#0000007.1821.001.001.00
##0000007.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F94DE
Deuteranopia (green-blind)
#7C98D8
Tritanopia (blue-blind)
#B38EA4
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #b781db;
/* rgb */ color: rgb(183, 129, 219);
/* oklch */ color: oklch(69.1% 0.140 310.8);
Tailwind
colors: {
  custom: {
    50: '#cea6e6',
    500: '#b781db',
    950: '#000000',
  },
}
SCSS
$custom: #b781db;
$custom-light: #cea6e6;
$custom-dark: #000000;
JSON
{
  "hex": "#b781db",
  "rgb": {
    "r": 183,
    "g": 129,
    "b": 219
  },
  "hsl": {
    "h": 276,
    "s": 55.556,
    "l": 68.235
  },
  "oklch": {
    "l": 0.69101,
    "c": 0.1395,
    "h": 310.8
  },
  "luminance": 0.30882
}

Semantic roles & 50–950 ramp

primary
#B781DB
secondary
#D9EACE
accent
#C32263
background
#FCFAFE
surface
#F9F4FC
border
#D2CED5
text
#140F16
muted
#827F84

Preview Lab

Preview with #B781DB

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

Preview Lab → · Contrast checker → · Palette generator →

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