#B780EA#B780EA

#B780EA is a light, vivid violet. Relative luminance 0.314; OKLCH L 69.7% C 0.159 H 306.7°. Best body text is #000000 at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#B780EA
RGBrgb(183, 128, 234)
HSLhsl(271, 72%, 71%)
HSVhsv(271, 45%, 92%)
CMYKcmyk(21.8%, 45.3%, 0%, 8.2%)
CIE-LABlab(62.88, 41.12, -45.72)
CIE-LCHlch(62.88, 61.49, 311.97°)
OKLaboklab(69.68% 0.095 -0.1276)
OKLCHoklch(69.68% 0.159 306.7)
XYZxyz(42.0959, 31.4465, 81.6781)
Luminance0.3145 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B780EA #B3EA80
analogous
#8280EA #B780EA #EA80E8
triadic
#B780EA #EAB780 #80EAB7
tetradic
#B780EA #EA8280 #B3EA80 #80E8EA
square
#B780EA #EA8280 #B3EA80 #80E8EA
split-complementary
#B780EA #E8EA80 #80EA82
monochromatic
#7B22CE #994BE1 #B780EA #D5B5F3 #F0E5FB

Accessibility & contrast

On white

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

On black

7.29
#B780EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B780EA
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B780EA#FFFFFF#000000##000000
##B780EA1.002.887.297.29
#FFFFFF2.881.0021.0021.00
#0000007.2921.001.001.00
##0000007.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6596EE
Deuteranopia (green-blind)
#7399E7
Tritanopia (blue-blind)
#AF91AA
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #b780ea;
/* rgb */ color: rgb(183, 128, 234);
/* oklch */ color: oklch(69.7% 0.159 306.7);
Tailwind
colors: {
  custom: {
    50: '#cea6f1',
    500: '#b780ea',
    950: '#000000',
  },
}
SCSS
$custom: #b780ea;
$custom-light: #cea6f1;
$custom-dark: #000000;
JSON
{
  "hex": "#b780ea",
  "rgb": {
    "r": 183,
    "g": 128,
    "b": 234
  },
  "hsl": {
    "h": 271.132,
    "s": 71.622,
    "l": 70.98
  },
  "oklch": {
    "l": 0.69684,
    "c": 0.15907,
    "h": 306.7
  },
  "luminance": 0.31446
}

Semantic roles & 50–950 ramp

primary
#B780EA
secondary
#E2F1D5
accent
#D4126F
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#140F17
muted
#827F85

Preview Lab

Preview with #B780EA

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

Preview Lab → · Contrast checker → · Palette generator →

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