#A781BB#A781BB

#A781BB is a light, moderate violet. Relative luminance 0.275; OKLCH L 66.0% C 0.094 H 313.6°. Best body text is #000000 at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#A781BB
RGBrgb(167, 129, 187)
HSLhsl(279, 30%, 62%)
HSVhsv(279, 31%, 73%)
CMYKcmyk(10.7%, 31%, 0%, 26.7%)
CIE-LABlab(59.44, 25.38, -24.84)
CIE-LCHlch(59.44, 35.51, 315.63°)
OKLaboklab(66.03% 0.0648 -0.0679)
OKLCHoklch(66.03% 0.094 313.6)
XYZxyz(32.7548, 27.5044, 50.5874)
Luminance0.2750 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A781BB #95BB81
analogous
#8A81BB #A781BB #BB81B2
triadic
#A781BB #BBA781 #81BBA7
tetradic
#A781BB #BB8A81 #95BB81 #81B2BB
square
#A781BB #BB8A81 #95BB81 #81B2BB
split-complementary
#A781BB #B2BB81 #81BB8A
monochromatic
#6A447E #8B59A5 #A781BB #C3A9D0 #DFD0E6

Accessibility & contrast

On white

3.23
#A781BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.50
#A781BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A781BB
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A781BB#FFFFFF#000000##000000
##A781BB1.003.236.506.50
#FFFFFF3.231.0021.0021.00
#0000006.5021.001.001.00
##0000006.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#788DBD
Deuteranopia (green-blind)
#8090B9
Tritanopia (blue-blind)
#A68896
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #a781bb;
/* rgb */ color: rgb(167, 129, 187);
/* oklch */ color: oklch(66.0% 0.094 313.6);
Tailwind
colors: {
  custom: {
    50: '#c2a6cf',
    500: '#a781bb',
    950: '#000000',
  },
}
SCSS
$custom: #a781bb;
$custom-light: #c2a6cf;
$custom-dark: #000000;
JSON
{
  "hex": "#a781bb",
  "rgb": {
    "r": 167,
    "g": 129,
    "b": 187
  },
  "hsl": {
    "h": 279.31,
    "s": 29.897,
    "l": 61.961
  },
  "oklch": {
    "l": 0.66034,
    "c": 0.09389,
    "h": 313.6
  },
  "luminance": 0.27504
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A781BB

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

Preview Lab → · Contrast checker → · Palette generator →

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