#A291FB#A291FB

#A291FB is a light, vivid blue. Relative luminance 0.349; OKLCH L 71.6% C 0.151 H 289.4°. Best body text is #000000 at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#A291FB
RGBrgb(162, 145, 251)
HSLhsl(250, 93%, 78%)
HSVhsv(250, 42%, 98%)
CMYKcmyk(35.5%, 42.2%, 0%, 1.6%)
CIE-LABlab(65.67, 30.13, -50.80)
CIE-LCHlch(65.67, 59.07, 300.67°)
OKLaboklab(71.6% 0.0502 -0.1429)
OKLCHoklch(71.6% 0.151 289.4)
XYZxyz(42.4336, 34.8961, 95.7480)
Luminance0.3490 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A291FB #EAFB91
analogous
#91B5FB #A291FB #D791FB
triadic
#A291FB #FBA291 #91FBA2
tetradic
#A291FB #FB91B5 #EAFB91 #91FBD7
square
#A291FB #FB91B5 #EAFB91 #91FBD7
split-complementary
#A291FB #FBD791 #B5FB91
monochromatic
#3E1BF7 #7056F9 #A291FB #D4CCFD #E6E1FE

Accessibility & contrast

On white

2.63
#A291FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.98
#A291FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A291FB
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A291FB#FFFFFF#000000##000000
##A291FB1.002.637.987.98
#FFFFFF2.631.0021.0021.00
#0000007.9821.001.001.00
##0000007.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6EA2FF
Deuteranopia (green-blind)
#6E9DF8
Tritanopia (blue-blind)
#8BA5BA
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #a291fb;
/* rgb */ color: rgb(162, 145, 251);
/* oklch */ color: oklch(71.6% 0.151 289.4);
Tailwind
colors: {
  custom: {
    50: '#c1b1fd',
    500: '#a291fb',
    950: '#000000',
  },
}
SCSS
$custom: #a291fb;
$custom-light: #c1b1fd;
$custom-dark: #000000;
JSON
{
  "hex": "#a291fb",
  "rgb": {
    "r": 162,
    "g": 145,
    "b": 251
  },
  "hsl": {
    "h": 249.623,
    "s": 92.982,
    "l": 77.647
  },
  "oklch": {
    "l": 0.71596,
    "c": 0.15148,
    "h": 289.4
  },
  "luminance": 0.34897
}

Semantic roles & 50–950 ramp

primary
#A291FB
secondary
#F1F6D5
accent
#E600C1
background
#FCFAFF
surface
#F8F5FF
border
#D1CFD7
text
#131018
muted
#827F86

Preview Lab

Preview with #A291FB

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

Preview Lab → · Contrast checker → · Palette generator →

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