#A798BC#A798BC

#A798BC is a light, muted violet. Relative luminance 0.343; OKLCH L 70.5% C 0.054 H 304.0°. Best body text is #000000 at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#A798BC
RGBrgb(167, 152, 188)
HSLhsl(265, 21%, 67%)
HSVhsv(265, 19%, 74%)
CMYKcmyk(11.2%, 19.1%, 0%, 26.3%)
CIE-LABlab(65.20, 12.56, -16.61)
CIE-LCHlch(65.20, 20.82, 307.09°)
OKLaboklab(70.48% 0.0303 -0.045)
OKLCHoklch(70.48% 0.054 304)
XYZxyz(36.2400, 34.3029, 52.2791)
Luminance0.3430 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A798BC #ADBC98
analogous
#989BBC #A798BC #B998BC
triadic
#A798BC #BCA798 #98BCA7
tetradic
#A798BC #BC989B #ADBC98 #98BCB9
square
#A798BC #BC989B #ADBC98 #98BCB9
split-complementary
#A798BC #BCB998 #9BBC98
monochromatic
#695684 #8773A4 #A798BC #C7BDD4 #E6E2EC

Accessibility & contrast

On white

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

On black

7.86
#A798BC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A798BC
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A798BC#FFFFFF#000000##000000
##A798BC1.002.677.867.86
#FFFFFF2.671.0021.0021.00
#0000007.8621.001.001.00
##0000007.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#929EBE
Deuteranopia (green-blind)
#949EBB
Tritanopia (blue-blind)
#A49DA4
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #a798bc;
/* rgb */ color: rgb(167, 152, 188);
/* oklch */ color: oklch(70.5% 0.054 304.0);
Tailwind
colors: {
  custom: {
    50: '#c1b6d0',
    500: '#a798bc',
    950: '#000000',
  },
}
SCSS
$custom: #a798bc;
$custom-light: #c1b6d0;
$custom-dark: #000000;
JSON
{
  "hex": "#a798bc",
  "rgb": {
    "r": 167,
    "g": 152,
    "b": 188
  },
  "hsl": {
    "h": 265,
    "s": 21.176,
    "l": 66.667
  },
  "oklch": {
    "l": 0.70481,
    "c": 0.05429,
    "h": 304
  },
  "luminance": 0.34303
}

Semantic roles & 50–950 ramp

primary
#A798BC
secondary
#D9DED2
accent
#A0467A
background
#FBFBFC
surface
#F7F6F9
border
#D0D0D2
text
#121114
muted
#818082

Preview Lab

Preview with #A798BC

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

Preview Lab → · Contrast checker → · Palette generator →

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