#A77BF2#A77BF2

#A77BF2 is a light, vivid violet. Relative luminance 0.288; OKLCH L 67.7% C 0.173 H 298.8°. Best body text is #000000 at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#A77BF2
RGBrgb(167, 123, 242)
HSLhsl(262, 82%, 72%)
HSVhsv(262, 49%, 95%)
CMYKcmyk(31%, 49.2%, 0%, 5.1%)
CIE-LABlab(60.60, 41.52, -53.87)
CIE-LCHlch(60.60, 68.01, 307.62°)
OKLaboklab(67.74% 0.0833 -0.1517)
OKLCHoklch(67.74% 0.173 298.8)
XYZxyz(39.0425, 28.7919, 87.4876)
Luminance0.2879 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A77BF2 #C6F27B
analogous
#7B8BF2 #A77BF2 #E37BF2
triadic
#A77BF2 #F2A77B #7BF2A7
tetradic
#A77BF2 #F27B8B #C6F27B #7BF2E3
square
#A77BF2 #F27B8B #C6F27B #7BF2E3
split-complementary
#A77BF2 #F2E37B #8BF27B
monochromatic
#5F16DD #8243ED #A77BF2 #CCB3F7 #ECE3FC

Accessibility & contrast

On white

3.11
#A77BF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.76
#A77BF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A77BF2
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A77BF2#FFFFFF#000000##000000
##A77BF21.003.116.766.76
#FFFFFF3.111.0021.0021.00
#0000006.7621.001.001.00
##0000006.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5292F6
Deuteranopia (green-blind)
#5D91EF
Tritanopia (blue-blind)
#9791AB
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #a77bf2;
/* rgb */ color: rgb(167, 123, 242);
/* oklch */ color: oklch(67.7% 0.173 298.8);
Tailwind
colors: {
  custom: {
    50: '#c4a2f7',
    500: '#a77bf2',
    950: '#000000',
  },
}
SCSS
$custom: #a77bf2;
$custom-light: #c4a2f7;
$custom-dark: #000000;
JSON
{
  "hex": "#a77bf2",
  "rgb": {
    "r": 167,
    "g": 123,
    "b": 242
  },
  "hsl": {
    "h": 262.185,
    "s": 82.069,
    "l": 71.569
  },
  "oklch": {
    "l": 0.6774,
    "c": 0.17311,
    "h": 298.8
  },
  "luminance": 0.28792
}

Semantic roles & 50–950 ramp

primary
#A77BF2
secondary
#E8F4D5
accent
#DE078F
background
#FCFAFF
surface
#F8F3FF
border
#D1CDD7
text
#130F17
muted
#827F85

Preview Lab

Preview with #A77BF2

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

Preview Lab → · Contrast checker → · Palette generator →

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