#A798BD#A798BD

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

Color values

HEX#A798BD
RGBrgb(167, 152, 189)
HSLhsl(264, 22%, 67%)
HSVhsv(264, 20%, 74%)
CMYKcmyk(11.6%, 19.6%, 0%, 25.9%)
CIE-LABlab(65.24, 12.77, -17.11)
CIE-LCHlch(65.24, 21.35, 306.73°)
OKLaboklab(70.52% 0.0307 -0.0464)
OKLCHoklch(70.52% 0.056 303.5)
XYZxyz(36.3481, 34.3461, 52.8488)
Luminance0.3435 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A798BD #AEBD98
analogous
#989CBD #A798BD #B998BD
triadic
#A798BD #BDA798 #98BDA7
tetradic
#A798BD #BD989C #AEBD98 #98BDB9
square
#A798BD #BD989C #AEBD98 #98BDB9
split-complementary
#A798BD #BDB998 #9CBD98
monochromatic
#695585 #8773A5 #A798BD #C7BDD5 #E7E3ED

Accessibility & contrast

On white

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

On black

7.87
#A798BD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A798BD
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A798BD#FFFFFF#000000##000000
##A798BD1.002.677.877.87
#FFFFFF2.671.0021.0021.00
#0000007.8721.001.001.00
##0000007.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#919EBF
Deuteranopia (green-blind)
#949EBC
Tritanopia (blue-blind)
#A49DA4
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #a798bd;
/* rgb */ color: rgb(167, 152, 189);
/* oklch */ color: oklch(70.5% 0.056 303.5);
Tailwind
colors: {
  custom: {
    50: '#c1b6d1',
    500: '#a798bd',
    950: '#000000',
  },
}
SCSS
$custom: #a798bd;
$custom-light: #c1b6d1;
$custom-dark: #000000;
JSON
{
  "hex": "#a798bd",
  "rgb": {
    "r": 167,
    "g": 152,
    "b": 189
  },
  "hsl": {
    "h": 264.324,
    "s": 21.893,
    "l": 66.863
  },
  "oklch": {
    "l": 0.70518,
    "c": 0.05565,
    "h": 303.5
  },
  "luminance": 0.34346
}

Semantic roles & 50–950 ramp

primary
#A798BD
secondary
#DADED2
accent
#A0457B
background
#FBFBFC
surface
#F7F6F9
border
#D0D0D2
text
#121114
muted
#818082

Preview Lab

Preview with #A798BD

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

Preview Lab → · Contrast checker → · Palette generator →

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