#A77EFB#A77EFB

#A77EFB is a light, vivid violet. Relative luminance 0.301; OKLCH L 68.8% C 0.180 H 296.5°. Best body text is #000000 at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#A77EFB
RGBrgb(167, 126, 251)
HSLhsl(260, 94%, 74%)
HSVhsv(260, 50%, 98%)
CMYKcmyk(33.5%, 49.8%, 0%, 1.6%)
CIE-LABlab(61.74, 42.10, -57.01)
CIE-LCHlch(61.74, 70.87, 306.44°)
OKLaboklab(68.75% 0.0803 -0.1609)
OKLCHoklch(68.75% 0.18 296.5)
XYZxyz(40.8054, 30.1016, 94.9084)
Luminance0.3010 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A77EFB #D2FB7E
analogous
#7E94FB #A77EFB #E67EFB
triadic
#A77EFB #FBA77E #7EFBA7
tetradic
#A77EFB #FB7E94 #D2FB7E #7EFBE6
square
#A77EFB #FB7E94 #D2FB7E #7EFBE6
split-complementary
#A77EFB #FBE67E #94FB7E
monochromatic
#5608F7 #7F43F9 #A77EFB #CFB9FD #EBE1FE

Accessibility & contrast

On white

2.99
#A77EFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.02
#A77EFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A77EFB
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A77EFB#FFFFFF#000000##000000
##A77EFB1.002.997.027.02
#FFFFFF2.991.0021.0021.00
#0000007.0221.001.001.00
##0000007.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5096FF
Deuteranopia (green-blind)
#5A94F8
Tritanopia (blue-blind)
#9496B1
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #a77efb;
/* rgb */ color: rgb(167, 126, 251);
/* oklch */ color: oklch(68.8% 0.180 296.5);
Tailwind
colors: {
  custom: {
    50: '#c5a4fd',
    500: '#a77efb',
    950: '#000000',
  },
}
SCSS
$custom: #a77efb;
$custom-light: #c5a4fd;
$custom-dark: #000000;
JSON
{
  "hex": "#a77efb",
  "rgb": {
    "r": 167,
    "g": 126,
    "b": 251
  },
  "hsl": {
    "h": 259.68,
    "s": 93.985,
    "l": 73.922
  },
  "oklch": {
    "l": 0.6875,
    "c": 0.17985,
    "h": 296.5
  },
  "luminance": 0.30102
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A77EFB

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

Preview Lab → · Contrast checker → · Palette generator →

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