#A276EA#A276EA

#A276EA is a light, vivid violet. Relative luminance 0.266; OKLCH L 66.0% C 0.170 H 299.2°. Best body text is #000000 at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#A276EA
RGBrgb(162, 118, 234)
HSLhsl(263, 73%, 69%)
HSVhsv(263, 50%, 92%)
CMYKcmyk(30.8%, 49.6%, 0%, 8.2%)
CIE-LABlab(58.58, 41.05, -52.66)
CIE-LCHlch(58.58, 66.77, 307.93°)
OKLaboklab(65.99% 0.083 -0.1483)
OKLCHoklch(65.99% 0.17 299.2)
XYZxyz(36.2265, 26.5785, 81.0475)
Luminance0.2658 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A276EA #BEEA76
analogous
#7684EA #A276EA #DC76EA
triadic
#A276EA #EAA276 #76EAA2
tetradic
#A276EA #EA7684 #BEEA76 #76EADC
square
#A276EA #EA7684 #BEEA76 #76EADC
split-complementary
#A276EA #EADC76 #84EA76
monochromatic
#5E1FC7 #7E41E2 #A276EA #C6ABF2 #EAE0FA

Accessibility & contrast

On white

3.32
#A276EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.32
#A276EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A276EA
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A276EA#FFFFFF#000000##000000
##A276EA1.003.326.326.32
#FFFFFF3.321.0021.0021.00
#0000006.3221.001.001.00
##0000006.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E8DEE
Deuteranopia (green-blind)
#598CE7
Tritanopia (blue-blind)
#938CA5
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #a276ea;
/* rgb */ color: rgb(162, 118, 234);
/* oklch */ color: oklch(66.0% 0.170 299.2);
Tailwind
colors: {
  custom: {
    50: '#c19ef1',
    500: '#a276ea',
    950: '#000000',
  },
}
SCSS
$custom: #a276ea;
$custom-light: #c19ef1;
$custom-dark: #000000;
JSON
{
  "hex": "#a276ea",
  "rgb": {
    "r": 162,
    "g": 118,
    "b": 234
  },
  "hsl": {
    "h": 262.759,
    "s": 73.418,
    "l": 69.02
  },
  "oklch": {
    "l": 0.65986,
    "c": 0.16997,
    "h": 299.2
  },
  "luminance": 0.26579
}

Semantic roles & 50–950 ramp

primary
#A276EA
secondary
#E2EFCD
accent
#D6108B
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E17
muted
#827E85

Preview Lab

Preview with #A276EA

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

Preview Lab → · Contrast checker → · Palette generator →

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