#A277FA#A277FA

#A277FA is a light, vivid violet. Relative luminance 0.278; OKLCH L 67.1% C 0.188 H 296.1°. Best body text is #000000 at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#A277FA
RGBrgb(162, 119, 250)
HSLhsl(260, 93%, 72%)
HSVhsv(260, 52%, 98%)
CMYKcmyk(35.2%, 52.4%, 0%, 2%)
CIE-LABlab(59.69, 44.51, -59.77)
CIE-LCHlch(59.69, 74.52, 306.67°)
OKLaboklab(67.09% 0.0828 -0.1692)
OKLCHoklch(67.09% 0.188 296.1)
XYZxyz(38.7481, 27.7765, 93.7439)
Luminance0.2778 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A277FA #CFFA77
analogous
#778DFA #A277FA #E477FA
triadic
#A277FA #FAA277 #77FAA2
tetradic
#A277FA #FA778D #CFFA77 #77FAE4
square
#A277FA #FA778D #CFFA77 #77FAE4
split-complementary
#A277FA #FAE477 #8DFA77
monochromatic
#5409EE #7A3CF8 #A277FA #CAB2FC #EBE1FE

Accessibility & contrast

On white

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

On black

6.56
#A277FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A277FA
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A277FA#FFFFFF#000000##000000
##A277FA1.003.206.566.56
#FFFFFF3.201.0021.0021.00
#0000006.5621.001.001.00
##0000006.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4191FE
Deuteranopia (green-blind)
#4D8EF7
Tritanopia (blue-blind)
#8E91AD
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #a277fa;
/* rgb */ color: rgb(162, 119, 250);
/* oklch */ color: oklch(67.1% 0.188 296.1);
Tailwind
colors: {
  custom: {
    50: '#c29ffd',
    500: '#a277fa',
    950: '#000000',
  },
}
SCSS
$custom: #a277fa;
$custom-light: #c29ffd;
$custom-dark: #000000;
JSON
{
  "hex": "#a277fa",
  "rgb": {
    "r": 162,
    "g": 119,
    "b": 250
  },
  "hsl": {
    "h": 259.695,
    "s": 92.908,
    "l": 72.353
  },
  "oklch": {
    "l": 0.67093,
    "c": 0.18835,
    "h": 296.1
  },
  "luminance": 0.27777
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A277FA

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

Preview Lab → · Contrast checker → · Palette generator →

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