#A581FC#A581FC

#A581FC is a light, vivid violet. Relative luminance 0.307; OKLCH L 69.1% C 0.176 H 294.9°. Best body text is #000000 at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#A581FC
RGBrgb(165, 129, 252)
HSLhsl(258, 95%, 75%)
HSVhsv(258, 49%, 99%)
CMYKcmyk(34.5%, 48.8%, 0%, 1.2%)
CIE-LABlab(62.28, 40.19, -56.72)
CIE-LCHlch(62.28, 69.51, 305.32°)
OKLaboklab(69.12% 0.0742 -0.1601)
OKLCHoklch(69.12% 0.176 294.9)
XYZxyz(40.9335, 30.7274, 95.8509)
Luminance0.3073 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A581FC #D8FC81
analogous
#819BFC #A581FC #E381FC
triadic
#A581FC #FCA581 #81FCA5
tetradic
#A581FC #FC819B #D8FC81 #81FCE3
square
#A581FC #FC819B #D8FC81 #81FCE3
split-complementary
#A581FC #FCE381 #9BFC81
monochromatic
#5009F9 #7A45FB #A581FC #D0BDFD #EAE1FE

Accessibility & contrast

On white

2.94
#A581FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.15
#A581FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A581FC
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A581FC#FFFFFF#000000##000000
##A581FC1.002.947.157.15
#FFFFFF2.941.0021.0021.00
#0000007.1521.001.001.00
##0000007.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5498FF
Deuteranopia (green-blind)
#5B95F9
Tritanopia (blue-blind)
#9199B3
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #a581fc;
/* rgb */ color: rgb(165, 129, 252);
/* oklch */ color: oklch(69.1% 0.176 294.9);
Tailwind
colors: {
  custom: {
    50: '#c3a6fe',
    500: '#a581fc',
    950: '#000000',
  },
}
SCSS
$custom: #a581fc;
$custom-light: #c3a6fe;
$custom-dark: #000000;
JSON
{
  "hex": "#a581fc",
  "rgb": {
    "r": 165,
    "g": 129,
    "b": 252
  },
  "hsl": {
    "h": 257.561,
    "s": 95.349,
    "l": 74.706
  },
  "oklch": {
    "l": 0.69123,
    "c": 0.17649,
    "h": 294.9
  },
  "luminance": 0.30728
}

Semantic roles & 50–950 ramp

primary
#A581FC
secondary
#EDF7D4
accent
#E600A2
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F18
muted
#827F86

Preview Lab

Preview with #A581FC

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

Preview Lab → · Contrast checker → · Palette generator →

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