#A261E4#A261E4

#A261E4 is a light, vivid violet. Relative luminance 0.218; OKLCH L 62.4% C 0.194 H 304.2°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#A261E4
RGBrgb(162, 97, 228)
HSLhsl(270, 71%, 64%)
HSVhsv(270, 57%, 89%)
CMYKcmyk(28.9%, 57.5%, 0%, 10.6%)
CIE-LABlab(53.85, 50.97, -56.87)
CIE-LCHlch(53.85, 76.37, 311.87°)
OKLaboklab(62.38% 0.1093 -0.1606)
OKLCHoklch(62.38% 0.194 304.2)
XYZxyz(33.1755, 21.8323, 75.8501)
Luminance0.2183 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A261E4 #A3E461
analogous
#6161E4 #A261E4 #E361E4
triadic
#A261E4 #E4A261 #61E4A2
tetradic
#A261E4 #E46161 #A3E461 #61E4E3
square
#A261E4 #E46161 #A3E461 #61E4E3
split-complementary
#A261E4 #E4E361 #61E461
monochromatic
#651EAD #832DDB #A261E4 #C195ED #E0CAF6

Accessibility & contrast

On white

3.91
#A261E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#A261E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A261E4
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A261E4#FFFFFF#000000##000000
##A261E41.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#297FE8
Deuteranopia (green-blind)
#4581E1
Tritanopia (blue-blind)
#967B99
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #a261e4;
/* rgb */ color: rgb(162, 97, 228);
/* oklch */ color: oklch(62.4% 0.194 304.2);
Tailwind
colors: {
  custom: {
    50: '#c190ed',
    500: '#a261e4',
    950: '#000000',
  },
}
SCSS
$custom: #a261e4;
$custom-light: #c190ed;
$custom-dark: #000000;
JSON
{
  "hex": "#a261e4",
  "rgb": {
    "r": 162,
    "g": 97,
    "b": 228
  },
  "hsl": {
    "h": 269.771,
    "s": 70.811,
    "l": 63.725
  },
  "oklch": {
    "l": 0.6238,
    "c": 0.19425,
    "h": 304.2
  },
  "luminance": 0.21832
}

Semantic roles & 50–950 ramp

primary
#A261E4
secondary
#D1E7B9
accent
#D31373
background
#FCF9FE
surface
#F8F1FD
border
#D1CBD5
text
#130D16
muted
#827E84

Preview Lab

Preview with #A261E4

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

Preview Lab → · Contrast checker → · Palette generator →

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