#A276E8#A276E8

#A276E8 is a light, vivid violet. Relative luminance 0.265; OKLCH L 65.9% C 0.167 H 299.6°. Best body text is #000000 at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#A276E8
RGBrgb(162, 118, 232)
HSLhsl(263, 71%, 69%)
HSVhsv(263, 49%, 91%)
CMYKcmyk(30.2%, 49.1%, 0%, 9%)
CIE-LABlab(58.48, 40.55, -51.72)
CIE-LCHlch(58.48, 65.72, 308.10°)
OKLaboklab(65.87% 0.0828 -0.1456)
OKLCHoklch(65.87% 0.167 299.6)
XYZxyz(35.9408, 26.4642, 79.5429)
Luminance0.2646 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A276E8 #BCE876
analogous
#7683E8 #A276E8 #DB76E8
triadic
#A276E8 #E8A276 #76E8A2
tetradic
#A276E8 #E87683 #BCE876 #76E8DB
square
#A276E8 #E87683 #BCE876 #76E8DB
split-complementary
#A276E8 #E8DB76 #83E876
monochromatic
#5F21C3 #7E42DF #A276E8 #C6AAF1 #E9DFFA

Accessibility & contrast

On white

3.34
#A276E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.29
#A276E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A276E8
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A276E8#FFFFFF#000000##000000
##A276E81.003.346.296.29
#FFFFFF3.341.0021.0021.00
#0000006.2921.001.001.00
##0000006.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#508CEC
Deuteranopia (green-blind)
#5B8CE5
Tritanopia (blue-blind)
#948BA4
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #a276e8;
/* rgb */ color: rgb(162, 118, 232);
/* oklch */ color: oklch(65.9% 0.167 299.6);
Tailwind
colors: {
  custom: {
    50: '#c09ef0',
    500: '#a276e8',
    950: '#000000',
  },
}
SCSS
$custom: #a276e8;
$custom-light: #c09ef0;
$custom-dark: #000000;
JSON
{
  "hex": "#a276e8",
  "rgb": {
    "r": 162,
    "g": 118,
    "b": 232
  },
  "hsl": {
    "h": 263.158,
    "s": 71.25,
    "l": 68.627
  },
  "oklch": {
    "l": 0.65871,
    "c": 0.16747,
    "h": 299.6
  },
  "luminance": 0.26464
}

Semantic roles & 50–950 ramp

primary
#A276E8
secondary
#E1EECC
accent
#D31289
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E16
muted
#827E84

Preview Lab

Preview with #A276E8

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

Preview Lab → · Contrast checker → · Palette generator →

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