#A261EB#A261EB

#A261EB is a light, highly saturated violet. Relative luminance 0.222; OKLCH L 62.8% C 0.202 H 302.7°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#A261EB
RGBrgb(162, 97, 235)
HSLhsl(268, 78%, 65%)
HSVhsv(268, 59%, 92%)
CMYKcmyk(31.1%, 58.7%, 0%, 7.8%)
CIE-LABlab(54.27, 52.63, -60.12)
CIE-LCHlch(54.27, 79.90, 311.20°)
OKLaboklab(62.82% 0.1092 -0.1702)
OKLCHoklch(62.82% 0.202 302.7)
XYZxyz(34.1669, 22.2289, 81.0718)
Luminance0.2223 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A261EB #AAEB61
analogous
#6165EB #A261EB #E761EB
triadic
#A261EB #EBA261 #61EBA2
tetradic
#A261EB #EB6165 #AAEB61 #61EBE7
square
#A261EB #EB6165 #AAEB61 #61EBE7
split-complementary
#A261EB #EBE761 #65EB61
monochromatic
#6418BA #822BE4 #A261EB #C297F2 #E2CEF9

Accessibility & contrast

On white

3.86
#A261EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#A261EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A261EB
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A261EB#FFFFFF#000000##000000
##A261EB1.003.865.455.45
#FFFFFF3.861.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#1B81EF
Deuteranopia (green-blind)
#3D81E8
Tritanopia (blue-blind)
#947D9D
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #a261eb;
/* rgb */ color: rgb(162, 97, 235);
/* oklch */ color: oklch(62.8% 0.202 302.7);
Tailwind
colors: {
  custom: {
    50: '#c291f2',
    500: '#a261eb',
    950: '#000000',
  },
}
SCSS
$custom: #a261eb;
$custom-light: #c291f2;
$custom-dark: #000000;
JSON
{
  "hex": "#a261eb",
  "rgb": {
    "r": 162,
    "g": 97,
    "b": 235
  },
  "hsl": {
    "h": 268.261,
    "s": 77.528,
    "l": 65.098
  },
  "oklch": {
    "l": 0.62822,
    "c": 0.2022,
    "h": 302.7
  },
  "luminance": 0.22229
}

Semantic roles & 50–950 ramp

primary
#A261EB
secondary
#D5EBBD
accent
#DA0C79
background
#FCF9FE
surface
#F8F1FD
border
#D1CBD5
text
#130D17
muted
#827E85

Preview Lab

Preview with #A261EB

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

Preview Lab → · Contrast checker → · Palette generator →

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