#A276BC#A276BC

#A276BC is a light, moderate violet. Relative luminance 0.243; OKLCH L 63.6% C 0.113 H 312.3°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#A276BC
RGBrgb(162, 118, 188)
HSLhsl(278, 34%, 60%)
HSVhsv(278, 37%, 74%)
CMYKcmyk(13.8%, 37.2%, 0%, 26.3%)
CIE-LABlab(56.36, 30.26, -30.21)
CIE-LCHlch(56.36, 42.76, 315.05°)
OKLaboklab(63.59% 0.0757 -0.0833)
OKLCHoklch(63.59% 0.113 312.3)
XYZxyz(30.4543, 24.2696, 50.6474)
Luminance0.2427 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A276BC #90BC76
analogous
#7F76BC #A276BC #BC76B3
triadic
#A276BC #BCA276 #76BCA2
tetradic
#A276BC #BC7F76 #90BC76 #76B3BC
square
#A276BC #BC7F76 #90BC76 #76B3BC
split-complementary
#A276BC #B3BC76 #76BC7F
monochromatic
#643C7B #8550A4 #A276BC #BE9FD0 #DAC8E4

Accessibility & contrast

On white

3.59
#A276BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.85
#A276BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A276BC
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A276BC#FFFFFF#000000##000000
##A276BC1.003.595.855.85
#FFFFFF3.591.0021.0021.00
#0000005.8521.001.001.00
##0000005.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6985BF
Deuteranopia (green-blind)
#7488BA
Tritanopia (blue-blind)
#A08090
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #a276bc;
/* rgb */ color: rgb(162, 118, 188);
/* oklch */ color: oklch(63.6% 0.113 312.3);
Tailwind
colors: {
  custom: {
    50: '#be9ed0',
    500: '#a276bc',
    950: '#000000',
  },
}
SCSS
$custom: #a276bc;
$custom-light: #be9ed0;
$custom-dark: #000000;
JSON
{
  "hex": "#a276bc",
  "rgb": {
    "r": 162,
    "g": 118,
    "b": 188
  },
  "hsl": {
    "h": 277.714,
    "s": 34.314,
    "l": 60
  },
  "oklch": {
    "l": 0.63588,
    "c": 0.11252,
    "h": 312.3
  },
  "luminance": 0.24269
}

Semantic roles & 50–950 ramp

primary
#A276BC
secondary
#C3D4B9
accent
#CA5D86
background
#FBF9FC
surface
#F7F2F9
border
#D0CCD2
text
#120E14
muted
#817E82

Preview Lab

Preview with #A276BC

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

Preview Lab → · Contrast checker → · Palette generator →

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