#A391F7#A391F7

#A391F7 is a light, vivid violet. Relative luminance 0.348; OKLCH L 71.5% C 0.146 H 290.3°. Best body text is #000000 at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#A391F7
RGBrgb(163, 145, 247)
HSLhsl(251, 86%, 77%)
HSVhsv(251, 41%, 97%)
CMYKcmyk(34%, 41.3%, 0%, 3.1%)
CIE-LABlab(65.55, 29.35, -48.79)
CIE-LCHlch(65.55, 56.94, 301.03°)
OKLaboklab(71.47% 0.0507 -0.137)
OKLCHoklch(71.47% 0.146 290.3)
XYZxyz(42.0137, 34.7517, 92.4718)
Luminance0.3475 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A391F7 #E5F791
analogous
#91B2F7 #A391F7 #D691F7
triadic
#A391F7 #F7A391 #91F7A3
tetradic
#A391F7 #F791B2 #E5F791 #91F7D6
square
#A391F7 #F791B2 #E5F791 #91F7D6
split-complementary
#A391F7 #F7D691 #B2F791
monochromatic
#441FEF #7358F3 #A391F7 #D3CAFB #E7E2FD

Accessibility & contrast

On white

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

On black

7.95
#A391F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A391F7
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A391F7#FFFFFF#000000##000000
##A391F71.002.647.957.95
#FFFFFF2.641.0021.0021.00
#0000007.9521.001.001.00
##0000007.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#70A1FB
Deuteranopia (green-blind)
#719DF5
Tritanopia (blue-blind)
#8EA4B8
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #a391f7;
/* rgb */ color: rgb(163, 145, 247);
/* oklch */ color: oklch(71.5% 0.146 290.3);
Tailwind
colors: {
  custom: {
    50: '#c1b1fa',
    500: '#a391f7',
    950: '#000000',
  },
}
SCSS
$custom: #a391f7;
$custom-light: #c1b1fa;
$custom-dark: #000000;
JSON
{
  "hex": "#a391f7",
  "rgb": {
    "r": 163,
    "g": 145,
    "b": 247
  },
  "hsl": {
    "h": 250.588,
    "s": 86.441,
    "l": 76.863
  },
  "oklch": {
    "l": 0.71466,
    "c": 0.1461,
    "h": 290.3
  },
  "luminance": 0.34753
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A391F7

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

Preview Lab → · Contrast checker → · Palette generator →

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