#A291F6#A291F6

#A291F6 is a light, vivid violet. Relative luminance 0.346; OKLCH L 71.3% C 0.145 H 290.0°. Best body text is #000000 at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#A291F6
RGBrgb(162, 145, 246)
HSLhsl(250, 85%, 77%)
HSVhsv(250, 41%, 96%)
CMYKcmyk(34.1%, 41.1%, 0%, 3.5%)
CIE-LABlab(65.42, 28.83, -48.45)
CIE-LCHlch(65.42, 56.38, 300.75°)
OKLaboklab(71.33% 0.0494 -0.1361)
OKLCHoklch(71.33% 0.145 290)
XYZxyz(41.6558, 34.5850, 91.6518)
Luminance0.3459 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A291F6 #E5F691
analogous
#91B3F6 #A291F6 #D591F6
triadic
#A291F6 #F6A291 #91F6A2
tetradic
#A291F6 #F691B3 #E5F691 #91F6D5
square
#A291F6 #F691B3 #E5F691 #91F6D5
split-complementary
#A291F6 #F6D591 #B3F691
monochromatic
#4220ED #7258F1 #A291F6 #D2CAFB #E7E3FD

Accessibility & contrast

On white

2.65
#A291F6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.92
#A291F6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A291F6
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A291F6#FFFFFF#000000##000000
##A291F61.002.657.927.92
#FFFFFF2.651.0021.0021.00
#0000007.9221.001.001.00
##0000007.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#71A1FA
Deuteranopia (green-blind)
#719DF4
Tritanopia (blue-blind)
#8DA4B8
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #a291f6;
/* rgb */ color: rgb(162, 145, 246);
/* oklch */ color: oklch(71.3% 0.145 290.0);
Tailwind
colors: {
  custom: {
    50: '#c0b1f9',
    500: '#a291f6',
    950: '#000000',
  },
}
SCSS
$custom: #a291f6;
$custom-light: #c0b1f9;
$custom-dark: #000000;
JSON
{
  "hex": "#a291f6",
  "rgb": {
    "r": 162,
    "g": 145,
    "b": 246
  },
  "hsl": {
    "h": 250.099,
    "s": 84.874,
    "l": 76.667
  },
  "oklch": {
    "l": 0.71331,
    "c": 0.14475,
    "h": 290
  },
  "luminance": 0.34586
}

Semantic roles & 50–950 ramp

primary
#A291F6
secondary
#F0F5D6
accent
#E104BC
background
#FCFAFF
surface
#F8F5FF
border
#D1CFD7
text
#121017
muted
#817F85

Preview Lab

Preview with #A291F6

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

Preview Lab → · Contrast checker → · Palette generator →

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