#B780F7#B780F7

#B780F7 is a light, vivid violet. Relative luminance 0.322; OKLCH L 70.4% C 0.175 H 303.6°. Best body text is #000000 at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#B780F7
RGBrgb(183, 128, 247)
HSLhsl(268, 88%, 74%)
HSVhsv(268, 48%, 97%)
CMYKcmyk(25.9%, 48.2%, 0%, 3.1%)
CIE-LABlab(63.53, 44.10, -51.88)
CIE-LCHlch(63.53, 68.09, 310.37°)
OKLaboklab(70.37% 0.0966 -0.1455)
OKLCHoklch(70.37% 0.175 303.6)
XYZxyz(44.0325, 32.2211, 91.8772)
Luminance0.3222 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B780F7 #C0F780
analogous
#8084F7 #B780F7 #F280F7
triadic
#B780F7 #F7B780 #80F7B7
tetradic
#B780F7 #F78084 #C0F780 #80F7F2
square
#B780F7 #F78084 #C0F780 #80F7F2
split-complementary
#B780F7 #F7F280 #84F780
monochromatic
#760FEE #9646F3 #B780F7 #D8BAFB #EFE2FD

Accessibility & contrast

On white

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

On black

7.44
#B780F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B780F7
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B780F7#FFFFFF#000000##000000
##B780F71.002.827.447.44
#FFFFFF2.821.0021.0021.00
#0000007.4421.001.001.00
##0000007.4421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b780f7;
/* rgb */ color: rgb(183, 128, 247);
/* oklch */ color: oklch(70.4% 0.175 303.6);
Tailwind
colors: {
  custom: {
    50: '#cfa6fa',
    500: '#b780f7',
    950: '#000000',
  },
}
SCSS
$custom: #b780f7;
$custom-light: #cfa6fa;
$custom-dark: #000000;
JSON
{
  "hex": "#b780f7",
  "rgb": {
    "r": 183,
    "g": 128,
    "b": 247
  },
  "hsl": {
    "h": 267.731,
    "s": 88.148,
    "l": 73.529
  },
  "oklch": {
    "l": 0.70373,
    "c": 0.17468,
    "h": 303.6
  },
  "luminance": 0.32221
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B780F7

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

Preview Lab → · Contrast checker → · Palette generator →

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