#B780F8#B780F8

#B780F8 is a light, vivid violet. Relative luminance 0.323; OKLCH L 70.4% C 0.176 H 303.4°. Best body text is #000000 at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#B780F8
RGBrgb(183, 128, 248)
HSLhsl(268, 90%, 74%)
HSVhsv(268, 48%, 97%)
CMYKcmyk(26.2%, 48.4%, 0%, 2.7%)
CIE-LABlab(63.58, 44.34, -52.35)
CIE-LCHlch(63.58, 68.60, 310.26°)
OKLaboklab(70.43% 0.0967 -0.1469)
OKLCHoklch(70.43% 0.176 303.4)
XYZxyz(44.1872, 32.2830, 92.6921)
Luminance0.3228 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B780F8 #C1F880
analogous
#8085F8 #B780F8 #F380F8
triadic
#B780F8 #F8B780 #80F8B7
tetradic
#B780F8 #F88085 #C1F880 #80F8F3
square
#B780F8 #F88085 #C1F880 #80F8F3
split-complementary
#B780F8 #F8F380 #85F880
monochromatic
#750DF0 #9646F5 #B780F8 #D8BAFB #EFE2FD

Accessibility & contrast

On white

2.82
#B780F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.46
#B780F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B780F8
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B780F8#FFFFFF#000000##000000
##B780F81.002.827.467.46
#FFFFFF2.821.0021.0021.00
#0000007.4621.001.001.00
##0000007.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C99FC
Deuteranopia (green-blind)
#6B9AF5
Tritanopia (blue-blind)
#AC95B0
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #b780f8;
/* rgb */ color: rgb(183, 128, 248);
/* oklch */ color: oklch(70.4% 0.176 303.4);
Tailwind
colors: {
  custom: {
    50: '#cfa6fb',
    500: '#b780f8',
    950: '#000000',
  },
}
SCSS
$custom: #b780f8;
$custom-light: #cfa6fb;
$custom-dark: #000000;
JSON
{
  "hex": "#b780f8",
  "rgb": {
    "r": 183,
    "g": 128,
    "b": 248
  },
  "hsl": {
    "h": 267.5,
    "s": 89.552,
    "l": 73.725
  },
  "oklch": {
    "l": 0.70427,
    "c": 0.17588,
    "h": 303.4
  },
  "luminance": 0.32283
}

Semantic roles & 50–950 ramp

primary
#B780F8
secondary
#E7F5D6
accent
#E6007C
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#140F17
muted
#837F85

Preview Lab

Preview with #B780F8

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

Preview Lab → · Contrast checker → · Palette generator →

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