#A581FA#A581FA

#A581FA is a light, vivid violet. Relative luminance 0.306; OKLCH L 69.0% C 0.174 H 295.2°. Best body text is #000000 at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#A581FA
RGBrgb(165, 129, 250)
HSLhsl(258, 92%, 74%)
HSVhsv(258, 48%, 98%)
CMYKcmyk(34%, 48.4%, 0%, 2%)
CIE-LABlab(62.17, 39.68, -55.79)
CIE-LCHlch(62.17, 68.46, 305.42°)
OKLaboklab(69.01% 0.074 -0.1574)
OKLCHoklch(69.01% 0.174 295.2)
XYZxyz(40.6182, 30.6013, 94.1906)
Luminance0.3060 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A581FA #D6FA81
analogous
#819AFA #A581FA #E181FA
triadic
#A581FA #FAA581 #81FAA5
tetradic
#A581FA #FA819A #D6FA81 #81FAE1
square
#A581FA #FA819A #D6FA81 #81FAE1
split-complementary
#A581FA #FAE181 #9AFA81
monochromatic
#510BF5 #7B46F8 #A581FA #CFBCFC #EAE2FE

Accessibility & contrast

On white

2.95
#A581FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.12
#A581FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A581FA
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A581FA#FFFFFF#000000##000000
##A581FA1.002.957.127.12
#FFFFFF2.951.0021.0021.00
#0000007.1221.001.001.00
##0000007.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5697FE
Deuteranopia (green-blind)
#5D95F7
Tritanopia (blue-blind)
#9198B2
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #a581fa;
/* rgb */ color: rgb(165, 129, 250);
/* oklch */ color: oklch(69.0% 0.174 295.2);
Tailwind
colors: {
  custom: {
    50: '#c3a6fc',
    500: '#a581fa',
    950: '#000000',
  },
}
SCSS
$custom: #a581fa;
$custom-light: #c3a6fc;
$custom-dark: #000000;
JSON
{
  "hex": "#a581fa",
  "rgb": {
    "r": 165,
    "g": 129,
    "b": 250
  },
  "hsl": {
    "h": 257.851,
    "s": 92.366,
    "l": 74.314
  },
  "oklch": {
    "l": 0.69008,
    "c": 0.17394,
    "h": 295.2
  },
  "luminance": 0.30602
}

Semantic roles & 50–950 ramp

primary
#A581FA
secondary
#ECF6D5
accent
#E600A1
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F18
muted
#827F86

Preview Lab

Preview with #A581FA

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

Preview Lab → · Contrast checker → · Palette generator →

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