#A581F9#A581F9

#A581F9 is a light, vivid violet. Relative luminance 0.305; OKLCH L 69.0% C 0.173 H 295.3°. Best body text is #000000 at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#A581F9
RGBrgb(165, 129, 249)
HSLhsl(258, 91%, 74%)
HSVhsv(258, 48%, 98%)
CMYKcmyk(33.7%, 48.2%, 0%, 2.4%)
CIE-LABlab(62.12, 39.42, -55.33)
CIE-LCHlch(62.12, 67.93, 305.47°)
OKLaboklab(68.95% 0.0739 -0.1561)
OKLCHoklch(68.95% 0.173 295.3)
XYZxyz(40.4619, 30.5387, 93.3670)
Luminance0.3054 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A581F9 #D5F981
analogous
#8199F9 #A581F9 #E181F9
triadic
#A581F9 #F9A581 #81F9A5
tetradic
#A581F9 #F98199 #D5F981 #81F9E1
square
#A581F9 #F98199 #D5F981 #81F9E1
split-complementary
#A581F9 #F9E181 #99F981
monochromatic
#520CF3 #7B47F6 #A581F9 #CFBBFC #EAE2FE

Accessibility & contrast

On white

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

On black

7.11
#A581F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A581F9
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A581F9#FFFFFF#000000##000000
##A581F91.002.957.117.11
#FFFFFF2.951.0021.0021.00
#0000007.1121.001.001.00
##0000007.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5797FD
Deuteranopia (green-blind)
#5E94F6
Tritanopia (blue-blind)
#9298B1
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #a581f9;
/* rgb */ color: rgb(165, 129, 249);
/* oklch */ color: oklch(69.0% 0.173 295.3);
Tailwind
colors: {
  custom: {
    50: '#c3a6fc',
    500: '#a581f9',
    950: '#000000',
  },
}
SCSS
$custom: #a581f9;
$custom-light: #c3a6fc;
$custom-dark: #000000;
JSON
{
  "hex": "#a581f9",
  "rgb": {
    "r": 165,
    "g": 129,
    "b": 249
  },
  "hsl": {
    "h": 258,
    "s": 90.909,
    "l": 74.118
  },
  "oklch": {
    "l": 0.68951,
    "c": 0.17267,
    "h": 295.3
  },
  "luminance": 0.30539
}

Semantic roles & 50–950 ramp

primary
#A581F9
secondary
#ECF6D5
accent
#E600A1
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F17
muted
#827F85

Preview Lab

Preview with #A581F9

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

Preview Lab → · Contrast checker → · Palette generator →

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