#A277BC#A277BC

#A277BC is a light, moderate violet. Relative luminance 0.245; OKLCH L 63.8% C 0.111 H 312.0°. Best body text is #000000 at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#A277BC
RGBrgb(162, 119, 188)
HSLhsl(277, 34%, 60%)
HSVhsv(277, 37%, 74%)
CMYKcmyk(13.8%, 36.7%, 0%, 26.3%)
CIE-LABlab(56.59, 29.69, -29.85)
CIE-LCHlch(56.59, 42.10, 314.85°)
OKLaboklab(63.77% 0.0742 -0.0822)
OKLCHoklch(63.77% 0.111 312)
XYZxyz(30.5727, 24.5064, 50.6868)
Luminance0.2451 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A277BC #91BC77
analogous
#7F77BC #A277BC #BC77B4
triadic
#A277BC #BCA277 #77BCA2
tetradic
#A277BC #BC7F77 #91BC77 #77B4BC
square
#A277BC #BC7F77 #91BC77 #77B4BC
split-complementary
#A277BC #B4BC77 #77BC7F
monochromatic
#643D7C #8551A5 #A277BC #BEA0D0 #DAC9E4

Accessibility & contrast

On white

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

On black

5.90
#A277BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A277BC
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A277BC#FFFFFF#000000##000000
##A277BC1.003.565.905.90
#FFFFFF3.561.0021.0021.00
#0000005.9021.001.001.00
##0000005.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B85BF
Deuteranopia (green-blind)
#7589BA
Tritanopia (blue-blind)
#A08091
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #a277bc;
/* rgb */ color: rgb(162, 119, 188);
/* oklch */ color: oklch(63.8% 0.111 312.0);
Tailwind
colors: {
  custom: {
    50: '#be9fd0',
    500: '#a277bc',
    950: '#000000',
  },
}
SCSS
$custom: #a277bc;
$custom-light: #be9fd0;
$custom-dark: #000000;
JSON
{
  "hex": "#a277bc",
  "rgb": {
    "r": 162,
    "g": 119,
    "b": 188
  },
  "hsl": {
    "h": 277.391,
    "s": 33.99,
    "l": 60.196
  },
  "oklch": {
    "l": 0.63766,
    "c": 0.11074,
    "h": 312
  },
  "luminance": 0.24506
}

Semantic roles & 50–950 ramp

primary
#A277BC
secondary
#C4D5BA
accent
#AD3964
background
#FBF9FC
surface
#F7F2F9
border
#D0CCD2
text
#120E14
muted
#817E82

Preview Lab

Preview with #A277BC

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

Preview Lab → · Contrast checker → · Palette generator →

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