#A181F7#A181F7

#A181F7 is a light, vivid violet. Relative luminance 0.300; OKLCH L 68.5% C 0.170 H 293.9°. Best body text is #000000 at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#A181F7
RGBrgb(161, 129, 247)
HSLhsl(256, 88%, 74%)
HSVhsv(256, 48%, 97%)
CMYKcmyk(34.8%, 47.8%, 0%, 3.1%)
CIE-LABlab(61.65, 37.91, -54.99)
CIE-LCHlch(61.65, 66.79, 304.58°)
OKLaboklab(68.48% 0.0689 -0.1552)
OKLCHoklch(68.48% 0.17 293.9)
XYZxyz(39.3324, 29.9922, 91.6945)
Luminance0.2999 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A181F7 #D7F781
analogous
#819CF7 #A181F7 #DC81F7
triadic
#A181F7 #F7A181 #81F7A1
tetradic
#A181F7 #F7819C #D7F781 #81F7DC
square
#A181F7 #F7819C #D7F781 #81F7DC
split-complementary
#A181F7 #F7DC81 #9CF781
monochromatic
#4C0FEE #7647F3 #A181F7 #CCBBFB #EAE2FD

Accessibility & contrast

On white

3.00
#A181F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

7.00
#A181F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A181F7
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A181F7#FFFFFF#000000##000000
##A181F71.003.007.007.00
#FFFFFF3.001.0021.0021.00
#0000007.0021.001.001.00
##0000007.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5796FB
Deuteranopia (green-blind)
#5C93F4
Tritanopia (blue-blind)
#8D98B0
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #a181f7;
/* rgb */ color: rgb(161, 129, 247);
/* oklch */ color: oklch(68.5% 0.170 293.9);
Tailwind
colors: {
  custom: {
    50: '#c0a6fa',
    500: '#a181f7',
    950: '#000000',
  },
}
SCSS
$custom: #a181f7;
$custom-light: #c0a6fa;
$custom-dark: #000000;
JSON
{
  "hex": "#a181f7",
  "rgb": {
    "r": 161,
    "g": 129,
    "b": 247
  },
  "hsl": {
    "h": 256.271,
    "s": 88.06,
    "l": 73.725
  },
  "oklch": {
    "l": 0.68479,
    "c": 0.1698,
    "h": 293.9
  },
  "luminance": 0.29993
}

Semantic roles & 50–950 ramp

primary
#A181F7
secondary
#EDF5D6
accent
#E501A7
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F17
muted
#827F85

Preview Lab

Preview with #A181F7

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

Preview Lab → · Contrast checker → · Palette generator →

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