#B781D8#B781D8

#B781D8 is a light, vivid violet. Relative luminance 0.307; OKLCH L 69.0% C 0.136 H 311.8°. Best body text is #000000 at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#B781D8
RGBrgb(183, 129, 216)
HSLhsl(277, 53%, 68%)
HSVhsv(277, 40%, 85%)
CMYKcmyk(15.3%, 40.3%, 0%, 15.3%)
CIE-LABlab(62.28, 36.58, -36.65)
CIE-LCHlch(62.28, 51.79, 314.94°)
OKLaboklab(68.96% 0.0905 -0.1014)
OKLCHoklch(68.96% 0.136 311.8)
XYZxyz(39.7712, 30.7263, 68.7881)
Luminance0.3073 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B781D8 #A2D881
analogous
#8B81D8 #B781D8 #D881CE
triadic
#B781D8 #D8B781 #81D8B7
tetradic
#B781D8 #D88B81 #A2D881 #81CED8
square
#B781D8 #D88B81 #A2D881 #81CED8
split-complementary
#B781D8 #CED881 #81D88B
monochromatic
#7D35AA #9C52CA #B781D8 #D2B0E6 #ECDEF5

Accessibility & contrast

On white

2.94
#B781D8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.15
#B781D8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B781D8
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B781D8#FFFFFF#000000##000000
##B781D81.002.947.157.15
#FFFFFF2.941.0021.0021.00
#0000007.1521.001.001.00
##0000007.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7094DB
Deuteranopia (green-blind)
#7D98D6
Tritanopia (blue-blind)
#B48EA2
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #b781d8;
/* rgb */ color: rgb(183, 129, 216);
/* oklch */ color: oklch(69.0% 0.136 311.8);
Tailwind
colors: {
  custom: {
    50: '#cea6e4',
    500: '#b781d8',
    950: '#000000',
  },
}
SCSS
$custom: #b781d8;
$custom-light: #cea6e4;
$custom-dark: #000000;
JSON
{
  "hex": "#b781d8",
  "rgb": {
    "r": 183,
    "g": 129,
    "b": 216
  },
  "hsl": {
    "h": 277.241,
    "s": 52.727,
    "l": 67.647
  },
  "oklch": {
    "l": 0.68957,
    "c": 0.13593,
    "h": 311.8
  },
  "luminance": 0.30726
}

Semantic roles & 50–950 ramp

primary
#B781D8
secondary
#D7E8CD
accent
#C02560
background
#FCFAFE
surface
#F9F4FC
border
#D2CED5
text
#140F15
muted
#827F84

Preview Lab

Preview with #B781D8

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

Preview Lab → · Contrast checker → · Palette generator →

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