#A276F5#A276F5

#A276F5 is a light, vivid violet. Relative luminance 0.272; OKLCH L 66.6% C 0.184 H 297.1°. Best body text is #000000 at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#A276F5
RGBrgb(162, 118, 245)
HSLhsl(261, 86%, 71%)
HSVhsv(261, 52%, 96%)
CMYKcmyk(33.9%, 51.8%, 0%, 3.9%)
CIE-LABlab(59.19, 43.80, -57.81)
CIE-LCHlch(59.19, 72.52, 307.15°)
OKLaboklab(66.63% 0.0838 -0.1634)
OKLCHoklch(66.63% 0.184 297.1)
XYZxyz(37.8561, 27.2303, 89.6300)
Luminance0.2723 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A276F5 #C9F576
analogous
#7689F5 #A276F5 #E176F5
triadic
#A276F5 #F5A276 #76F5A2
tetradic
#A276F5 #F57689 #C9F576 #76F5E1
square
#A276F5 #F57689 #C9F576 #76F5E1
split-complementary
#A276F5 #F5E176 #89F576
monochromatic
#5810E0 #7B3DF1 #A276F5 #C9AFF9 #ECE2FD

Accessibility & contrast

On white

3.26
#A276F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.45
#A276F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A276F5
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A276F5#FFFFFF#000000##000000
##A276F51.003.266.456.45
#FFFFFF3.261.0021.0021.00
#0000006.4521.001.001.00
##0000006.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#448FF9
Deuteranopia (green-blind)
#508DF2
Tritanopia (blue-blind)
#8F8FAA
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #a276f5;
/* rgb */ color: rgb(162, 118, 245);
/* oklch */ color: oklch(66.6% 0.184 297.1);
Tailwind
colors: {
  custom: {
    50: '#c19ef9',
    500: '#a276f5',
    950: '#000000',
  },
}
SCSS
$custom: #a276f5;
$custom-light: #c19ef9;
$custom-dark: #000000;
JSON
{
  "hex": "#a276f5",
  "rgb": {
    "r": 162,
    "g": 118,
    "b": 245
  },
  "hsl": {
    "h": 260.787,
    "s": 86.395,
    "l": 71.176
  },
  "oklch": {
    "l": 0.66631,
    "c": 0.18363,
    "h": 297.1
  },
  "luminance": 0.27231
}

Semantic roles & 50–950 ramp

primary
#A276F5
secondary
#E9F4D3
accent
#E30395
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #A276F5

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

Preview Lab → · Contrast checker → · Palette generator →

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