#A276FF#A276FF

#A276FF is a light, vivid violet. Relative luminance 0.279; OKLCH L 67.2% C 0.196 H 295.5°. Best body text is #000000 at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#A276FF
RGBrgb(162, 118, 255)
HSLhsl(259, 100%, 73%)
HSVhsv(259, 54%, 100%)
CMYKcmyk(36.5%, 53.7%, 0%, 0%)
CIE-LABlab(59.76, 46.34, -62.41)
CIE-LCHlch(59.76, 77.73, 306.59°)
OKLaboklab(67.24% 0.0842 -0.1769)
OKLCHoklch(67.24% 0.196 295.5)
XYZxyz(39.4241, 27.8575, 97.8883)
Luminance0.2786 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A276FF #D3FF76
analogous
#768EFF #A276FF #E676FF
triadic
#A276FF #FFA276 #76FFA2
tetradic
#A276FF #FF768E #D3FF76 #76FFE6
square
#A276FF #FF768E #D3FF76 #76FFE6
split-complementary
#A276FF #FFE676 #8EFF76
monochromatic
#5000FB #7839FF #A276FF #CCB3FF #EAE0FF

Accessibility & contrast

On white

3.20
#A276FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.57
#A276FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A276FF
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A276FF#FFFFFF#000000##000000
##A276FF1.003.206.576.57
#FFFFFF3.201.0021.0021.00
#0000006.5721.001.001.00
##0000006.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3991FF
Deuteranopia (green-blind)
#468EFC
Tritanopia (blue-blind)
#8C92AF
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #a276ff;
/* rgb */ color: rgb(162, 118, 255);
/* oklch */ color: oklch(67.2% 0.196 295.5);
Tailwind
colors: {
  custom: {
    50: '#c29fff',
    500: '#a276ff',
    950: '#000000',
  },
}
SCSS
$custom: #a276ff;
$custom-light: #c29fff;
$custom-dark: #000000;
JSON
{
  "hex": "#a276ff",
  "rgb": {
    "r": 162,
    "g": 118,
    "b": 255
  },
  "hsl": {
    "h": 259.27,
    "s": 100,
    "l": 73.137
  },
  "oklch": {
    "l": 0.6724,
    "c": 0.19594,
    "h": 295.5
  },
  "luminance": 0.27858
}

Semantic roles & 50–950 ramp

primary
#A276FF
secondary
#ECF7D4
accent
#E6009C
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E18
muted
#827E86

Preview Lab

Preview with #A276FF

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

Preview Lab → · Contrast checker → · Palette generator →

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