#A277BB#A277BB

#A277BB is a light, moderate violet. Relative luminance 0.245; OKLCH L 63.7% C 0.110 H 312.5°. Best body text is #000000 at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#A277BB
RGBrgb(162, 119, 187)
HSLhsl(278, 33%, 60%)
HSVhsv(278, 36%, 73%)
CMYKcmyk(13.4%, 36.4%, 0%, 26.7%)
CIE-LABlab(56.55, 29.47, -29.34)
CIE-LCHlch(56.55, 41.59, 315.13°)
OKLaboklab(63.72% 0.0739 -0.0808)
OKLCHoklch(63.72% 0.11 312.5)
XYZxyz(30.4652, 24.4634, 50.1211)
Luminance0.2446 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A277BB #90BB77
analogous
#8077BB #A277BB #BB77B2
triadic
#A277BB #BBA277 #77BBA2
tetradic
#A277BB #BB8077 #90BB77 #77B2BB
square
#A277BB #BB8077 #90BB77 #77B2BB
split-complementary
#A277BB #B2BB77 #77BB80
monochromatic
#643D7A #8552A3 #A277BB #BEA0CF #DAC9E4

Accessibility & contrast

On white

3.56
#A277BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.89
#A277BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A277BB
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A277BB#FFFFFF#000000##000000
##A277BB1.003.565.895.89
#FFFFFF3.561.0021.0021.00
#0000005.8921.001.001.00
##0000005.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B85BE
Deuteranopia (green-blind)
#7589B9
Tritanopia (blue-blind)
#A08090
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #a277bb;
/* rgb */ color: rgb(162, 119, 187);
/* oklch */ color: oklch(63.7% 0.110 312.5);
Tailwind
colors: {
  custom: {
    50: '#be9fcf',
    500: '#a277bb',
    950: '#000000',
  },
}
SCSS
$custom: #a277bb;
$custom-light: #be9fcf;
$custom-dark: #000000;
JSON
{
  "hex": "#a277bb",
  "rgb": {
    "r": 162,
    "g": 119,
    "b": 187
  },
  "hsl": {
    "h": 277.941,
    "s": 33.333,
    "l": 60
  },
  "oklch": {
    "l": 0.6372,
    "c": 0.10952,
    "h": 312.5
  },
  "luminance": 0.24463
}

Semantic roles & 50–950 ramp

primary
#A277BB
secondary
#C3D4BA
accent
#C95E86
background
#FBF9FC
surface
#F7F2F9
border
#D0CCD2
text
#120E14
muted
#817E82

Preview Lab

Preview with #A277BB

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

Preview Lab → · Contrast checker → · Palette generator →

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