#A261E2#A261E2

#A261E2 is a light, vivid violet. Relative luminance 0.217; OKLCH L 62.3% C 0.192 H 304.7°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#A261E2
RGBrgb(162, 97, 226)
HSLhsl(270, 69%, 63%)
HSVhsv(270, 57%, 89%)
CMYKcmyk(28.3%, 57.1%, 0%, 11.4%)
CIE-LABlab(53.73, 50.50, -55.93)
CIE-LCHlch(53.73, 75.36, 312.08°)
OKLaboklab(62.26% 0.1092 -0.1579)
OKLCHoklch(62.26% 0.192 304.7)
XYZxyz(32.8995, 21.7219, 74.3963)
Luminance0.2172 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A261E2 #A1E261
analogous
#6161E2 #A261E2 #E261E1
triadic
#A261E2 #E2A261 #61E2A2
tetradic
#A261E2 #E26161 #A1E261 #61E1E2
square
#A261E2 #E26161 #A1E261 #61E1E2
split-complementary
#A261E2 #E1E261 #61E261
monochromatic
#651FA9 #842DD9 #A261E2 #C095EB #DFC8F5

Accessibility & contrast

On white

3.93
#A261E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#A261E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A261E2
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A261E2#FFFFFF#000000##000000
##A261E21.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C7FE6
Deuteranopia (green-blind)
#4780DF
Tritanopia (blue-blind)
#977A98
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #a261e2;
/* rgb */ color: rgb(162, 97, 226);
/* oklch */ color: oklch(62.3% 0.192 304.7);
Tailwind
colors: {
  custom: {
    50: '#c190ec',
    500: '#a261e2',
    950: '#000000',
  },
}
SCSS
$custom: #a261e2;
$custom-light: #c190ec;
$custom-dark: #000000;
JSON
{
  "hex": "#a261e2",
  "rgb": {
    "r": 162,
    "g": 97,
    "b": 226
  },
  "hsl": {
    "h": 270.233,
    "s": 68.984,
    "l": 63.333
  },
  "oklch": {
    "l": 0.62256,
    "c": 0.19199,
    "h": 304.7
  },
  "luminance": 0.21722
}

Semantic roles & 50–950 ramp

primary
#A261E2
secondary
#CFE6B8
accent
#D11572
background
#FCF9FE
surface
#F8F1FD
border
#D1CBD5
text
#130D16
muted
#827E84

Preview Lab

Preview with #A261E2

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

Preview Lab → · Contrast checker → · Palette generator →

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