#A277EA#A277EA

#A277EA is a light, vivid violet. Relative luminance 0.268; OKLCH L 66.1% C 0.168 H 299.0°. Best body text is #000000 at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#A277EA
RGBrgb(162, 119, 234)
HSLhsl(262, 73%, 69%)
HSVhsv(262, 49%, 92%)
CMYKcmyk(30.8%, 49.1%, 0%, 8.2%)
CIE-LABlab(58.80, 40.49, -52.31)
CIE-LCHlch(58.80, 66.15, 307.74°)
OKLaboklab(66.15% 0.0817 -0.1473)
OKLCHoklch(66.15% 0.168 299)
XYZxyz(36.3449, 26.8152, 81.0870)
Luminance0.2682 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A277EA #BFEA77
analogous
#7786EA #A277EA #DC77EA
triadic
#A277EA #EAA277 #77EAA2
tetradic
#A277EA #EA7786 #BFEA77 #77EADC
square
#A277EA #EA7786 #BFEA77 #77EADC
split-complementary
#A277EA #EADC77 #86EA77
monochromatic
#5E1FC8 #7E42E2 #A277EA #C6ACF2 #EBE1FA

Accessibility & contrast

On white

3.30
#A277EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.36
#A277EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A277EA
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A277EA#FFFFFF#000000##000000
##A277EA1.003.306.366.36
#FFFFFF3.301.0021.0021.00
#0000006.3621.001.001.00
##0000006.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#508DEE
Deuteranopia (green-blind)
#5B8CE7
Tritanopia (blue-blind)
#938DA6
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #a277ea;
/* rgb */ color: rgb(162, 119, 234);
/* oklch */ color: oklch(66.1% 0.168 299.0);
Tailwind
colors: {
  custom: {
    50: '#c09ff1',
    500: '#a277ea',
    950: '#000000',
  },
}
SCSS
$custom: #a277ea;
$custom-light: #c09ff1;
$custom-dark: #000000;
JSON
{
  "hex": "#a277ea",
  "rgb": {
    "r": 162,
    "g": 119,
    "b": 234
  },
  "hsl": {
    "h": 262.435,
    "s": 73.248,
    "l": 69.216
  },
  "oklch": {
    "l": 0.6615,
    "c": 0.16844,
    "h": 299
  },
  "luminance": 0.26816
}

Semantic roles & 50–950 ramp

primary
#A277EA
secondary
#E3EFCE
accent
#D5108C
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E17
muted
#827E85

Preview Lab

Preview with #A277EA

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

Preview Lab → · Contrast checker → · Palette generator →

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