#A277EF#A277EF

#A277EF is a light, vivid violet. Relative luminance 0.271; OKLCH L 66.4% C 0.175 H 298.0°. Best body text is #000000 at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#A277EF
RGBrgb(162, 119, 239)
HSLhsl(262, 79%, 70%)
HSVhsv(262, 50%, 94%)
CMYKcmyk(32.2%, 50.2%, 0%, 6.3%)
CIE-LABlab(59.07, 41.73, -54.66)
CIE-LCHlch(59.07, 68.77, 307.36°)
OKLaboklab(66.44% 0.0821 -0.1542)
OKLCHoklch(66.44% 0.175 298)
XYZxyz(37.0733, 27.1066, 84.9235)
Luminance0.2711 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A277EF #C4EF77
analogous
#7788EF #A277EF #DE77EF
triadic
#A277EF #EFA277 #77EFA2
tetradic
#A277EF #EF7788 #C4EF77 #77EFDE
square
#A277EF #EF7788 #C4EF77 #77EFDE
split-complementary
#A277EF #EFDE77 #88EF77
monochromatic
#5B19D3 #7D40E9 #A277EF #C7AEF5 #ECE4FC

Accessibility & contrast

On white

3.27
#A277EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.42
#A277EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A277EF
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A277EF#FFFFFF#000000##000000
##A277EF1.003.276.426.42
#FFFFFF3.271.0021.0021.00
#0000006.4221.001.001.00
##0000006.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C8EF3
Deuteranopia (green-blind)
#578DEC
Tritanopia (blue-blind)
#918EA8
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #a277ef;
/* rgb */ color: rgb(162, 119, 239);
/* oklch */ color: oklch(66.4% 0.175 298.0);
Tailwind
colors: {
  custom: {
    50: '#c19ff5',
    500: '#a277ef',
    950: '#000000',
  },
}
SCSS
$custom: #a277ef;
$custom-light: #c19ff5;
$custom-dark: #000000;
JSON
{
  "hex": "#a277ef",
  "rgb": {
    "r": 162,
    "g": 119,
    "b": 239
  },
  "hsl": {
    "h": 261.5,
    "s": 78.947,
    "l": 70.196
  },
  "oklch": {
    "l": 0.66439,
    "c": 0.17469,
    "h": 298
  },
  "luminance": 0.27107
}

Semantic roles & 50–950 ramp

primary
#A277EF
secondary
#E6F2D0
accent
#DB0A90
background
#FCF9FF
surface
#F8F2FE
border
#D1CCD6
text
#130E17
muted
#827E85

Preview Lab

Preview with #A277EF

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

Preview Lab → · Contrast checker → · Palette generator →

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