#A276F1#A276F1

#A276F1 is a light, vivid violet. Relative luminance 0.270; OKLCH L 66.4% C 0.179 H 297.9°. Best body text is #000000 at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#A276F1
RGBrgb(162, 118, 241)
HSLhsl(261, 81%, 70%)
HSVhsv(261, 51%, 95%)
CMYKcmyk(32.8%, 51%, 0%, 5.5%)
CIE-LABlab(58.96, 42.79, -55.95)
CIE-LCHlch(58.96, 70.43, 307.41°)
OKLaboklab(66.39% 0.0835 -0.158)
OKLCHoklch(66.39% 0.179 297.9)
XYZxyz(37.2520, 26.9887, 86.4488)
Luminance0.2699 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A276F1 #C5F176
analogous
#7688F1 #A276F1 #DF76F1
triadic
#A276F1 #F1A276 #76F1A2
tetradic
#A276F1 #F17688 #C5F176 #76F1DF
square
#A276F1 #F17688 #C5F176 #76F1DF
split-complementary
#A276F1 #F1DF76 #88F176
monochromatic
#5B16D7 #7C3EEB #A276F1 #C8AEF7 #ECE3FC

Accessibility & contrast

On white

3.28
#A276F1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.40
#A276F1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A276F1
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A276F1#FFFFFF#000000##000000
##A276F11.003.286.406.40
#FFFFFF3.281.0021.0021.00
#0000006.4021.001.001.00
##0000006.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#488EF5
Deuteranopia (green-blind)
#548DEE
Tritanopia (blue-blind)
#918EA9
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #a276f1;
/* rgb */ color: rgb(162, 118, 241);
/* oklch */ color: oklch(66.4% 0.179 297.9);
Tailwind
colors: {
  custom: {
    50: '#c19ef6',
    500: '#a276f1',
    950: '#000000',
  },
}
SCSS
$custom: #a276f1;
$custom-light: #c19ef6;
$custom-dark: #000000;
JSON
{
  "hex": "#a276f1",
  "rgb": {
    "r": 162,
    "g": 118,
    "b": 241
  },
  "hsl": {
    "h": 261.463,
    "s": 81.457,
    "l": 70.392
  },
  "oklch": {
    "l": 0.66393,
    "c": 0.17868,
    "h": 297.9
  },
  "luminance": 0.26989
}

Semantic roles & 50–950 ramp

primary
#A276F1
secondary
#E6F2D1
accent
#DE0891
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #A276F1

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

Preview Lab → · Contrast checker → · Palette generator →

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