#A798BF#A798BF

#A798BF is a light, muted violet. Relative luminance 0.344; OKLCH L 70.6% C 0.058 H 302.5°. Best body text is #000000 at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#A798BF
RGBrgb(167, 152, 191)
HSLhsl(263, 23%, 67%)
HSVhsv(263, 20%, 75%)
CMYKcmyk(12.6%, 20.4%, 0%, 25.1%)
CIE-LABlab(65.31, 13.20, -18.13)
CIE-LCHlch(65.31, 22.42, 306.06°)
OKLaboklab(70.6% 0.0313 -0.0493)
OKLCHoklch(70.6% 0.058 302.5)
XYZxyz(36.5667, 34.4336, 54.0000)
Luminance0.3443 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A798BF #B0BF98
analogous
#989DBF #A798BF #BB98BF
triadic
#A798BF #BFA798 #98BFA7
tetradic
#A798BF #BF989D #B0BF98 #98BFBB
square
#A798BF #BF989D #B0BF98 #98BFBB
split-complementary
#A798BF #BFBB98 #9DBF98
monochromatic
#685588 #8772A8 #A798BF #C7BED6 #E7E3EE

Accessibility & contrast

On white

2.66
#A798BF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.89
#A798BF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A798BF
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A798BF#FFFFFF#000000##000000
##A798BF1.002.667.897.89
#FFFFFF2.661.0021.0021.00
#0000007.8921.001.001.00
##0000007.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#919EC1
Deuteranopia (green-blind)
#939EBE
Tritanopia (blue-blind)
#A39DA5
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #a798bf;
/* rgb */ color: rgb(167, 152, 191);
/* oklch */ color: oklch(70.6% 0.058 302.5);
Tailwind
colors: {
  custom: {
    50: '#c1b6d2',
    500: '#a798bf',
    950: '#000000',
  },
}
SCSS
$custom: #a798bf;
$custom-light: #c1b6d2;
$custom-dark: #000000;
JSON
{
  "hex": "#a798bf",
  "rgb": {
    "r": 167,
    "g": 152,
    "b": 191
  },
  "hsl": {
    "h": 263.077,
    "s": 23.353,
    "l": 67.255
  },
  "oklch": {
    "l": 0.70595,
    "c": 0.05838,
    "h": 302.5
  },
  "luminance": 0.34434
}

Semantic roles & 50–950 ramp

primary
#A798BF
secondary
#DBE0D3
accent
#A2447E
background
#FBFBFC
surface
#F7F6F9
border
#D0D0D2
text
#121114
muted
#818082

Preview Lab

Preview with #A798BF

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

Preview Lab → · Contrast checker → · Palette generator →

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