#B780EC#B780EC

#B780EC is a light, vivid violet. Relative luminance 0.316; OKLCH L 69.8% C 0.161 H 306.2°. Best body text is #000000 at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#B780EC
RGBrgb(183, 128, 236)
HSLhsl(271, 74%, 71%)
HSVhsv(271, 46%, 93%)
CMYKcmyk(22.5%, 45.8%, 0%, 7.5%)
CIE-LABlab(62.98, 41.57, -46.67)
CIE-LCHlch(62.98, 62.50, 311.69°)
OKLaboklab(69.79% 0.0953 -0.1304)
OKLCHoklch(69.79% 0.161 306.2)
XYZxyz(42.3848, 31.5621, 83.1998)
Luminance0.3156 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B780EC #B5EC80
analogous
#8180EC #B780EC #EC80EB
triadic
#B780EC #ECB780 #80ECB7
tetradic
#B780EC #EC8180 #B5EC80 #80EBEC
square
#B780EC #EC8180 #B5EC80 #80EBEC
split-complementary
#B780EC #EBEC80 #80EC81
monochromatic
#7A1FD2 #994BE4 #B780EC #D5B5F4 #F0E4FB

Accessibility & contrast

On white

2.87
#B780EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.31
#B780EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B780EC
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B780EC#FFFFFF#000000##000000
##B780EC1.002.877.317.31
#FFFFFF2.871.0021.0021.00
#0000007.3121.001.001.00
##0000007.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6496F0
Deuteranopia (green-blind)
#7299E9
Tritanopia (blue-blind)
#AF92AB
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #b780ec;
/* rgb */ color: rgb(183, 128, 236);
/* oklch */ color: oklch(69.8% 0.161 306.2);
Tailwind
colors: {
  custom: {
    50: '#cfa6f2',
    500: '#b780ec',
    950: '#000000',
  },
}
SCSS
$custom: #b780ec;
$custom-light: #cfa6f2;
$custom-dark: #000000;
JSON
{
  "hex": "#b780ec",
  "rgb": {
    "r": 183,
    "g": 128,
    "b": 236
  },
  "hsl": {
    "h": 270.556,
    "s": 73.973,
    "l": 71.373
  },
  "oklch": {
    "l": 0.69787,
    "c": 0.16147,
    "h": 306.2
  },
  "luminance": 0.31562
}

Semantic roles & 50–950 ramp

primary
#B780EC
secondary
#E4F2D6
accent
#D60F71
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#140F17
muted
#827F85

Preview Lab

Preview with #B780EC

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

Preview Lab → · Contrast checker → · Palette generator →

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