#A276BB#A276BB

#A276BB is a light, moderate violet. Relative luminance 0.242; OKLCH L 63.5% C 0.111 H 312.7°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#A276BB
RGBrgb(162, 118, 187)
HSLhsl(278, 34%, 60%)
HSVhsv(278, 37%, 73%)
CMYKcmyk(13.4%, 36.9%, 0%, 26.7%)
CIE-LABlab(56.31, 30.04, -29.70)
CIE-LCHlch(56.31, 42.25, 315.32°)
OKLaboklab(63.54% 0.0754 -0.0818)
OKLCHoklch(63.54% 0.111 312.7)
XYZxyz(30.3469, 24.2266, 50.0816)
Luminance0.2423 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A276BB #8FBB76
analogous
#8076BB #A276BB #BB76B2
triadic
#A276BB #BBA276 #76BBA2
tetradic
#A276BB #BB8076 #8FBB76 #76B2BB
square
#A276BB #BB8076 #8FBB76 #76B2BB
split-complementary
#A276BB #B2BB76 #76BB80
monochromatic
#643D7A #8551A3 #A276BB #BE9FCF #DAC8E4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A276BB#FFFFFF#000000##000000
##A276BB1.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)
#6A85BE
Deuteranopia (green-blind)
#7488B9
Tritanopia (blue-blind)
#A07F90
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #a276bb;
/* rgb */ color: rgb(162, 118, 187);
/* oklch */ color: oklch(63.5% 0.111 312.7);
Tailwind
colors: {
  custom: {
    50: '#be9ecf',
    500: '#a276bb',
    950: '#000000',
  },
}
SCSS
$custom: #a276bb;
$custom-light: #be9ecf;
$custom-dark: #000000;
JSON
{
  "hex": "#a276bb",
  "rgb": {
    "r": 162,
    "g": 118,
    "b": 187
  },
  "hsl": {
    "h": 278.261,
    "s": 33.659,
    "l": 59.804
  },
  "oklch": {
    "l": 0.63542,
    "c": 0.11129,
    "h": 312.7
  },
  "luminance": 0.24226
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A276BB

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

Preview Lab → · Contrast checker → · Palette generator →

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