#A277B3#A277B3

#A277B3 is a light, moderate purple. Relative luminance 0.241; OKLCH L 63.4% C 0.100 H 316.1°. Best body text is #000000 at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#A277B3
RGBrgb(162, 119, 179)
HSLhsl(283, 28%, 58%)
HSVhsv(283, 34%, 70%)
CMYKcmyk(9.5%, 33.5%, 0%, 29.8%)
CIE-LABlab(56.22, 27.75, -25.27)
CIE-LCHlch(56.22, 37.53, 317.68°)
OKLaboklab(63.36% 0.072 -0.0692)
OKLCHoklch(63.36% 0.1 316.1)
XYZxyz(29.6326, 24.1303, 45.7357)
Luminance0.2413 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A277B3 #88B377
analogous
#8477B3 #A277B3 #B377A6
triadic
#A277B3 #B3A277 #77B3A2
tetradic
#A277B3 #B38477 #88B377 #77A6B3
square
#A277B3 #B38477 #88B377 #77A6B3
split-complementary
#A277B3 #A6B377 #77B384
monochromatic
#633F71 #855598 #A277B3 #BD9EC9 #D8C6DF

Accessibility & contrast

On white

3.60
#A277B3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.83
#A277B3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A277B3
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A277B3#FFFFFF#000000##000000
##A277B31.003.605.835.83
#FFFFFF3.601.0021.0021.00
#0000005.8321.001.001.00
##0000005.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E84B5
Deuteranopia (green-blind)
#7888B1
Tritanopia (blue-blind)
#A27E8D
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #a277b3;
/* rgb */ color: rgb(162, 119, 179);
/* oklch */ color: oklch(63.4% 0.100 316.1);
Tailwind
colors: {
  custom: {
    50: '#be9fca',
    500: '#a277b3',
    950: '#000000',
  },
}
SCSS
$custom: #a277b3;
$custom-light: #be9fca;
$custom-dark: #000000;
JSON
{
  "hex": "#a277b3",
  "rgb": {
    "r": 162,
    "g": 119,
    "b": 179
  },
  "hsl": {
    "h": 283,
    "s": 28.302,
    "l": 58.431
  },
  "oklch": {
    "l": 0.6336,
    "c": 0.09982,
    "h": 316.1
  },
  "luminance": 0.2413
}

Semantic roles & 50–950 ramp

primary
#A277B3
secondary
#BECFB7
accent
#C5637F
background
#FBF9FC
surface
#F7F2F8
border
#D0CCD1
text
#120E13
muted
#817E82

Preview Lab

Preview with #A277B3

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

Preview Lab → · Contrast checker → · Palette generator →

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