#A391F9#A391F9

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

Color values

HEX#A391F9
RGBrgb(163, 145, 249)
HSLhsl(250, 90%, 77%)
HSVhsv(250, 42%, 98%)
CMYKcmyk(34.5%, 41.8%, 0%, 2.4%)
CIE-LABlab(65.65, 29.87, -49.73)
CIE-LCHlch(65.65, 58.01, 300.99°)
OKLaboklab(71.57% 0.051 -0.1398)
OKLCHoklch(71.57% 0.149 290.1)
XYZxyz(42.3240, 34.8758, 94.1059)
Luminance0.3488 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A391F9 #E7F991
analogous
#91B3F9 #A391F9 #D791F9
triadic
#A391F9 #F9A391 #91F9A3
tetradic
#A391F9 #F991B3 #E7F991 #91F9D7
square
#A391F9 #F991B3 #E7F991 #91F9D7
split-complementary
#A391F9 #F9D791 #B3F991
monochromatic
#421DF3 #7257F6 #A391F9 #D4CBFC #E7E2FD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A391F9#FFFFFF#000000##000000
##A391F91.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)
#6FA1FD
Deuteranopia (green-blind)
#709DF6
Tritanopia (blue-blind)
#8EA5B9
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #a391f9;
/* rgb */ color: rgb(163, 145, 249);
/* oklch */ color: oklch(71.6% 0.149 290.1);
Tailwind
colors: {
  custom: {
    50: '#c1b1fc',
    500: '#a391f9',
    950: '#000000',
  },
}
SCSS
$custom: #a391f9;
$custom-light: #c1b1fc;
$custom-dark: #000000;
JSON
{
  "hex": "#a391f9",
  "rgb": {
    "r": 163,
    "g": 145,
    "b": 249
  },
  "hsl": {
    "h": 250.385,
    "s": 89.655,
    "l": 77.255
  },
  "oklch": {
    "l": 0.71572,
    "c": 0.14879,
    "h": 290.1
  },
  "luminance": 0.34877
}

Semantic roles & 50–950 ramp

primary
#A391F9
secondary
#F0F6D5
accent
#E600BE
background
#FCFAFF
surface
#F8F5FF
border
#D1CFD7
text
#131017
muted
#827F85

Preview Lab

Preview with #A391F9

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

Preview Lab → · Contrast checker → · Palette generator →

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