#A181FB#A181FB

#A181FB is a light, vivid violet. Relative luminance 0.302; OKLCH L 68.7% C 0.175 H 293.3°. Best body text is #000000 at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#A181FB
RGBrgb(161, 129, 251)
HSLhsl(256, 94%, 75%)
HSVhsv(256, 49%, 98%)
CMYKcmyk(35.9%, 48.6%, 0%, 1.6%)
CIE-LABlab(61.86, 38.94, -56.85)
CIE-LCHlch(61.86, 68.91, 304.41°)
OKLaboklab(68.71% 0.0693 -0.1606)
OKLCHoklch(68.71% 0.175 293.3)
XYZxyz(39.9562, 30.2418, 94.9802)
Luminance0.3024 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A181FB #DBFB81
analogous
#819EFB #A181FB #DE81FB
triadic
#A181FB #FBA181 #81FBA1
tetradic
#A181FB #FB819E #DBFB81 #81FBDE
square
#A181FB #FB819E #DBFB81 #81FBDE
split-complementary
#A181FB #FBDE81 #9EFB81
monochromatic
#480AF7 #7546F9 #A181FB #CDBCFD #E9E1FE

Accessibility & contrast

On white

2.98
#A181FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.05
#A181FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A181FB
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A181FB#FFFFFF#000000##000000
##A181FB1.002.987.057.05
#FFFFFF2.981.0021.0021.00
#0000007.0521.001.001.00
##0000007.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5497FF
Deuteranopia (green-blind)
#5993F8
Tritanopia (blue-blind)
#8B99B2
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #a181fb;
/* rgb */ color: rgb(161, 129, 251);
/* oklch */ color: oklch(68.7% 0.175 293.3);
Tailwind
colors: {
  custom: {
    50: '#c1a6fd',
    500: '#a181fb',
    950: '#000000',
  },
}
SCSS
$custom: #a181fb;
$custom-light: #c1a6fd;
$custom-dark: #000000;
JSON
{
  "hex": "#a181fb",
  "rgb": {
    "r": 161,
    "g": 129,
    "b": 251
  },
  "hsl": {
    "h": 255.738,
    "s": 93.846,
    "l": 74.51
  },
  "oklch": {
    "l": 0.68709,
    "c": 0.17494,
    "h": 293.3
  },
  "luminance": 0.30243
}

Semantic roles & 50–950 ramp

primary
#A181FB
secondary
#EDF6D5
accent
#E600A9
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F18
muted
#827F86

Preview Lab

Preview with #A181FB

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

Preview Lab → · Contrast checker → · Palette generator →

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