#A581BC#A581BC

#A581BC is a light, moderate violet. Relative luminance 0.273; OKLCH L 65.9% C 0.094 H 311.7°. Best body text is #000000 at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#A581BC
RGBrgb(165, 129, 188)
HSLhsl(277, 31%, 62%)
HSVhsv(277, 31%, 74%)
CMYKcmyk(12.2%, 31.4%, 0%, 26.3%)
CIE-LABlab(59.28, 24.95, -25.67)
CIE-LCHlch(59.28, 35.80, 314.19°)
OKLaboklab(65.88% 0.0627 -0.0703)
OKLCHoklch(65.88% 0.094 311.7)
XYZxyz(32.4429, 27.3311, 51.1335)
Luminance0.2733 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A581BC #98BC81
analogous
#8881BC #A581BC #BC81B6
triadic
#A581BC #BCA581 #81BCA5
tetradic
#A581BC #BC8881 #98BC81 #81B6BC
square
#A581BC #BC8881 #98BC81 #81B6BC
split-complementary
#A581BC #B6BC81 #81BC88
monochromatic
#68447F #8859A7 #A581BC #C2A9D1 #DED1E6

Accessibility & contrast

On white

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

On black

6.47
#A581BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A581BC
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A581BC#FFFFFF#000000##000000
##A581BC1.003.256.476.47
#FFFFFF3.251.0021.0021.00
#0000006.4721.001.001.00
##0000006.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#778DBE
Deuteranopia (green-blind)
#7F90BA
Tritanopia (blue-blind)
#A38996
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #a581bc;
/* rgb */ color: rgb(165, 129, 188);
/* oklch */ color: oklch(65.9% 0.094 311.7);
Tailwind
colors: {
  custom: {
    50: '#c0a6d0',
    500: '#a581bc',
    950: '#000000',
  },
}
SCSS
$custom: #a581bc;
$custom-light: #c0a6d0;
$custom-dark: #000000;
JSON
{
  "hex": "#a581bc",
  "rgb": {
    "r": 165,
    "g": 129,
    "b": 188
  },
  "hsl": {
    "h": 276.61,
    "s": 30.57,
    "l": 62.157
  },
  "oklch": {
    "l": 0.6588,
    "c": 0.09423,
    "h": 311.7
  },
  "luminance": 0.27331
}

Semantic roles & 50–950 ramp

primary
#A581BC
secondary
#CAD7C2
accent
#A93C67
background
#FBFAFC
surface
#F7F4F9
border
#D0CED2
text
#120F14
muted
#817F82

Preview Lab

Preview with #A581BC

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

Preview Lab → · Contrast checker → · Palette generator →

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