#A276FB#A276FB

#A276FB is a light, vivid violet. Relative luminance 0.276; OKLCH L 67.0% C 0.191 H 296.1°. Best body text is #000000 at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#A276FB
RGBrgb(162, 118, 251)
HSLhsl(260, 94%, 72%)
HSVhsv(260, 53%, 98%)
CMYKcmyk(35.5%, 53%, 0%, 1.6%)
CIE-LABlab(59.53, 45.32, -60.58)
CIE-LCHlch(59.53, 75.65, 306.80°)
OKLaboklab(66.99% 0.0841 -0.1715)
OKLCHoklch(66.99% 0.191 296.1)
XYZxyz(38.7869, 27.6026, 94.5324)
Luminance0.2760 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A276FB #CFFB76
analogous
#768CFB #A276FB #E576FB
triadic
#A276FB #FBA276 #76FBA2
tetradic
#A276FB #FB768C #CFFB76 #76FBE5
square
#A276FB #FB768C #CFFB76 #76FBE5
split-complementary
#A276FB #FBE576 #8CFB76
monochromatic
#5407F0 #7A3BF9 #A276FB #CAB1FD #EBE1FE

Accessibility & contrast

On white

3.22
#A276FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.52
#A276FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A276FB
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A276FB#FFFFFF#000000##000000
##A276FB1.003.226.526.52
#FFFFFF3.221.0021.0021.00
#0000006.5221.001.001.00
##0000006.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E90FF
Deuteranopia (green-blind)
#4A8EF8
Tritanopia (blue-blind)
#8D91AD
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #a276fb;
/* rgb */ color: rgb(162, 118, 251);
/* oklch */ color: oklch(67.0% 0.191 296.1);
Tailwind
colors: {
  custom: {
    50: '#c29ffd',
    500: '#a276fb',
    950: '#000000',
  },
}
SCSS
$custom: #a276fb;
$custom-light: #c29ffd;
$custom-dark: #000000;
JSON
{
  "hex": "#a276fb",
  "rgb": {
    "r": 162,
    "g": 118,
    "b": 251
  },
  "hsl": {
    "h": 259.85,
    "s": 94.326,
    "l": 72.353
  },
  "oklch": {
    "l": 0.66994,
    "c": 0.19103,
    "h": 296.1
  },
  "luminance": 0.27603
}

Semantic roles & 50–950 ramp

primary
#A276FB
secondary
#EBF6D5
accent
#E6009A
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E18
muted
#827E86

Preview Lab

Preview with #A276FB

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

Preview Lab → · Contrast checker → · Palette generator →

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