#B77EFE#B77EFE

#B77EFE is a light, vivid violet. Relative luminance 0.321; OKLCH L 70.4% C 0.186 H 302.4°. Best body text is #000000 at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#B77EFE
RGBrgb(183, 126, 254)
HSLhsl(267, 98%, 75%)
HSVhsv(267, 50%, 100%)
CMYKcmyk(28%, 50.4%, 0%, 0.4%)
CIE-LABlab(63.46, 46.83, -55.83)
CIE-LCHlch(63.46, 72.86, 309.99°)
OKLaboklab(70.44% 0.0998 -0.157)
OKLCHoklch(70.44% 0.186 302.4)
XYZxyz(44.8747, 32.1447, 97.5871)
Luminance0.3215 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B77EFE #C5FE7E
analogous
#7E85FE #B77EFE #F77EFE
triadic
#B77EFE #FEB77E #7EFEB7
tetradic
#B77EFE #FE7E85 #C5FE7E #7EFEF7
square
#B77EFE #FE7E85 #C5FE7E #7EFEF7
split-complementary
#B77EFE #FEF77E #85FE7E
monochromatic
#7305FD #9541FE #B77EFE #D9BBFE #EEE1FF

Accessibility & contrast

On white

2.83
#B77EFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.43
#B77EFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B77EFE
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B77EFE#FFFFFF#000000##000000
##B77EFE1.002.837.437.43
#FFFFFF2.831.0021.0021.00
#0000007.4321.001.001.00
##0000007.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5499FF
Deuteranopia (green-blind)
#6499FB
Tritanopia (blue-blind)
#AA96B2
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #b77efe;
/* rgb */ color: rgb(183, 126, 254);
/* oklch */ color: oklch(70.4% 0.186 302.4);
Tailwind
colors: {
  custom: {
    50: '#d0a5ff',
    500: '#b77efe',
    950: '#000000',
  },
}
SCSS
$custom: #b77efe;
$custom-light: #d0a5ff;
$custom-dark: #000000;
JSON
{
  "hex": "#b77efe",
  "rgb": {
    "r": 183,
    "g": 126,
    "b": 254
  },
  "hsl": {
    "h": 266.719,
    "s": 98.462,
    "l": 74.51
  },
  "oklch": {
    "l": 0.70444,
    "c": 0.1861,
    "h": 302.4
  },
  "luminance": 0.32145
}

Semantic roles & 50–950 ramp

primary
#B77EFE
secondary
#E7F7D4
accent
#E6007F
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#140F18
muted
#837F86

Preview Lab

Preview with #B77EFE

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

Preview Lab → · Contrast checker → · Palette generator →

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