#A277EB#A277EB

#A277EB is a light, vivid violet. Relative luminance 0.269; OKLCH L 66.2% C 0.170 H 298.8°. Best body text is #000000 at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#A277EB
RGBrgb(162, 119, 235)
HSLhsl(262, 74%, 69%)
HSVhsv(262, 49%, 92%)
CMYKcmyk(31.1%, 49.4%, 0%, 7.8%)
CIE-LABlab(58.86, 40.74, -52.79)
CIE-LCHlch(58.86, 66.68, 307.66°)
OKLaboklab(66.21% 0.0817 -0.1487)
OKLCHoklch(66.21% 0.17 298.8)
XYZxyz(36.4889, 26.8729, 81.8457)
Luminance0.2687 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A277EB #C0EB77
analogous
#7786EB #A277EB #DC77EB
triadic
#A277EB #EBA277 #77EBA2
tetradic
#A277EB #EB7786 #C0EB77 #77EBDC
square
#A277EB #EB7786 #C0EB77 #77EBDC
split-complementary
#A277EB #EBDC77 #86EB77
monochromatic
#5E1ECA #7E42E3 #A277EB #C6ACF3 #EBE2FB

Accessibility & contrast

On white

3.29
#A277EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.37
#A277EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A277EB
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A277EB#FFFFFF#000000##000000
##A277EB1.003.296.376.37
#FFFFFF3.291.0021.0021.00
#0000006.3721.001.001.00
##0000006.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F8EEF
Deuteranopia (green-blind)
#5A8DE8
Tritanopia (blue-blind)
#938DA6
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #a277eb;
/* rgb */ color: rgb(162, 119, 235);
/* oklch */ color: oklch(66.2% 0.170 298.8);
Tailwind
colors: {
  custom: {
    50: '#c19ff2',
    500: '#a277eb',
    950: '#000000',
  },
}
SCSS
$custom: #a277eb;
$custom-light: #c19ff2;
$custom-dark: #000000;
JSON
{
  "hex": "#a277eb",
  "rgb": {
    "r": 162,
    "g": 119,
    "b": 235
  },
  "hsl": {
    "h": 262.241,
    "s": 74.359,
    "l": 69.412
  },
  "oklch": {
    "l": 0.66207,
    "c": 0.16969,
    "h": 298.8
  },
  "luminance": 0.26873
}

Semantic roles & 50–950 ramp

primary
#A277EB
secondary
#E3F0CE
accent
#D60F8D
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E17
muted
#827E85

Preview Lab

Preview with #A277EB

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

Preview Lab → · Contrast checker → · Palette generator →

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