#B780FB#B780FB

#B780FB is a light, vivid violet. Relative luminance 0.325; OKLCH L 70.6% C 0.179 H 302.7°. Best body text is #000000 at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#B780FB
RGBrgb(183, 128, 251)
HSLhsl(267, 94%, 74%)
HSVhsv(267, 49%, 98%)
CMYKcmyk(27.1%, 49%, 0%, 1.6%)
CIE-LABlab(63.73, 45.04, -53.75)
CIE-LCHlch(63.73, 70.13, 309.96°)
OKLaboklab(70.59% 0.097 -0.151)
OKLCHoklch(70.59% 0.179 302.7)
XYZxyz(44.6563, 32.4707, 95.1629)
Luminance0.3247 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B780FB #C4FB80
analogous
#8087FB #B780FB #F480FB
triadic
#B780FB #FBB780 #80FBB7
tetradic
#B780FB #FB8087 #C4FB80 #80FBF4
square
#B780FB #FB8087 #C4FB80 #80FBF4
split-complementary
#B780FB #FBF480 #87FB80
monochromatic
#7409F7 #9545F9 #B780FB #D9BBFD #EEE1FE

Accessibility & contrast

On white

2.80
#B780FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.49
#B780FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B780FB
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B780FB#FFFFFF#000000##000000
##B780FB1.002.807.497.49
#FFFFFF2.801.0021.0021.00
#0000007.4921.001.001.00
##0000007.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A99FF
Deuteranopia (green-blind)
#689AF8
Tritanopia (blue-blind)
#AB96B2
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #b780fb;
/* rgb */ color: rgb(183, 128, 251);
/* oklch */ color: oklch(70.6% 0.179 302.7);
Tailwind
colors: {
  custom: {
    50: '#cfa6fd',
    500: '#b780fb',
    950: '#000000',
  },
}
SCSS
$custom: #b780fb;
$custom-light: #cfa6fd;
$custom-dark: #000000;
JSON
{
  "hex": "#b780fb",
  "rgb": {
    "r": 183,
    "g": 128,
    "b": 251
  },
  "hsl": {
    "h": 266.829,
    "s": 93.893,
    "l": 74.314
  },
  "oklch": {
    "l": 0.70592,
    "c": 0.17948,
    "h": 302.7
  },
  "luminance": 0.32471
}

Semantic roles & 50–950 ramp

primary
#B780FB
secondary
#E7F6D5
accent
#E6007F
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#140F18
muted
#837F86

Preview Lab

Preview with #B780FB

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

Preview Lab → · Contrast checker → · Palette generator →

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