#A77BFB#A77BFB

#A77BFB is a light, vivid violet. Relative luminance 0.293; OKLCH L 68.3% C 0.184 H 297.1°. Best body text is #000000 at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#A77BFB
RGBrgb(167, 123, 251)
HSLhsl(261, 94%, 73%)
HSVhsv(261, 51%, 98%)
CMYKcmyk(33.5%, 51%, 0%, 1.6%)
CIE-LABlab(61.09, 43.76, -58.06)
CIE-LCHlch(61.09, 72.70, 307.01°)
OKLaboklab(68.26% 0.084 -0.164)
OKLCHoklch(68.26% 0.184 297.1)
XYZxyz(40.4276, 29.3459, 94.7825)
Luminance0.2935 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A77BFB #CFFB7B
analogous
#7B8FFB #A77BFB #E77BFB
triadic
#A77BFB #FBA77B #7BFBA7
tetradic
#A77BFB #FB7B8F #CFFB7B #7BFBE7
square
#A77BFB #FB7B8F #CFFB7B #7BFBE7
split-complementary
#A77BFB #FBE77B #8FFB7B
monochromatic
#5907F4 #7F40F9 #A77BFB #CFB6FD #EBE1FE

Accessibility & contrast

On white

3.06
#A77BFB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.87
#A77BFB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A77BFB
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A77BFB#FFFFFF#000000##000000
##A77BFB1.003.066.876.87
#FFFFFF3.061.0021.0021.00
#0000006.8721.001.001.00
##0000006.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B94FF
Deuteranopia (green-blind)
#5692F8
Tritanopia (blue-blind)
#9494B0
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #a77bfb;
/* rgb */ color: rgb(167, 123, 251);
/* oklch */ color: oklch(68.3% 0.184 297.1);
Tailwind
colors: {
  custom: {
    50: '#c5a2fd',
    500: '#a77bfb',
    950: '#000000',
  },
}
SCSS
$custom: #a77bfb;
$custom-light: #c5a2fd;
$custom-dark: #000000;
JSON
{
  "hex": "#a77bfb",
  "rgb": {
    "r": 167,
    "g": 123,
    "b": 251
  },
  "hsl": {
    "h": 260.625,
    "s": 94.118,
    "l": 73.333
  },
  "oklch": {
    "l": 0.68261,
    "c": 0.18428,
    "h": 297.1
  },
  "luminance": 0.29346
}

Semantic roles & 50–950 ramp

primary
#A77BFB
secondary
#EBF6D5
accent
#E60097
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F18
muted
#827F86

Preview Lab

Preview with #A77BFB

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

Preview Lab → · Contrast checker → · Palette generator →

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