#A77FFB#A77FFB

#A77FFB is a light, vivid violet. Relative luminance 0.304; OKLCH L 68.9% C 0.178 H 296.3°. Best body text is #000000 at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#A77FFB
RGBrgb(167, 127, 251)
HSLhsl(259, 94%, 74%)
HSVhsv(259, 49%, 98%)
CMYKcmyk(33.5%, 49.4%, 0%, 1.6%)
CIE-LABlab(61.96, 41.54, -56.66)
CIE-LCHlch(61.96, 70.26, 306.25°)
OKLaboklab(68.91% 0.079 -0.1599)
OKLCHoklch(68.91% 0.178 296.3)
XYZxyz(40.9340, 30.3587, 94.9513)
Luminance0.3036 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A77FFB #D3FB7F
analogous
#7F95FB #A77FFB #E57FFB
triadic
#A77FFB #FBA77F #7FFBA7
tetradic
#A77FFB #FB7F95 #D3FB7F #7FFBE5
square
#A77FFB #FB7F95 #D3FB7F #7FFBE5
split-complementary
#A77FFB #FBE57F #95FB7F
monochromatic
#5508F7 #7E44F9 #A77FFB #D0BAFD #EBE1FE

Accessibility & contrast

On white

2.97
#A77FFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.07
#A77FFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A77FFB
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A77FFB#FFFFFF#000000##000000
##A77FFB1.002.977.077.07
#FFFFFF2.971.0021.0021.00
#0000007.0721.001.001.00
##0000007.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5296FF
Deuteranopia (green-blind)
#5B94F8
Tritanopia (blue-blind)
#9497B1
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #a77ffb;
/* rgb */ color: rgb(167, 127, 251);
/* oklch */ color: oklch(68.9% 0.178 296.3);
Tailwind
colors: {
  custom: {
    50: '#c5a5fd',
    500: '#a77ffb',
    950: '#000000',
  },
}
SCSS
$custom: #a77ffb;
$custom-light: #c5a5fd;
$custom-dark: #000000;
JSON
{
  "hex": "#a77ffb",
  "rgb": {
    "r": 167,
    "g": 127,
    "b": 251
  },
  "hsl": {
    "h": 259.355,
    "s": 93.939,
    "l": 74.118
  },
  "oklch": {
    "l": 0.68914,
    "c": 0.17837,
    "h": 296.3
  },
  "luminance": 0.30359
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A77FFB

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

Preview Lab → · Contrast checker → · Palette generator →

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