#A795BB#A795BB

#A795BB is a light, muted violet. Relative luminance 0.333; OKLCH L 69.8% C 0.058 H 306.4°. Best body text is #000000 at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#A795BB
RGBrgb(167, 149, 187)
HSLhsl(268, 22%, 66%)
HSVhsv(268, 20%, 73%)
CMYKcmyk(10.7%, 20.3%, 0%, 26.7%)
CIE-LABlab(64.40, 14.03, -17.26)
CIE-LCHlch(64.40, 22.24, 309.12°)
OKLaboklab(69.85% 0.0345 -0.0468)
OKLCHoklch(69.85% 0.058 306.4)
XYZxyz(35.6518, 33.2984, 51.5531)
Luminance0.3330 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A795BB #A9BB95
analogous
#9596BB #A795BB #BA95BB
triadic
#A795BB #BBA795 #95BBA7
tetradic
#A795BB #BB9596 #A9BB95 #95BBBA
square
#A795BB #BB9596 #A9BB95 #95BBBA
split-complementary
#A795BB #BBBA95 #96BB95
monochromatic
#6A5382 #8870A3 #A795BB #C6BAD3 #E5E0EB

Accessibility & contrast

On white

2.74
#A795BB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.66
#A795BB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A795BB
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A795BB#FFFFFF#000000##000000
##A795BB1.002.747.667.66
#FFFFFF2.741.0021.0021.00
#0000007.6621.001.001.00
##0000007.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F9BBD
Deuteranopia (green-blind)
#929CBA
Tritanopia (blue-blind)
#A49AA2
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #a795bb;
/* rgb */ color: rgb(167, 149, 187);
/* oklch */ color: oklch(69.8% 0.058 306.4);
Tailwind
colors: {
  custom: {
    50: '#c1b4cf',
    500: '#a795bb',
    950: '#000000',
  },
}
SCSS
$custom: #a795bb;
$custom-light: #c1b4cf;
$custom-dark: #000000;
JSON
{
  "hex": "#a795bb",
  "rgb": {
    "r": 167,
    "g": 149,
    "b": 187
  },
  "hsl": {
    "h": 268.421,
    "s": 21.839,
    "l": 65.882
  },
  "oklch": {
    "l": 0.69849,
    "c": 0.05816,
    "h": 306.4
  },
  "luminance": 0.33298
}

Semantic roles & 50–950 ramp

primary
#A795BB
secondary
#D6DCD0
accent
#A04575
background
#FBFBFC
surface
#F7F6F9
border
#D0D0D2
text
#121113
muted
#818082

Preview Lab

Preview with #A795BB

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

Preview Lab → · Contrast checker → · Palette generator →

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