#A276EF#A276EF

#A276EF is a light, vivid violet. Relative luminance 0.269; OKLCH L 66.3% C 0.176 H 298.2°. Best body text is #000000 at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#A276EF
RGBrgb(162, 118, 239)
HSLhsl(262, 79%, 70%)
HSVhsv(262, 51%, 94%)
CMYKcmyk(32.2%, 50.6%, 0%, 6.3%)
CIE-LABlab(58.85, 42.29, -55.01)
CIE-LCHlch(58.85, 69.39, 307.55°)
OKLaboklab(66.28% 0.0834 -0.1552)
OKLCHoklch(66.28% 0.176 298.2)
XYZxyz(36.9549, 26.8699, 84.8841)
Luminance0.2687 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A276EF #C3EF76
analogous
#7687EF #A276EF #DE76EF
triadic
#A276EF #EFA276 #76EFA2
tetradic
#A276EF #EF7687 #C3EF76 #76EFDE
square
#A276EF #EF7687 #C3EF76 #76EFDE
split-complementary
#A276EF #EFDE76 #87EF76
monochromatic
#5C19D2 #7D3FE9 #A276EF #C7ADF5 #ECE4FC

Accessibility & contrast

On white

3.29
#A276EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.37
#A276EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A276EF
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A276EF#FFFFFF#000000##000000
##A276EF1.003.296.376.37
#FFFFFF3.291.0021.0021.00
#0000006.3721.001.001.00
##0000006.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A8EF3
Deuteranopia (green-blind)
#558CEC
Tritanopia (blue-blind)
#928DA8
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #a276ef;
/* rgb */ color: rgb(162, 118, 239);
/* oklch */ color: oklch(66.3% 0.176 298.2);
Tailwind
colors: {
  custom: {
    50: '#c19ef5',
    500: '#a276ef',
    950: '#000000',
  },
}
SCSS
$custom: #a276ef;
$custom-light: #c19ef5;
$custom-dark: #000000;
JSON
{
  "hex": "#a276ef",
  "rgb": {
    "r": 162,
    "g": 118,
    "b": 239
  },
  "hsl": {
    "h": 261.818,
    "s": 79.085,
    "l": 70
  },
  "oklch": {
    "l": 0.66276,
    "c": 0.1762,
    "h": 298.2
  },
  "luminance": 0.2687
}

Semantic roles & 50–950 ramp

primary
#A276EF
secondary
#E5F1CF
accent
#DB0A8F
background
#FCF9FF
surface
#F8F2FE
border
#D1CCD6
text
#130E17
muted
#827E85

Preview Lab

Preview with #A276EF

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

Preview Lab → · Contrast checker → · Palette generator →

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