#A276FC#A276FC

#A276FC is a light, vivid violet. Relative luminance 0.277; OKLCH L 67.1% C 0.192 H 295.9°. Best body text is #000000 at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#A276FC
RGBrgb(162, 118, 252)
HSLhsl(260, 96%, 73%)
HSVhsv(260, 53%, 99%)
CMYKcmyk(35.7%, 53.2%, 0%, 1.2%)
CIE-LABlab(59.59, 45.57, -61.03)
CIE-LCHlch(59.59, 76.17, 306.75°)
OKLaboklab(67.05% 0.0841 -0.1729)
OKLCHoklch(67.05% 0.192 295.9)
XYZxyz(38.9449, 27.6659, 95.3648)
Luminance0.2767 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A276FC #D0FC76
analogous
#768DFC #A276FC #E576FC
triadic
#A276FC #FCA276 #76FCA2
tetradic
#A276FC #FC768D #D0FC76 #76FCE5
square
#A276FC #FC768D #D0FC76 #76FCE5
split-complementary
#A276FC #FCE576 #8DFC76
monochromatic
#5305F2 #793AFB #A276FC #CBB2FD #EBE1FE

Accessibility & contrast

On white

3.21
#A276FC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.53
#A276FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A276FC
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A276FC#FFFFFF#000000##000000
##A276FC1.003.216.536.53
#FFFFFF3.211.0021.0021.00
#0000006.5321.001.001.00
##0000006.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D90FF
Deuteranopia (green-blind)
#498EF9
Tritanopia (blue-blind)
#8D91AE
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #a276fc;
/* rgb */ color: rgb(162, 118, 252);
/* oklch */ color: oklch(67.1% 0.192 295.9);
Tailwind
colors: {
  custom: {
    50: '#c29ffe',
    500: '#a276fc',
    950: '#000000',
  },
}
SCSS
$custom: #a276fc;
$custom-light: #c29ffe;
$custom-dark: #000000;
JSON
{
  "hex": "#a276fc",
  "rgb": {
    "r": 162,
    "g": 118,
    "b": 252
  },
  "hsl": {
    "h": 259.701,
    "s": 95.714,
    "l": 72.549
  },
  "oklch": {
    "l": 0.67055,
    "c": 0.19226,
    "h": 295.9
  },
  "luminance": 0.27667
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A276FC

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

Preview Lab → · Contrast checker → · Palette generator →

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