#A181FC#A181FC

#A181FC is a light, vivid violet. Relative luminance 0.303; OKLCH L 68.8% C 0.176 H 293.2°. Best body text is #000000 at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#A181FC
RGBrgb(161, 129, 252)
HSLhsl(256, 95%, 75%)
HSVhsv(256, 49%, 99%)
CMYKcmyk(36.1%, 48.8%, 0%, 1.2%)
CIE-LABlab(61.92, 39.20, -57.31)
CIE-LCHlch(61.92, 69.44, 304.37°)
OKLaboklab(68.77% 0.0694 -0.162)
OKLCHoklch(68.77% 0.176 293.2)
XYZxyz(40.1143, 30.3050, 95.8125)
Luminance0.3031 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A181FC #DCFC81
analogous
#819EFC #A181FC #DF81FC
triadic
#A181FC #FCA181 #81FCA1
tetradic
#A181FC #FC819E #DCFC81 #81FCDF
square
#A181FC #FC819E #DCFC81 #81FCDF
split-complementary
#A181FC #FCDF81 #9EFC81
monochromatic
#4809F9 #7445FB #A181FC #CEBDFD #E9E1FE

Accessibility & contrast

On white

2.97
#A181FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.06
#A181FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A181FC
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A181FC#FFFFFF#000000##000000
##A181FC1.002.977.067.06
#FFFFFF2.971.0021.0021.00
#0000007.0621.001.001.00
##0000007.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5397FF
Deuteranopia (green-blind)
#5893F9
Tritanopia (blue-blind)
#8B99B3
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #a181fc;
/* rgb */ color: rgb(161, 129, 252);
/* oklch */ color: oklch(68.8% 0.176 293.2);
Tailwind
colors: {
  custom: {
    50: '#c1a6fe',
    500: '#a181fc',
    950: '#000000',
  },
}
SCSS
$custom: #a181fc;
$custom-light: #c1a6fe;
$custom-dark: #000000;
JSON
{
  "hex": "#a181fc",
  "rgb": {
    "r": 161,
    "g": 129,
    "b": 252
  },
  "hsl": {
    "h": 255.61,
    "s": 95.349,
    "l": 74.706
  },
  "oklch": {
    "l": 0.68767,
    "c": 0.17623,
    "h": 293.2
  },
  "luminance": 0.30306
}

Semantic roles & 50–950 ramp

primary
#A181FC
secondary
#EEF7D4
accent
#E600AA
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F18
muted
#827F86

Preview Lab

Preview with #A181FC

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

Preview Lab → · Contrast checker → · Palette generator →

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