#A277F6#A277F6

#A277F6 is a light, vivid violet. Relative luminance 0.275; OKLCH L 66.9% C 0.183 H 296.8°. Best body text is #000000 at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#A277F6
RGBrgb(162, 119, 246)
HSLhsl(260, 88%, 72%)
HSVhsv(260, 52%, 96%)
CMYKcmyk(34.1%, 51.6%, 0%, 3.5%)
CIE-LABlab(59.46, 43.49, -57.92)
CIE-LCHlch(59.46, 72.44, 306.90°)
OKLaboklab(66.85% 0.0826 -0.1637)
OKLCHoklch(66.85% 0.183 296.8)
XYZxyz(38.1275, 27.5283, 90.4756)
Luminance0.2753 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A277F6 #CBF677
analogous
#778CF6 #A277F6 #E277F6
triadic
#A277F6 #F6A277 #77F6A2
tetradic
#A277F6 #F6778C #CBF677 #77F6E2
square
#A277F6 #F6778C #CBF677 #77F6E2
split-complementary
#A277F6 #F6E277 #8CF677
monochromatic
#570FE4 #7B3EF2 #A277F6 #C9B0FA #EBE2FD

Accessibility & contrast

On white

3.23
#A277F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.51
#A277F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A277F6
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A277F6#FFFFFF#000000##000000
##A277F61.003.236.516.51
#FFFFFF3.231.0021.0021.00
#0000006.5121.001.001.00
##0000006.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4690FA
Deuteranopia (green-blind)
#518EF3
Tritanopia (blue-blind)
#8F90AB
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #a277f6;
/* rgb */ color: rgb(162, 119, 246);
/* oklch */ color: oklch(66.9% 0.183 296.8);
Tailwind
colors: {
  custom: {
    50: '#c19ffa',
    500: '#a277f6',
    950: '#000000',
  },
}
SCSS
$custom: #a277f6;
$custom-light: #c19ffa;
$custom-dark: #000000;
JSON
{
  "hex": "#a277f6",
  "rgb": {
    "r": 162,
    "g": 119,
    "b": 246
  },
  "hsl": {
    "h": 260.315,
    "s": 87.586,
    "l": 71.569
  },
  "oklch": {
    "l": 0.66852,
    "c": 0.18339,
    "h": 296.8
  },
  "luminance": 0.27529
}

Semantic roles & 50–950 ramp

primary
#A277F6
secondary
#EAF5D4
accent
#E40197
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #A277F6

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

Preview Lab → · Contrast checker → · Palette generator →

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