#A276F8#A276F8

#A276F8 is a light, vivid violet. Relative luminance 0.274; OKLCH L 66.8% C 0.187 H 296.6°. Best body text is #000000 at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#A276F8
RGBrgb(162, 118, 248)
HSLhsl(260, 90%, 72%)
HSVhsv(260, 52%, 97%)
CMYKcmyk(34.7%, 52.4%, 0%, 2.7%)
CIE-LABlab(59.36, 44.55, -59.19)
CIE-LCHlch(59.36, 74.09, 306.97°)
OKLaboklab(66.81% 0.0839 -0.1675)
OKLCHoklch(66.81% 0.187 296.6)
XYZxyz(38.3177, 27.4150, 92.0616)
Luminance0.2742 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A276F8 #CCF876
analogous
#768BF8 #A276F8 #E376F8
triadic
#A276F8 #F8A276 #76F8A2
tetradic
#A276F8 #F8768B #CCF876 #76F8E3
square
#A276F8 #F8768B #CCF876 #76F8E3
split-complementary
#A276F8 #F8E376 #8BF876
monochromatic
#560CE8 #7A3CF5 #A276F8 #CAB0FB #EBE2FE

Accessibility & contrast

On white

3.24
#A276F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.48
#A276F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A276F8
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A276F8#FFFFFF#000000##000000
##A276F81.003.246.486.48
#FFFFFF3.241.0021.0021.00
#0000006.4821.001.001.00
##0000006.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4190FC
Deuteranopia (green-blind)
#4D8DF5
Tritanopia (blue-blind)
#8E90AC
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #a276f8;
/* rgb */ color: rgb(162, 118, 248);
/* oklch */ color: oklch(66.8% 0.187 296.6);
Tailwind
colors: {
  custom: {
    50: '#c19efb',
    500: '#a276f8',
    950: '#000000',
  },
}
SCSS
$custom: #a276f8;
$custom-light: #c19efb;
$custom-dark: #000000;
JSON
{
  "hex": "#a276f8",
  "rgb": {
    "r": 162,
    "g": 118,
    "b": 248
  },
  "hsl": {
    "h": 260.308,
    "s": 90.278,
    "l": 71.765
  },
  "oklch": {
    "l": 0.66811,
    "c": 0.18733,
    "h": 296.6
  },
  "luminance": 0.27416
}

Semantic roles & 50–950 ramp

primary
#A276F8
secondary
#EAF5D4
accent
#E60098
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #A276F8

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

Preview Lab → · Contrast checker → · Palette generator →

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