#B781FF#B781FF

#B781FF is a light, vivid violet. Relative luminance 0.330; OKLCH L 71.0% C 0.183 H 301.7°. Best body text is #000000 at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#B781FF
RGBrgb(183, 129, 255)
HSLhsl(266, 100%, 75%)
HSVhsv(266, 49%, 100%)
CMYKcmyk(28.2%, 49.4%, 0%, 0%)
CIE-LABlab(64.15, 45.44, -55.28)
CIE-LCHlch(64.15, 71.56, 309.42°)
OKLaboklab(70.97% 0.0961 -0.1555)
OKLCHoklch(70.97% 0.183 301.7)
XYZxyz(45.4246, 32.9877, 98.5625)
Luminance0.3299 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B781FF #C9FF81
analogous
#818AFF #B781FF #F681FF
triadic
#B781FF #FFB781 #81FFB7
tetradic
#B781FF #FF818A #C9FF81 #81FFF6
square
#B781FF #FF818A #C9FF81 #81FFF6
split-complementary
#B781FF #FFF681 #8AFF81
monochromatic
#7107FF #9444FF #B781FF #DABEFF #EEE0FF

Accessibility & contrast

On white

2.76
#B781FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.60
#B781FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B781FF
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B781FF#FFFFFF#000000##000000
##B781FF1.002.767.607.60
#FFFFFF2.761.0021.0021.00
#0000007.6021.001.001.00
##0000007.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#589BFF
Deuteranopia (green-blind)
#679BFC
Tritanopia (blue-blind)
#A998B4
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #b781ff;
/* rgb */ color: rgb(183, 129, 255);
/* oklch */ color: oklch(71.0% 0.183 301.7);
Tailwind
colors: {
  custom: {
    50: '#cfa7ff',
    500: '#b781ff',
    950: '#000000',
  },
}
SCSS
$custom: #b781ff;
$custom-light: #cfa7ff;
$custom-dark: #000000;
JSON
{
  "hex": "#b781ff",
  "rgb": {
    "r": 183,
    "g": 129,
    "b": 255
  },
  "hsl": {
    "h": 265.714,
    "s": 100,
    "l": 75.294
  },
  "oklch": {
    "l": 0.70973,
    "c": 0.18275,
    "h": 301.7
  },
  "luminance": 0.32988
}

Semantic roles & 50–950 ramp

primary
#B781FF
secondary
#E8F7D4
accent
#E60083
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#140F18
muted
#837F86

Preview Lab

Preview with #B781FF

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

Preview Lab → · Contrast checker → · Palette generator →

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