#A181F8#A181F8

#A181F8 is a light, vivid violet. Relative luminance 0.301; OKLCH L 68.5% C 0.171 H 293.8°. Best body text is #000000 at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#A181F8
RGBrgb(161, 129, 248)
HSLhsl(256, 89%, 74%)
HSVhsv(256, 48%, 97%)
CMYKcmyk(35.1%, 48%, 0%, 2.7%)
CIE-LABlab(61.70, 38.17, -55.46)
CIE-LCHlch(61.70, 67.32, 304.54°)
OKLaboklab(68.54% 0.069 -0.1565)
OKLCHoklch(68.54% 0.171 293.8)
XYZxyz(39.4871, 30.0541, 92.5093)
Luminance0.3005 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A181F8 #D8F881
analogous
#819DF8 #A181F8 #DC81F8
triadic
#A181F8 #F8A181 #81F8A1
tetradic
#A181F8 #F8819D #D8F881 #81F8DC
square
#A181F8 #F8819D #D8F881 #81F8DC
split-complementary
#A181F8 #F8DC81 #9DF881
monochromatic
#4B0DF1 #7647F5 #A181F8 #CCBBFB #E9E2FD

Accessibility & contrast

On white

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

On black

7.01
#A181F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A181F8
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A181F8#FFFFFF#000000##000000
##A181F81.003.007.017.01
#FFFFFF3.001.0021.0021.00
#0000007.0121.001.001.00
##0000007.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5696FC
Deuteranopia (green-blind)
#5C93F5
Tritanopia (blue-blind)
#8C98B1
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #a181f8;
/* rgb */ color: rgb(161, 129, 248);
/* oklch */ color: oklch(68.5% 0.171 293.8);
Tailwind
colors: {
  custom: {
    50: '#c0a6fb',
    500: '#a181f8',
    950: '#000000',
  },
}
SCSS
$custom: #a181f8;
$custom-light: #c0a6fb;
$custom-dark: #000000;
JSON
{
  "hex": "#a181f8",
  "rgb": {
    "r": 161,
    "g": 129,
    "b": 248
  },
  "hsl": {
    "h": 256.134,
    "s": 89.474,
    "l": 73.922
  },
  "oklch": {
    "l": 0.68536,
    "c": 0.17109,
    "h": 293.8
  },
  "luminance": 0.30055
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A181F8

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

Preview Lab → · Contrast checker → · Palette generator →

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