#A276F3#A276F3

#A276F3 is a light, vivid violet. Relative luminance 0.271; OKLCH L 66.5% C 0.181 H 297.5°. Best body text is #000000 at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#A276F3
RGBrgb(162, 118, 243)
HSLhsl(261, 84%, 71%)
HSVhsv(261, 51%, 95%)
CMYKcmyk(33.3%, 51.4%, 0%, 4.7%)
CIE-LABlab(59.07, 43.29, -56.88)
CIE-LCHlch(59.07, 71.48, 307.28°)
OKLaboklab(66.51% 0.0836 -0.1607)
OKLCHoklch(66.51% 0.181 297.5)
XYZxyz(37.5524, 27.1088, 88.0307)
Luminance0.2711 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A276F3 #C7F376
analogous
#7688F3 #A276F3 #E076F3
triadic
#A276F3 #F3A276 #76F3A2
tetradic
#A276F3 #F37688 #C7F376 #76F3E0
square
#A276F3 #F37688 #C7F376 #76F3E0
split-complementary
#A276F3 #F3E076 #88F376
monochromatic
#5A13DB #7C3EEE #A276F3 #C8AEF8 #ECE3FD

Accessibility & contrast

On white

3.27
#A276F3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.42
#A276F3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A276F3
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A276F3#FFFFFF#000000##000000
##A276F31.003.276.426.42
#FFFFFF3.271.0021.0021.00
#0000006.4221.001.001.00
##0000006.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#468FF7
Deuteranopia (green-blind)
#528DF0
Tritanopia (blue-blind)
#908FA9
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #a276f3;
/* rgb */ color: rgb(162, 118, 243);
/* oklch */ color: oklch(66.5% 0.181 297.5);
Tailwind
colors: {
  custom: {
    50: '#c19ef8',
    500: '#a276f3',
    950: '#000000',
  },
}
SCSS
$custom: #a276f3;
$custom-light: #c19ef8;
$custom-dark: #000000;
JSON
{
  "hex": "#a276f3",
  "rgb": {
    "r": 162,
    "g": 118,
    "b": 243
  },
  "hsl": {
    "h": 261.12,
    "s": 83.893,
    "l": 70.784
  },
  "oklch": {
    "l": 0.66512,
    "c": 0.18115,
    "h": 297.5
  },
  "luminance": 0.27109
}

Semantic roles & 50–950 ramp

primary
#A276F3
secondary
#E7F3D2
accent
#E00593
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #A276F3

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

Preview Lab → · Contrast checker → · Palette generator →

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