#B780EB#B780EB

#B780EB is a light, vivid violet. Relative luminance 0.315; OKLCH L 69.7% C 0.160 H 306.4°. Best body text is #000000 at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#B780EB
RGBrgb(183, 128, 235)
HSLhsl(271, 73%, 71%)
HSVhsv(271, 46%, 92%)
CMYKcmyk(22.1%, 45.5%, 0%, 7.8%)
CIE-LABlab(62.93, 41.34, -46.20)
CIE-LCHlch(62.93, 61.99, 311.83°)
OKLaboklab(69.74% 0.0951 -0.129)
OKLCHoklch(69.74% 0.16 306.4)
XYZxyz(42.2400, 31.5041, 82.4368)
Luminance0.3150 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B780EB #B4EB80
analogous
#8180EB #B780EB #EB80E9
triadic
#B780EB #EBB780 #80EBB7
tetradic
#B780EB #EB8180 #B4EB80 #80E9EB
square
#B780EB #EB8180 #B4EB80 #80E9EB
split-complementary
#B780EB #E9EB80 #80EB81
monochromatic
#7B21D0 #994BE3 #B780EB #D5B5F3 #F0E5FB

Accessibility & contrast

On white

2.88
#B780EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.30
#B780EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B780EB
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B780EB#FFFFFF#000000##000000
##B780EB1.002.887.307.30
#FFFFFF2.881.0021.0021.00
#0000007.3021.001.001.00
##0000007.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6596EF
Deuteranopia (green-blind)
#7399E8
Tritanopia (blue-blind)
#AF92AA
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #b780eb;
/* rgb */ color: rgb(183, 128, 235);
/* oklch */ color: oklch(69.7% 0.160 306.4);
Tailwind
colors: {
  custom: {
    50: '#cfa6f2',
    500: '#b780eb',
    950: '#000000',
  },
}
SCSS
$custom: #b780eb;
$custom-light: #cfa6f2;
$custom-dark: #000000;
JSON
{
  "hex": "#b780eb",
  "rgb": {
    "r": 183,
    "g": 128,
    "b": 235
  },
  "hsl": {
    "h": 270.841,
    "s": 72.789,
    "l": 71.176
  },
  "oklch": {
    "l": 0.69735,
    "c": 0.16027,
    "h": 306.4
  },
  "luminance": 0.31504
}

Semantic roles & 50–950 ramp

primary
#B780EB
secondary
#E3F1D5
accent
#D51170
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#140F17
muted
#827F85

Preview Lab

Preview with #B780EB

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

Preview Lab → · Contrast checker → · Palette generator →

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