#A277FB#A277FB

#A277FB is a light, vivid violet. Relative luminance 0.278; OKLCH L 67.2% C 0.190 H 295.9°. Best body text is #000000 at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#A277FB
RGBrgb(162, 119, 251)
HSLhsl(260, 94%, 73%)
HSVhsv(260, 53%, 98%)
CMYKcmyk(35.5%, 52.6%, 0%, 1.6%)
CIE-LABlab(59.74, 44.76, -60.23)
CIE-LCHlch(59.74, 75.04, 306.62°)
OKLaboklab(67.15% 0.0829 -0.1705)
OKLCHoklch(67.15% 0.19 295.9)
XYZxyz(38.9053, 27.8394, 94.5719)
Luminance0.2784 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A277FB #D0FB77
analogous
#778EFB #A277FB #E477FB
triadic
#A277FB #FBA277 #77FBA2
tetradic
#A277FB #FB778E #D0FB77 #77FBE4
square
#A277FB #FB778E #D0FB77 #77FBE4
split-complementary
#A277FB #FBE477 #8EFB77
monochromatic
#5307F1 #793CF9 #A277FB #CBB2FD #EBE1FE

Accessibility & contrast

On white

3.20
#A277FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.57
#A277FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A277FB
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A277FB#FFFFFF#000000##000000
##A277FB1.003.206.576.57
#FFFFFF3.201.0021.0021.00
#0000006.5721.001.001.00
##0000006.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4091FF
Deuteranopia (green-blind)
#4C8EF8
Tritanopia (blue-blind)
#8D92AE
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #a277fb;
/* rgb */ color: rgb(162, 119, 251);
/* oklch */ color: oklch(67.2% 0.190 295.9);
Tailwind
colors: {
  custom: {
    50: '#c29ffd',
    500: '#a277fb',
    950: '#000000',
  },
}
SCSS
$custom: #a277fb;
$custom-light: #c29ffd;
$custom-dark: #000000;
JSON
{
  "hex": "#a277fb",
  "rgb": {
    "r": 162,
    "g": 119,
    "b": 251
  },
  "hsl": {
    "h": 259.545,
    "s": 94.286,
    "l": 72.549
  },
  "oklch": {
    "l": 0.67153,
    "c": 0.18959,
    "h": 295.9
  },
  "luminance": 0.2784
}

Semantic roles & 50–950 ramp

primary
#A277FB
secondary
#EBF6D5
accent
#E6009B
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130F18
muted
#827E86

Preview Lab

Preview with #A277FB

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

Preview Lab → · Contrast checker → · Palette generator →

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