#A581FB#A581FB

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

Color values

HEX#A581FB
RGBrgb(165, 129, 251)
HSLhsl(258, 94%, 75%)
HSVhsv(258, 49%, 98%)
CMYKcmyk(34.3%, 48.6%, 0%, 1.6%)
CIE-LABlab(62.22, 39.93, -56.26)
CIE-LCHlch(62.22, 68.99, 305.37°)
OKLaboklab(69.07% 0.0741 -0.1588)
OKLCHoklch(69.07% 0.175 295)
XYZxyz(40.7755, 30.6642, 95.0186)
Luminance0.3066 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A581FB #D7FB81
analogous
#819AFB #A581FB #E281FB
triadic
#A581FB #FBA581 #81FBA5
tetradic
#A581FB #FB819A #D7FB81 #81FBE2
square
#A581FB #FB819A #D7FB81 #81FBE2
split-complementary
#A581FB #FBE281 #9AFB81
monochromatic
#500AF7 #7B46F9 #A581FB #CFBCFD #EAE1FE

Accessibility & contrast

On white

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

On black

7.13
#A581FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A581FB
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A581FB#FFFFFF#000000##000000
##A581FB1.002.947.137.13
#FFFFFF2.941.0021.0021.00
#0000007.1321.001.001.00
##0000007.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5597FF
Deuteranopia (green-blind)
#5C95F8
Tritanopia (blue-blind)
#9199B2
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #a581fb;
/* rgb */ color: rgb(165, 129, 251);
/* oklch */ color: oklch(69.1% 0.175 295.0);
Tailwind
colors: {
  custom: {
    50: '#c3a6fd',
    500: '#a581fb',
    950: '#000000',
  },
}
SCSS
$custom: #a581fb;
$custom-light: #c3a6fd;
$custom-dark: #000000;
JSON
{
  "hex": "#a581fb",
  "rgb": {
    "r": 165,
    "g": 129,
    "b": 251
  },
  "hsl": {
    "h": 257.705,
    "s": 93.846,
    "l": 74.51
  },
  "oklch": {
    "l": 0.69065,
    "c": 0.17522,
    "h": 295
  },
  "luminance": 0.30665
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A581FB

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

Preview Lab → · Contrast checker → · Palette generator →

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