#A581BB#A581BB

#A581BB is a light, moderate violet. Relative luminance 0.273; OKLCH L 65.8% C 0.093 H 312.2°. Best body text is #000000 at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#A581BB
RGBrgb(165, 129, 187)
HSLhsl(277, 30%, 62%)
HSVhsv(277, 31%, 73%)
CMYKcmyk(11.8%, 31%, 0%, 26.7%)
CIE-LABlab(59.24, 24.74, -25.16)
CIE-LCHlch(59.24, 35.28, 314.52°)
OKLaboklab(65.84% 0.0624 -0.0689)
OKLCHoklch(65.84% 0.093 312.2)
XYZxyz(32.3354, 27.2882, 50.5678)
Luminance0.2729 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A581BB #97BB81
analogous
#8881BB #A581BB #BB81B4
triadic
#A581BB #BBA581 #81BBA5
tetradic
#A581BB #BB8881 #97BB81 #81B4BB
square
#A581BB #BB8881 #97BB81 #81B4BB
split-complementary
#A581BB #B4BB81 #81BB88
monochromatic
#68447E #8959A5 #A581BB #C1A9D0 #DED0E6

Accessibility & contrast

On white

3.25
#A581BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.46
#A581BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A581BB
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A581BB#FFFFFF#000000##000000
##A581BB1.003.256.466.46
#FFFFFF3.251.0021.0021.00
#0000006.4621.001.001.00
##0000006.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#788DBD
Deuteranopia (green-blind)
#7F8FB9
Tritanopia (blue-blind)
#A38996
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #a581bb;
/* rgb */ color: rgb(165, 129, 187);
/* oklch */ color: oklch(65.8% 0.093 312.2);
Tailwind
colors: {
  custom: {
    50: '#c0a6cf',
    500: '#a581bb',
    950: '#000000',
  },
}
SCSS
$custom: #a581bb;
$custom-light: #c0a6cf;
$custom-dark: #000000;
JSON
{
  "hex": "#a581bb",
  "rgb": {
    "r": 165,
    "g": 129,
    "b": 187
  },
  "hsl": {
    "h": 277.241,
    "s": 29.897,
    "l": 61.961
  },
  "oklch": {
    "l": 0.65837,
    "c": 0.09298,
    "h": 312.2
  },
  "luminance": 0.27288
}

Semantic roles & 50–950 ramp

primary
#A581BB
secondary
#C9D7C1
accent
#A93D66
background
#FBFAFC
surface
#F7F4F9
border
#D0CED2
text
#120F14
muted
#817F82

Preview Lab

Preview with #A581BB

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

Preview Lab → · Contrast checker → · Palette generator →

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