#A291FE#A291FE

#A291FE is a light, vivid blue. Relative luminance 0.351; OKLCH L 71.8% C 0.155 H 289.0°. Best body text is #000000 at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#A291FE
RGBrgb(162, 145, 254)
HSLhsl(249, 98%, 78%)
HSVhsv(249, 43%, 100%)
CMYKcmyk(36.2%, 42.9%, 0%, 0.4%)
CIE-LABlab(65.82, 30.91, -52.21)
CIE-LCHlch(65.82, 60.67, 300.63°)
OKLaboklab(71.76% 0.0507 -0.147)
OKLCHoklch(71.76% 0.156 289)
XYZxyz(42.9103, 35.0867, 98.2583)
Luminance0.3509 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A291FE #EDFE91
analogous
#91B6FE #A291FE #D891FE
triadic
#A291FE #FEA291 #91FEA2
tetradic
#A291FE #FE91B6 #EDFE91 #91FED8
square
#A291FE #FE91B6 #EDFE91 #91FED8
split-complementary
#A291FE #FED891 #B6FE91
monochromatic
#3B18FD #6F54FD #A291FE #D5CEFF #E5E1FF

Accessibility & contrast

On white

2.62
#A291FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.02
#A291FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A291FE
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A291FE#FFFFFF#000000##000000
##A291FE1.002.628.028.02
#FFFFFF2.621.0021.0021.00
#0000008.0221.001.001.00
##0000008.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6CA2FF
Deuteranopia (green-blind)
#6C9DFB
Tritanopia (blue-blind)
#8AA6BB
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #a291fe;
/* rgb */ color: rgb(162, 145, 254);
/* oklch */ color: oklch(71.8% 0.155 289.0);
Tailwind
colors: {
  custom: {
    50: '#c1b1ff',
    500: '#a291fe',
    950: '#000000',
  },
}
SCSS
$custom: #a291fe;
$custom-light: #c1b1ff;
$custom-dark: #000000;
JSON
{
  "hex": "#a291fe",
  "rgb": {
    "r": 162,
    "g": 145,
    "b": 254
  },
  "hsl": {
    "h": 249.358,
    "s": 98.198,
    "l": 78.235
  },
  "oklch": {
    "l": 0.71756,
    "c": 0.1555,
    "h": 289
  },
  "luminance": 0.35088
}

Semantic roles & 50–950 ramp

primary
#A291FE
secondary
#F2F7D4
accent
#E600C2
background
#FCFAFF
surface
#F8F5FF
border
#D1CFD7
text
#131018
muted
#827F86

Preview Lab

Preview with #A291FE

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

Preview Lab → · Contrast checker → · Palette generator →

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