#A277F7#A277F7

#A277F7 is a light, vivid violet. Relative luminance 0.276; OKLCH L 66.9% C 0.185 H 296.6°. Best body text is #000000 at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#A277F7
RGBrgb(162, 119, 247)
HSLhsl(260, 89%, 72%)
HSVhsv(260, 52%, 97%)
CMYKcmyk(34.4%, 51.8%, 0%, 3.1%)
CIE-LABlab(59.52, 43.75, -58.39)
CIE-LCHlch(59.52, 72.96, 306.84°)
OKLaboklab(66.91% 0.0826 -0.1651)
OKLCHoklch(66.91% 0.185 296.6)
XYZxyz(38.2814, 27.5899, 91.2862)
Luminance0.2759 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A277F7 #CCF777
analogous
#778CF7 #A277F7 #E277F7
triadic
#A277F7 #F7A277 #77F7A2
tetradic
#A277F7 #F7778C #CCF777 #77F7E2
square
#A277F7 #F7778C #CCF777 #77F7E2
split-complementary
#A277F7 #F7E277 #8CF777
monochromatic
#560EE6 #7A3DF4 #A277F7 #CAB1FA #EBE2FD

Accessibility & contrast

On white

3.22
#A277F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.52
#A277F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A277F7
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A277F7#FFFFFF#000000##000000
##A277F71.003.226.526.52
#FFFFFF3.221.0021.0021.00
#0000006.5221.001.001.00
##0000006.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4490FB
Deuteranopia (green-blind)
#508EF4
Tritanopia (blue-blind)
#8F90AC
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #a277f7;
/* rgb */ color: rgb(162, 119, 247);
/* oklch */ color: oklch(66.9% 0.185 296.6);
Tailwind
colors: {
  custom: {
    50: '#c19ffa',
    500: '#a277f7',
    950: '#000000',
  },
}
SCSS
$custom: #a277f7;
$custom-light: #c19ffa;
$custom-dark: #000000;
JSON
{
  "hex": "#a277f7",
  "rgb": {
    "r": 162,
    "g": 119,
    "b": 247
  },
  "hsl": {
    "h": 260.156,
    "s": 88.889,
    "l": 71.765
  },
  "oklch": {
    "l": 0.66912,
    "c": 0.18464,
    "h": 296.6
  },
  "luminance": 0.2759
}

Semantic roles & 50–950 ramp

primary
#A277F7
secondary
#EAF5D5
accent
#E60098
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #A277F7

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

Preview Lab → · Contrast checker → · Palette generator →

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