#A291FA#A291FA

#A291FA is a light, vivid blue. Relative luminance 0.348; OKLCH L 71.5% C 0.150 H 289.5°. Best body text is #000000 at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#A291FA
RGBrgb(162, 145, 250)
HSLhsl(250, 91%, 77%)
HSVhsv(250, 42%, 98%)
CMYKcmyk(35.2%, 42%, 0%, 2%)
CIE-LABlab(65.62, 29.87, -50.34)
CIE-LCHlch(65.62, 58.53, 300.68°)
OKLaboklab(71.54% 0.0501 -0.1415)
OKLCHoklch(71.54% 0.15 289.5)
XYZxyz(42.2764, 34.8332, 94.9200)
Luminance0.3483 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A291FA #E9FA91
analogous
#91B5FA #A291FA #D691FA
triadic
#A291FA #FAA291 #91FAA2
tetradic
#A291FA #FA91B5 #E9FA91 #91FAD6
square
#A291FA #FA91B5 #E9FA91 #91FAD6
split-complementary
#A291FA #FAD691 #B5FA91
monochromatic
#3F1CF5 #7156F7 #A291FA #D3CCFD #E6E2FE

Accessibility & contrast

On white

2.64
#A291FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.97
#A291FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A291FA
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A291FA#FFFFFF#000000##000000
##A291FA1.002.647.977.97
#FFFFFF2.641.0021.0021.00
#0000007.9721.001.001.00
##0000007.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6EA2FE
Deuteranopia (green-blind)
#6F9DF7
Tritanopia (blue-blind)
#8CA5B9
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #a291fa;
/* rgb */ color: rgb(162, 145, 250);
/* oklch */ color: oklch(71.5% 0.150 289.5);
Tailwind
colors: {
  custom: {
    50: '#c1b1fc',
    500: '#a291fa',
    950: '#000000',
  },
}
SCSS
$custom: #a291fa;
$custom-light: #c1b1fc;
$custom-dark: #000000;
JSON
{
  "hex": "#a291fa",
  "rgb": {
    "r": 162,
    "g": 145,
    "b": 250
  },
  "hsl": {
    "h": 249.714,
    "s": 91.304,
    "l": 77.451
  },
  "oklch": {
    "l": 0.71542,
    "c": 0.15014,
    "h": 289.5
  },
  "luminance": 0.34834
}

Semantic roles & 50–950 ramp

primary
#A291FA
secondary
#F1F6D5
accent
#E600C0
background
#FCFAFF
surface
#F8F5FF
border
#D1CFD7
text
#131017
muted
#827F85

Preview Lab

Preview with #A291FA

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

Preview Lab → · Contrast checker → · Palette generator →

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