#A798BB#A798BB

#A798BB is a light, muted violet. Relative luminance 0.343; OKLCH L 70.4% C 0.053 H 304.5°. Best body text is #000000 at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#A798BB
RGBrgb(167, 152, 187)
HSLhsl(266, 20%, 66%)
HSVhsv(266, 19%, 73%)
CMYKcmyk(10.7%, 18.7%, 0%, 26.7%)
CIE-LABlab(65.17, 12.34, -16.10)
CIE-LCHlch(65.17, 20.29, 307.48°)
OKLaboklab(70.44% 0.03 -0.0436)
OKLCHoklch(70.44% 0.053 304.5)
XYZxyz(36.1325, 34.2599, 51.7134)
Luminance0.3426 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A798BB #ACBB98
analogous
#989BBB #A798BB #B998BB
triadic
#A798BB #BBA798 #98BBA7
tetradic
#A798BB #BB989B #ACBB98 #98BBB9
square
#A798BB #BB989B #ACBB98 #98BBB9
split-complementary
#A798BB #BBB998 #9BBB98
monochromatic
#695682 #8873A3 #A798BB #C6BDD3 #E6E2EC

Accessibility & contrast

On white

2.67
#A798BB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.85
#A798BB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A798BB
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A798BB#FFFFFF#000000##000000
##A798BB1.002.677.857.85
#FFFFFF2.671.0021.0021.00
#0000007.8521.001.001.00
##0000007.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#929EBD
Deuteranopia (green-blind)
#959EBA
Tritanopia (blue-blind)
#A49DA4
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #a798bb;
/* rgb */ color: rgb(167, 152, 187);
/* oklch */ color: oklch(70.4% 0.053 304.5);
Tailwind
colors: {
  custom: {
    50: '#c1b6cf',
    500: '#a798bb',
    950: '#000000',
  },
}
SCSS
$custom: #a798bb;
$custom-light: #c1b6cf;
$custom-dark: #000000;
JSON
{
  "hex": "#a798bb",
  "rgb": {
    "r": 167,
    "g": 152,
    "b": 187
  },
  "hsl": {
    "h": 265.714,
    "s": 20.468,
    "l": 66.471
  },
  "oklch": {
    "l": 0.70443,
    "c": 0.05293,
    "h": 304.5
  },
  "luminance": 0.3426
}

Semantic roles & 50–950 ramp

primary
#A798BB
secondary
#D8DDD2
accent
#9F4779
background
#FBFBFC
surface
#F7F6F9
border
#D0D0D2
text
#121113
muted
#818082

Preview Lab

Preview with #A798BB

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

Preview Lab → · Contrast checker → · Palette generator →

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