#B77AFE#B77AFE

#B77AFE is a light, vivid violet. Relative luminance 0.311; OKLCH L 69.8% C 0.192 H 303.1°. Best body text is #000000 at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#B77AFE
RGBrgb(183, 122, 254)
HSLhsl(268, 99%, 74%)
HSVhsv(268, 52%, 100%)
CMYKcmyk(28%, 52%, 0%, 0.4%)
CIE-LABlab(62.63, 48.97, -57.16)
CIE-LCHlch(62.63, 75.26, 310.59°)
OKLaboklab(69.83% 0.1049 -0.1609)
OKLCHoklch(69.83% 0.192 303.1)
XYZxyz(44.3734, 31.1421, 97.4200)
Luminance0.3114 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B77AFE #C1FE7A
analogous
#7A7FFE #B77AFE #F97AFE
triadic
#B77AFE #FEB77A #7AFEB7
tetradic
#B77AFE #FE7A7F #C1FE7A #7AFEF9
square
#B77AFE #FE7A7F #C1FE7A #7AFEF9
split-complementary
#B77AFE #FEF97A #7FFE7A
monochromatic
#7502FC #963DFE #B77AFE #D8B7FE #EFE1FF

Accessibility & contrast

On white

2.91
#B77AFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.23
#B77AFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B77AFE
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B77AFE#FFFFFF#000000##000000
##B77AFE1.002.917.237.23
#FFFFFF2.911.0021.0021.00
#0000007.2321.001.001.00
##0000007.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D96FF
Deuteranopia (green-blind)
#5F97FB
Tritanopia (blue-blind)
#AA93B1
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #b77afe;
/* rgb */ color: rgb(183, 122, 254);
/* oklch */ color: oklch(69.8% 0.192 303.1);
Tailwind
colors: {
  custom: {
    50: '#d0a2ff',
    500: '#b77afe',
    950: '#000000',
  },
}
SCSS
$custom: #b77afe;
$custom-light: #d0a2ff;
$custom-dark: #000000;
JSON
{
  "hex": "#b77afe",
  "rgb": {
    "r": 183,
    "g": 122,
    "b": 254
  },
  "hsl": {
    "h": 267.727,
    "s": 98.507,
    "l": 73.725
  },
  "oklch": {
    "l": 0.69825,
    "c": 0.19212,
    "h": 303.1
  },
  "luminance": 0.31142
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B77AFE

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

Preview Lab → · Contrast checker → · Palette generator →

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