#A291E9#A291E9

#A291E9 is a light, vivid violet. Relative luminance 0.338; OKLCH L 70.7% C 0.127 H 291.7°. Best body text is #000000 at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#A291E9
RGBrgb(162, 145, 233)
HSLhsl(252, 67%, 74%)
HSVhsv(252, 38%, 91%)
CMYKcmyk(30.5%, 37.8%, 0%, 8.6%)
CIE-LABlab(64.82, 25.51, -42.26)
CIE-LCHlch(64.82, 49.36, 301.11°)
OKLaboklab(70.67% 0.0469 -0.1181)
OKLCHoklch(70.67% 0.127 291.7)
XYZxyz(39.7299, 33.8146, 81.5087)
Luminance0.3382 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A291E9 #D8E991
analogous
#91ACE9 #A291E9 #CE91E9
triadic
#A291E9 #E9A291 #91E9A2
tetradic
#A291E9 #E991AC #D8E991 #91E9CE
square
#A291E9 #E991AC #D8E991 #91E9CE
split-complementary
#A291E9 #E9CE91 #ACE991
monochromatic
#4C2BD5 #775EDF #A291E9 #CDC4F3 #E9E5FA

Accessibility & contrast

On white

2.71
#A291E9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.76
#A291E9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A291E9
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A291E9#FFFFFF#000000##000000
##A291E91.002.717.767.76
#FFFFFF2.711.0021.0021.00
#0000007.7621.001.001.00
##0000007.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#779FEC
Deuteranopia (green-blind)
#799CE7
Tritanopia (blue-blind)
#92A1B2
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #a291e9;
/* rgb */ color: rgb(162, 145, 233);
/* oklch */ color: oklch(70.7% 0.127 291.7);
Tailwind
colors: {
  custom: {
    50: '#bfb1f0',
    500: '#a291e9',
    950: '#000000',
  },
}
SCSS
$custom: #a291e9;
$custom-light: #bfb1f0;
$custom-dark: #000000;
JSON
{
  "hex": "#a291e9",
  "rgb": {
    "r": 162,
    "g": 145,
    "b": 233
  },
  "hsl": {
    "h": 251.591,
    "s": 66.667,
    "l": 74.118
  },
  "oklch": {
    "l": 0.70669,
    "c": 0.12707,
    "h": 291.7
  },
  "luminance": 0.33815
}

Semantic roles & 50–950 ramp

primary
#A291E9
secondary
#EDF1DA
accent
#CF17AB
background
#FBFAFE
surface
#F7F5FD
border
#D0CFD5
text
#121016
muted
#817F84

Preview Lab

Preview with #A291E9

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

Preview Lab → · Contrast checker → · Palette generator →

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