#A291FC#A291FC

#A291FC is a light, vivid blue. Relative luminance 0.350; OKLCH L 71.6% C 0.153 H 289.2°. Best body text is #000000 at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#A291FC
RGBrgb(162, 145, 252)
HSLhsl(250, 95%, 78%)
HSVhsv(250, 42%, 99%)
CMYKcmyk(35.7%, 42.5%, 0%, 1.2%)
CIE-LABlab(65.72, 30.39, -51.27)
CIE-LCHlch(65.72, 59.60, 300.66°)
OKLaboklab(71.65% 0.0504 -0.1443)
OKLCHoklch(71.65% 0.153 289.2)
XYZxyz(42.5917, 34.9593, 96.5804)
Luminance0.3496 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A291FC #EBFC91
analogous
#91B5FC #A291FC #D891FC
triadic
#A291FC #FCA291 #91FCA2
tetradic
#A291FC #FC91B5 #EBFC91 #91FCD8
square
#A291FC #FC91B5 #EBFC91 #91FCD8
split-complementary
#A291FC #FCD891 #B5FC91
monochromatic
#3D1AF9 #7055FA #A291FC #D4CDFE #E6E1FE

Accessibility & contrast

On white

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

On black

7.99
#A291FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A291FC
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A291FC#FFFFFF#000000##000000
##A291FC1.002.637.997.99
#FFFFFF2.631.0021.0021.00
#0000007.9921.001.001.00
##0000007.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6DA2FF
Deuteranopia (green-blind)
#6E9DF9
Tritanopia (blue-blind)
#8BA6BA
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #a291fc;
/* rgb */ color: rgb(162, 145, 252);
/* oklch */ color: oklch(71.6% 0.153 289.2);
Tailwind
colors: {
  custom: {
    50: '#c1b1fe',
    500: '#a291fc',
    950: '#000000',
  },
}
SCSS
$custom: #a291fc;
$custom-light: #c1b1fe;
$custom-dark: #000000;
JSON
{
  "hex": "#a291fc",
  "rgb": {
    "r": 162,
    "g": 145,
    "b": 252
  },
  "hsl": {
    "h": 249.533,
    "s": 94.69,
    "l": 77.843
  },
  "oklch": {
    "l": 0.71649,
    "c": 0.15282,
    "h": 289.2
  },
  "luminance": 0.3496
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A291FC

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

Preview Lab → · Contrast checker → · Palette generator →

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