#A291EA#A291EA

#A291EA is a light, vivid violet. Relative luminance 0.339; OKLCH L 70.7% C 0.128 H 291.5°. Best body text is #000000 at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#A291EA
RGBrgb(162, 145, 234)
HSLhsl(251, 68%, 74%)
HSVhsv(251, 38%, 92%)
CMYKcmyk(30.8%, 38%, 0%, 8.2%)
CIE-LABlab(64.86, 25.76, -42.74)
CIE-LCHlch(64.86, 49.90, 301.08°)
OKLaboklab(70.72% 0.0471 -0.1195)
OKLCHoklch(70.72% 0.128 291.5)
XYZxyz(39.8732, 33.8719, 82.2631)
Luminance0.3387 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A291EA #D9EA91
analogous
#91ADEA #A291EA #CF91EA
triadic
#A291EA #EAA291 #91EAA2
tetradic
#A291EA #EA91AD #D9EA91 #91EACF
square
#A291EA #EA91AD #D9EA91 #91EACF
split-complementary
#A291EA #EACF91 #ADEA91
monochromatic
#4B2AD6 #775EE0 #A291EA #CDC4F4 #E9E5FA

Accessibility & contrast

On white

2.70
#A291EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.77
#A291EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A291EA
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A291EA#FFFFFF#000000##000000
##A291EA1.002.707.777.77
#FFFFFF2.701.0021.0021.00
#0000007.7721.001.001.00
##0000007.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#779FED
Deuteranopia (green-blind)
#789CE8
Tritanopia (blue-blind)
#91A1B2
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #a291ea;
/* rgb */ color: rgb(162, 145, 234);
/* oklch */ color: oklch(70.7% 0.128 291.5);
Tailwind
colors: {
  custom: {
    50: '#bfb1f1',
    500: '#a291ea',
    950: '#000000',
  },
}
SCSS
$custom: #a291ea;
$custom-light: #bfb1f1;
$custom-dark: #000000;
JSON
{
  "hex": "#a291ea",
  "rgb": {
    "r": 162,
    "g": 145,
    "b": 234
  },
  "hsl": {
    "h": 251.461,
    "s": 67.939,
    "l": 74.314
  },
  "oklch": {
    "l": 0.70719,
    "c": 0.12843,
    "h": 291.5
  },
  "luminance": 0.33873
}

Semantic roles & 50–950 ramp

primary
#A291EA
secondary
#EDF2D9
accent
#D016AC
background
#FBFAFE
surface
#F7F5FD
border
#D0CFD5
text
#121017
muted
#817F85

Preview Lab

Preview with #A291EA

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

Preview Lab → · Contrast checker → · Palette generator →

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