#A391F6#A391F6

#A391F6 is a light, vivid violet. Relative luminance 0.347; OKLCH L 71.4% C 0.145 H 290.4°. Best body text is #000000 at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#A391F6
RGBrgb(163, 145, 246)
HSLhsl(251, 85%, 77%)
HSVhsv(251, 41%, 96%)
CMYKcmyk(33.7%, 41.1%, 0%, 3.5%)
CIE-LABlab(65.51, 29.09, -48.32)
CIE-LCHlch(65.51, 56.40, 301.05°)
OKLaboklab(71.41% 0.0505 -0.1356)
OKLCHoklch(71.41% 0.145 290.4)
XYZxyz(41.8598, 34.6902, 91.6613)
Luminance0.3469 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A391F6 #E4F691
analogous
#91B2F6 #A391F6 #D691F6
triadic
#A391F6 #F6A391 #91F6A3
tetradic
#A391F6 #F691B2 #E4F691 #91F6D6
square
#A391F6 #F691B2 #E4F691 #91F6D6
split-complementary
#A391F6 #F6D691 #B2F691
monochromatic
#4420ED #7458F1 #A391F6 #D2CAFB #E7E3FD

Accessibility & contrast

On white

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

On black

7.94
#A391F6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A391F6
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A391F6#FFFFFF#000000##000000
##A391F61.002.657.947.94
#FFFFFF2.651.0021.0021.00
#0000007.9421.001.001.00
##0000007.9421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a391f6;
/* rgb */ color: rgb(163, 145, 246);
/* oklch */ color: oklch(71.4% 0.145 290.4);
Tailwind
colors: {
  custom: {
    50: '#c1b1f9',
    500: '#a391f6',
    950: '#000000',
  },
}
SCSS
$custom: #a391f6;
$custom-light: #c1b1f9;
$custom-dark: #000000;
JSON
{
  "hex": "#a391f6",
  "rgb": {
    "r": 163,
    "g": 145,
    "b": 246
  },
  "hsl": {
    "h": 250.693,
    "s": 84.874,
    "l": 76.667
  },
  "oklch": {
    "l": 0.71414,
    "c": 0.14475,
    "h": 290.4
  },
  "luminance": 0.34691
}

Semantic roles & 50–950 ramp

primary
#A391F6
secondary
#EFF5D6
accent
#E104BA
background
#FCFAFF
surface
#F8F5FF
border
#D1CFD7
text
#131017
muted
#827F85

Preview Lab

Preview with #A391F6

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

Preview Lab → · Contrast checker → · Palette generator →

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