#A277EE#A277EE

#A277EE is a light, vivid violet. Relative luminance 0.270; OKLCH L 66.4% C 0.173 H 298.2°. Best body text is #000000 at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#A277EE
RGBrgb(162, 119, 238)
HSLhsl(262, 78%, 70%)
HSVhsv(262, 50%, 93%)
CMYKcmyk(31.9%, 50%, 0%, 6.7%)
CIE-LABlab(59.02, 41.48, -54.19)
CIE-LCHlch(59.02, 68.25, 307.43°)
OKLaboklab(66.38% 0.082 -0.1528)
OKLCHoklch(66.38% 0.173 298.2)
XYZxyz(36.9260, 27.0477, 84.1476)
Luminance0.2705 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A277EE #C3EE77
analogous
#7787EE #A277EE #DE77EE
triadic
#A277EE #EEA277 #77EEA2
tetradic
#A277EE #EE7787 #C3EE77 #77EEDE
square
#A277EE #EE7787 #C3EE77 #77EEDE
split-complementary
#A277EE #EEDE77 #87EE77
monochromatic
#5C1AD1 #7D41E7 #A277EE #C7ADF5 #ECE4FC

Accessibility & contrast

On white

3.28
#A277EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.41
#A277EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A277EE
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A277EE#FFFFFF#000000##000000
##A277EE1.003.286.416.41
#FFFFFF3.281.0021.0021.00
#0000006.4121.001.001.00
##0000006.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D8EF2
Deuteranopia (green-blind)
#588DEB
Tritanopia (blue-blind)
#928EA8
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #a277ee;
/* rgb */ color: rgb(162, 119, 238);
/* oklch */ color: oklch(66.4% 0.173 298.2);
Tailwind
colors: {
  custom: {
    50: '#c19ff4',
    500: '#a277ee',
    950: '#000000',
  },
}
SCSS
$custom: #a277ee;
$custom-light: #c19ff4;
$custom-dark: #000000;
JSON
{
  "hex": "#a277ee",
  "rgb": {
    "r": 162,
    "g": 119,
    "b": 238
  },
  "hsl": {
    "h": 261.681,
    "s": 77.778,
    "l": 70
  },
  "oklch": {
    "l": 0.66381,
    "c": 0.17344,
    "h": 298.2
  },
  "luminance": 0.27048
}

Semantic roles & 50–950 ramp

primary
#A277EE
secondary
#E5F1D0
accent
#DA0B8F
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E17
muted
#827E85

Preview Lab

Preview with #A277EE

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

Preview Lab → · Contrast checker → · Palette generator →

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