#A181BC#A181BC

#A181BC is a light, moderate violet. Relative luminance 0.269; OKLCH L 65.5% C 0.093 H 308.8°. Best body text is #000000 at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#A181BC
RGBrgb(161, 129, 188)
HSLhsl(273, 31%, 62%)
HSVhsv(273, 31%, 74%)
CMYKcmyk(14.4%, 31.4%, 0%, 26.3%)
CIE-LABlab(58.89, 23.67, -26.30)
CIE-LCHlch(58.89, 35.38, 311.98°)
OKLaboklab(65.49% 0.058 -0.0722)
OKLCHoklch(65.49% 0.093 308.8)
XYZxyz(31.6236, 26.9087, 51.0951)
Luminance0.2691 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A181BC #9CBC81
analogous
#8481BC #A181BC #BC81BA
triadic
#A181BC #BCA181 #81BCA1
tetradic
#A181BC #BC8481 #9CBC81 #81BABC
square
#A181BC #BC8481 #9CBC81 #81BABC
split-complementary
#A181BC #BABC81 #81BC84
monochromatic
#64447F #8359A7 #A181BC #BFA9D1 #DDD1E6

Accessibility & contrast

On white

3.29
#A181BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.38
#A181BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A181BC
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A181BC#FFFFFF#000000##000000
##A181BC1.003.296.386.38
#FFFFFF3.291.0021.0021.00
#0000006.3821.001.001.00
##0000006.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#768CBE
Deuteranopia (green-blind)
#7D8EBA
Tritanopia (blue-blind)
#9E8996
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #a181bc;
/* rgb */ color: rgb(161, 129, 188);
/* oklch */ color: oklch(65.5% 0.093 308.8);
Tailwind
colors: {
  custom: {
    50: '#bda6d0',
    500: '#a181bc',
    950: '#000000',
  },
}
SCSS
$custom: #a181bc;
$custom-light: #bda6d0;
$custom-dark: #000000;
JSON
{
  "hex": "#a181bc",
  "rgb": {
    "r": 161,
    "g": 129,
    "b": 188
  },
  "hsl": {
    "h": 272.542,
    "s": 30.57,
    "l": 62.157
  },
  "oklch": {
    "l": 0.65491,
    "c": 0.0926,
    "h": 308.8
  },
  "luminance": 0.26908
}

Semantic roles & 50–950 ramp

primary
#A181BC
secondary
#CBD7C2
accent
#A93C6E
background
#FBFAFC
surface
#F6F4F9
border
#D0CED2
text
#120F14
muted
#817F82

Preview Lab

Preview with #A181BC

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

Preview Lab → · Contrast checker → · Palette generator →

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