#A276CA#A276CA

#A276CA is a light, vivid violet. Relative luminance 0.249; OKLCH L 64.3% C 0.130 H 307.2°. Best body text is #000000 at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#A276CA
RGBrgb(162, 118, 202)
HSLhsl(271, 44%, 63%)
HSVhsv(271, 42%, 79%)
CMYKcmyk(19.8%, 41.6%, 0%, 20.8%)
CIE-LABlab(56.98, 33.40, -37.21)
CIE-LCHlch(56.98, 50.00, 311.91°)
OKLaboklab(64.26% 0.0786 -0.1034)
OKLCHoklch(64.26% 0.13 307.2)
XYZxyz(32.0373, 24.9028, 58.9846)
Luminance0.2490 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A276CA #9ECA76
analogous
#7876CA #A276CA #CA76C8
triadic
#A276CA #CAA276 #76CAA2
tetradic
#A276CA #CA7876 #9ECA76 #76C8CA
square
#A276CA #CA7876 #9ECA76 #76C8CA
split-complementary
#A276CA #C8CA76 #76CA78
monochromatic
#65378E #844AB9 #A276CA #C0A2DB #DECEEC

Accessibility & contrast

On white

3.51
#A276CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.98
#A276CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A276CA
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A276CA#FFFFFF#000000##000000
##A276CA1.003.515.985.98
#FFFFFF3.511.0021.0021.00
#0000005.9821.001.001.00
##0000005.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6387CD
Deuteranopia (green-blind)
#6D89C8
Tritanopia (blue-blind)
#9C8396
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #a276ca;
/* rgb */ color: rgb(162, 118, 202);
/* oklch */ color: oklch(64.3% 0.130 307.2);
Tailwind
colors: {
  custom: {
    50: '#bf9eda',
    500: '#a276ca',
    950: '#000000',
  },
}
SCSS
$custom: #a276ca;
$custom-light: #bf9eda;
$custom-dark: #000000;
JSON
{
  "hex": "#a276ca",
  "rgb": {
    "r": 162,
    "g": 118,
    "b": 202
  },
  "hsl": {
    "h": 271.429,
    "s": 44.211,
    "l": 62.745
  },
  "oklch": {
    "l": 0.64264,
    "c": 0.12986,
    "h": 307.2
  },
  "luminance": 0.24903
}

Semantic roles & 50–950 ramp

primary
#A276CA
secondary
#CDDDBF
accent
#B72E6F
background
#FBF9FD
surface
#F7F2FB
border
#D0CCD4
text
#120E15
muted
#817E83

Preview Lab

Preview with #A276CA

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

Preview Lab → · Contrast checker → · Palette generator →

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